[MITgcm-support] Can we create NetCDF-enabled binaries... no

Ed Hill ed at eh3.com
Fri Mar 20 11:14:10 EDT 2009


On Fri, 20 Mar 2009 09:32:21 -0300 Martín Silva wrote:
> 
>  > gfortran -o genmake_tnc genmake_tnc.o  -lnetcdf -lnetcdff
> 
> thank you Ed.
> Now I have an executable "genmake_tnc"
> So, the last step will be how to modify 
> $ROOTDIR/tools/build_options/linux_ia32_gfortran


Good, glad it worked.  And as Herr Dr. Losch pointed out, you will
probably want to add:

  LIBS="$LIBS -lnetcdff -lnetcdf"

or something similar to your optfile.  Please see the other options
files in:

  MITgcm/tools/build_options

for a number of examples.

Ed

-- 
Edward H. Hill III, PhD  |  ed at eh3.com  |  http://eh3.com/




More information about the MITgcm-support mailing list