[MITgcm-support] old & new sea ice model

Manfredi Manizza mmanizza at ucsd.edu
Wed Jul 1 05:19:04 EDT 2015


Including the SEAICE_SIZE.h gives this :

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 6406
darwin_fields_load.f(3618): error #6406: Conflicting attributes or 
multiple declaration of name.   [NITD]
       PARAMETER (nITD = 7)
-----------------^
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


 > grep -i NITD *h
SEAICE.h:      _RL AREAITD (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nITD,nSx,nSy)
SEAICE.h:      _RL HEFFITD (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nITD,nSx,nSy)
SEAICE.h:      _RL HSNOWITD (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nITD,nSx,nSy)
SEAICE.h:      _RL TICES (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nITD,nSx,nSy)
SEAICE_OPTIONS.h:C     set number of categories (nITD) in SEAICE_SIZE.h
SEAICE_PARAMS.h:      _RL SEAICE_PDF(nITD)
SEAICE_PARAMS.h:C                          size nITD+1
SEAICE_PARAMS.h:      _RL Hlimit(0:nITD)
SEAICE_SIZE.h:C nITD       :: number of seaice categories to allocate
SEAICE_SIZE.h:      INTEGER nITD
SEAICE_SIZE.h:C nITD defines number of ice thickness categories,
SEAICE_SIZE.h:C Bitz et al. (2001, JGR) suggest a minimum of nITD = 5
SEAICE_SIZE.h:      PARAMETER (nITD = 5)
SEAICE_SIZE.h:      PARAMETER (nITD = 7)
SEAICE_TAVE.h:      _RL 
HEFFITDtave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nITD,nSx,nSy)
SEAICE_TAVE.h:      _RL 
AREAITDtave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nITD,nSx,nSy)

????
M



On 6/30/15 10:45 PM, Martin Losch wrote:
> 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
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support

-- 
Manfredi Manizza, PhD
Geosciences Research Division
Scripps Institution of Oceanography
University of California San Diego
9500 Gilman Drive La Jolla, CA 92093-0244
email : mmanizza at ucsd.edu
tel   : +1-858-534-7094
web   : http://bluemoon.ucsd.edu/mmanizza/




More information about the MITgcm-support mailing list