...
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.
Jobscripts
Codeblock | ||
---|---|---|
| ||
#!/bin/bash #SBATCH -p module load |
...