[MITgcm-support] auto turning off of netCDF

chris hill cnh at mit.edu
Thu Sep 30 12:08:15 EDT 2004


Hi Ed,

 When I do
 ../../../tools/genmale2 -mods=../code
 in
 verification/global_ocean.90x40x15/build
 with the CVS HEAD I get a message saying netCDF has been turned off
(see below).  However, the build then fails on

 mnc_cw_model_attr.F

 First fail is with _RL not being macro'd. I moved #include in
MNC_OPTIONS.h to fix this.
 Then I get a fail on MNC_TAG_ID in some executable code etc....
 It looks like the auto turn off thing doesn't turn it off like it says.

 If I remove mnc from hardcoded in ../code/packages.conf it works.

 Can you change genmake2 so that if netCDF is not found then the
 ../code/packages.conf enable option is overridden?

Chris 

 
                                                                                                                       
*********************************************************************
WARNING: the "mnc" package was enabled but tests failed to compile
  NetCDF applications.  Please check that:
                                                                                                                       
  1) NetCDF is correctly installed for this compiler and
  2) the LIBS variable (within the "optfile") specifies the correct
       NetCDF library to link against.
                                                                                                                       
  Due to this failure, the "mnc" package is now DISABLED.
*********************************************************************
                                                                                                                       





More information about the MITgcm-support mailing list