Skip to content

Commit 92c2251

Browse files
authored
Update install_netcdf.md
1 parent 0b6fdd4 commit 92c2251

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: install_netcdf.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Default configuration
22
- HDF5 path in C_INCLUDE_PATH, INCLUDE, LD_LIBRARY_PATH
33
## C version
4-
- ./configure --prefix=/opt/libs/netcdf/4.6.1_intel18 --enable-netcdf4 CC=mpiicc LDFLAGS="-L/opt/libs/hdf5/1.10.1_intel18/lib" CPPFLAGS="-I/opt/libs/hdf5/1.10.1_intel18/include" FC=mpiifort --enable-remote-fortran-bootstrap
4+
- ./configure --prefix=/opt/libs/netcdf/4.6.1_intel18 --enable-netcdf-4 CC=mpiicc LDFLAGS="-L/opt/libs/hdf5/1.10.1_intel18/lib" CPPFLAGS="-I/opt/libs/hdf5/1.10.1_intel18/include" FC=mpiifort --enable-remote-fortran-bootstrap
55
- make; make install; make check # make sure all tests pass
66
## Fortran version
77
- The lib of C version must be in LD_LIBRARY_PATH
@@ -10,7 +10,7 @@
1010

1111
# Using openCAF
1212
- Configure CAF environment
13-
- ./configure --prefix=/share/libs/netcdf/4.6.2_CA24 --enable-netcdf4 CC=mpicc LDFLAGS="-L/share/libs/hdf5/1.10.4_CAF24/lib" CPPFLAGS="-I/share/libs/hdf5/1.10.4_CAF24/include" FC=mpifort --enable-remote-fortran-bootstrap
13+
- ./configure --prefix=/share/libs/netcdf/4.6.2_CA24 --enable-netcdf-4 CC=mpicc LDFLAGS="-L/share/libs/hdf5/1.10.4_CAF24/lib" CPPFLAGS="-I/share/libs/hdf5/1.10.4_CAF24/include" FC=mpifort --enable-remote-fortran-bootstrap
1414
- make -j 40;make all; make install
1515
- export LD_LIBRARY_PATH+=:/share/libs/netcdf/4.6.2_CA24/lib
1616
- ./configure --prefix=/share/libs/netcdf/4.4.4_CAF24 LDFLAGS="-L/share/libs/hdf5/1.10.4_CAF24/lib -L/share/libs/netcdf/4.6.2_CA24/lib" CPPFLAGS="-I/share/libs/hdf5/1.10.4_CAF24/include -I/share/libs/netcdf/4.6.2_CA24/include" CC=mpicc FC=mpifort

0 commit comments

Comments
 (0)