[MITgcm-support] about compilation

Matthew Mazloff mmazloff at ucsd.edu
Thu Jul 30 12:43:47 EDT 2015


Hi Wangyang

regarding the netcdf issue:
>   1) NetCDF is correctly installed for this compiler and
>   2) the LIBS variable (within the "optfile") specifies the correct
       NetCDF library to link against.



regarding obcs:
OBCS.h was retired, so you are using code from two different MITgcm versions. 
> obcs_calc.F:23: error: OBCS.h: No such file or directory
> obcs_init_variables.F:20: error: OBCS.h: No such file or directory
> obcs_readparms.F:18: error: OBCS.h: No such file or directory
> obcs_sponge.F:29: error: OBCS.h: No such file or directory


Those scripts want the old code that used OBCS.h

But your 
MITgcm/pkg/obcs

is newer

Matt



On Jul 29, 2015, at 8:30 PM, 王洋 <effwang at 126.com> wrote:

> dear all,
> i am a beginner of MITgcm.And i am trying to simulate internal tide,
> when doing "../../../tools/genmake2 -mods=../code_flather_sponge/"
> there errors:
> 
> 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.
> 
> 
> 
> and when doing make depend,there are errors :
> 
> obcs_calc.F:23: error: OBCS.h: No such file or directory
> obcs_init_variables.F:20: error: OBCS.h: No such file or directory
> obcs_readparms.F:18: error: OBCS.h: No such file or directory
> obcs_sponge.F:29: error: OBCS.h: No such file or directory
> 
> while i cant find OBCS.h in the pkg/obcs,
> 
> does anyone know the reason?
> Thanks for the help!
> 
> Wangyang
> 
> 
> 
> 
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20150730/e2355b8d/attachment.htm>


More information about the MITgcm-support mailing list