Created
February 17, 2015 01:19
-
-
Save guziy/7d4be55b1cb04c734344 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hdf5_lib=$(true_path ../hdf5-sf90/lib) | |
hdf5_include=$(true_path ../hdf5-sf90/include) | |
nc_lib=$(true_path ../netcdf4-sf90/lib) | |
nc_include=$(true_path ../netcdf4-sf90/include) | |
LIBS="-lnetcdf" | |
CFLAGS="-I${hdf5_include} -I${nc_include}" | |
LDFLAGS="-L${hdf5_lib} -L${nc_lib}" | |
LIBS="${LIBS}" LDFLAGS="${LDFLAGS}" CXX=s.cc CC=s.cc F77=s.f77 FC=s.f90 LD=s.f90 CFLAGS="${CFLAGS}" ./configure --prefix=$(true_path ../netcdf4-sf90) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Script I used to configure netcdf4-fortran on guillimin (4.4.2)