NetCDF: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 30: Line 30:
== Environment Modules ==
== Environment Modules ==


The following modules providing NetCDF are available on both Cedar and Graham via CVMFS:
The following modules providing HDF5 are available on both Cedar and Graham via CVMFS:
* netcdf
* hdf5/1.8.18
* netcdf-c++
*netcdf-fortran


Compiled with MPI support:
Compiled with MPI support:
* netcdf-mpi
* hdf5-mpi/1.8.18
* netcdf-c++-mpi
* netcdf-fortran-mpi


The versions available: 4.1.3, 4.2.0, 4.3.0, 4.4.1, 4.4.4
The versions available: 1.8.18


== Version selection ==
== Version selection ==
module load netcdf/version
module load hdf // HDF4
module load hdf5 // Serial HDF5
module load hdf5-mpi // Parallel (MPI) HDF5


== Submission Scripts ==
== Submission Scripts ==
Line 51: Line 49:
Using netcdf
Using netcdf
{{Command
{{Command
|module load netcdf/4.4.1
|#!/bin/bash
|gcc example.c -lnetcdf
|#SBATCH --account=def-someuser
|#SBATCH --ntasks=1
|#SBATCH --mem=1024M            # memory; default unit is megabytes
|#SBATCH --time=0-00:05          # time (DD-HH:MM)
|./h5_serial
}}
}}


Bureaucrats, cc_docs_admin, cc_staff
337

edits

Navigation menu