...
The NetCDF library is available for several compilers. It is linked dynamically to the threadsafe hdf5- and szip libraries build with the same compiler.
Version | compiler | hdf5 | Serial/Parallel | Remarks |
---|
4. |
62/8.2.01.10.4 | parallel | intel2018/18.0.31.10.parallel | 46.3gcc/4.8.5intel/18.0nccopy corrupted | 1.10.5 | serial | nccopy corrupted | intel/18.0.5, impi/2018.4 | 1.10.5 (impi) | parallel | nccopy corrupted | intel/19.0.3 | 1.10.5 | serial | nccopy corrupted (default) | 4.7.0 | intel/19.0.4 | .2, cxx-4.3.1 |
gcc/7 | 1.10.5 | serial | fortran-4.5. |
00intel19.4 , impi/2019.4 (impi)parallel004.7.56 | 1.10.5 | serial | fortran-4.5.2, cxx-4.3.1 |
intel/18.0. |
5 45 | 1.10.5 (impi) | parallel | fortran-4.5.2, cxx-4.3.1 |
intel/19.41052intel19.4 impi201945 impiompi) | parallel | fortran-4.5. |
247.2gcc/9.2.05serial6 (ompi) | parallel | fortran-4.5. |
247.3gcc/4.5.81050 | serial | fortran-4.5.2, cxx-4.3.1 |
4.8.1 |
gcc/71051 | serial | fortran-4.5.2, cxx-4.3.1 |
gcc/8 | 1.10.5 | serial | fortran-5.2, cxx-4.3.180.610552180.6 impi20185105 impi52732, opmi/3.1.510.5 (ompi)parallel52Modules
Example Jobscripts
...
...
Since the intel compilers an lise and emmy differ, the installation of netcdf build with intel compilers is double work. Hence, installation is done only on one complex. Please contact support, if this does not meet your requests.
Modulefiles and environmental variables
Loading a NetCDF modulefile extends PATH with the path to the NetCDF binaries. This includes nc_config and nf_config, which can be used to gain information on the path to include files and libraries in compiler scripts and makefiles. Use
module show netcdf/<version>
module help netcdf/<version>
to investigate details on exported environment variables.
LD_RUN_PATH is extended when a netcdf-module is loaded. It can be used to define rpath in the binarues.
The netcdf-modules are not needed to run programs linked to a netcdf library!
Example to compile smp-programs using the netcdf library
Here we demonstrate the usage of environmental variables to find the netcdf - include files and to link the netcdf libraries.
Read more
Installing netcdf at HLRN
We discuss the installation of serial and parallel netcdf at HLRN
Read more