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

Martín Silva msilva at prmarg.org
Fri Mar 20 08:32:21 EDT 2009


Ed Hill escribió:
> On Thu, 19 Mar 2009 16:52:34 -0300 Martín Silva wrote:
>> I think I have the correct libraries:
>>
> 
> 
>   1) Try compiling with "-lnetcdff -lnetcdf" since its likely
>      that the Fortran library is just a thin wrapper around the C
>      routines and depends upon them.
> 
> Hope that helps.
> 
> Ed
> 


Yes!

 > 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

Any ideas?

Thanks in advance

Martín



More information about the MITgcm-support mailing list