[MITgcm-support] latest cvs code doesn't compile...mnc_cw_citer.f:
Karsten Friis
kfriis at meteo.psu.edu
Wed Sep 21 16:04:18 EDT 2005
Hi Ed,
there is not much in my '-mods ../directory' but an appropriate SIZE.h
file and a new dic_biotic_param.F for which Steph told me to cvs the
latest MITgcm code. I am a little suspicious that the SIZE.h file is the
problem...
-karsten
>>----------------------------------------------------------------------
>>MNC_CW_READWRITE_RS.f:6365: warning: `npath' might be used uninitialized
>>in this function
>>cat mnc_cw_citer.F | ../../tools/set64bitConst.sh | cpp -traditional
>>-P -D_BYTESWAPIO -DWORDLENGTH=4 -DHAVE_SYSTEM -DHAVE_FDATE -DHAVE_ETIME
>>-DHAVE_CLOC -DHAVE_STAT -I/diatom/s0/kfriis/netcdf-3.5.1/src/fortran >
>>mnc_cw_citer.f
>>g77 -Wimplicit -Wunused -Wuninitialized -O3 -malign-double
>>-funroll-loops -c mnc_cw_citer.f
>>mnc_cw_citer.f: In subroutine `mnc_cw_citer_setg':
>>mnc_cw_citer.f:636:
>> mnc_cw_cit(1,igroup) = iflag
>> 1 2
>>Unrecognized statement name at (1) and invalid form for assignment or
>>statement-function definition at (2)
>>mnc_cw_citer.f:639:
>> IF ( mnc_cw_cit(2,igroup) .NE. ival_curr ) THEN
>> ^
>>Invalid declaration of or reference to symbol `mnc_cw_cit' at (^)
>>[initially seen at (^)]
>>mnc_cw_citer.f:644:
>
>
> Hi Karsten,
>
> While I would have to see your actual setup to confirm it, the above
> errors *STRONGLY* indicate that you have a mix of old and new files.
> Thats why the variables are undefined.
>
> So, to fix it, you need to make sure that *everything* is indeed
> updated. And then the safest thing to do is to completely re-build
> everything starting with an empty build directory:
>
> cd your_build_dir
> genmake2 ...YOUR_OPTIONS...
> make depend
> make
>
> to make sure that you don't have any old/modified files lying around.
>
> Ed
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfriis.vcf
Type: text/x-vcard
Size: 242 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20050921/6c801254/attachment.vcf>
More information about the MITgcm-support
mailing list