[MITgcm-support] old & new sea ice model
Martin Losch
Martin.Losch at awi.de
Wed Jul 1 02:45:53 EDT 2015
Hi Manfredi,
A few things have changed (again) in the sea ice model since 2013 and you should make sure that:
1. your SEAICE_OPTIONS.h file is more or less up to date (I would start from pkg/seaice/SEAICE_OPTION.h and make the modifications that you have made in your old SEAICE_OPTIONS.h)
2. you include the appropriate files in your darwin code. I can’t be more specific if you don’t provide more detailed information about the code, but I suspect it has to do with the splitting of SEAICE.h in to several header files: SEAICE.h, SEAICE_SIZE.h, SEAICE_PARAMS.h; you’ll have to include SEAICE_SIZE.h whereever you have SEAICE.h
Martin
> On 01 Jul 2015, at 09:26, Manfredi Manizza <mmanizza at ucsd.edu> wrote:
>
> Hi,
>
> I am trying to merge the latest version of ECCOV4 llc90 with an old 2013 version
> of darwin code.
>
> Got this problem with the sea-ice conflicting with the file that loads bgc fields :
>
> Update AD_CONFIG.h and make ./mitgcmuv
> make -f Makefile ./mitgcmuv
> make[1]: Entering directory `/home3/mmanizza/2015b/MITgcm/llc90/build'
> if [ ! -L PTRACERS_MOD.h ]; then ln -s ../../pkg/ptracers/PTRACERS_MOD.h PTRACERS_MOD.h; fi
> ifort -fPIC -W0 -WB -convert big_endian -assume byterecl -align -O2 -ipo -fp-model precise -axCORE-AVX2 -xSSE4.2 -traceback -ftz -c darwin_fields_load.f
> Cannot disable Fortran error message 6756
> darwin_fields_load.f(3562): error #6756: A COMMON block data object must not be an automatic object. [TICES]
> COMMON/MULTICATEGORY/TICES
> ---------------------------^
> Cannot disable Fortran error message 6219
> darwin_fields_load.f(3563): error #6219: This variable, used in a specification expression, must be a dummy argument, a COMMON block object, or an object accessible through host or use association. [NITD]
> Real*8 TICES (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nITD,nSx,nSy)
> -----------------------------------------------------^
> compilation aborted for darwin_fields_load.f (code 1)
> make[1]: *** [darwin_fields_load.o] Error 1
>
>
> I tried to browse the old and new sea-ice code in order to fix it but with no great success....
>
> Any idea ?
>
> Thanks in advance.
>
> Cheers
> Manfredi
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list