Main menu

Navigation

Comipling CESM 1_0_2

3 posts / 0 new
Last post
lolcese@...
Comipling CESM 1_0_2

I'm trying to compile CESM in this machine:

Intel i7
Ubuntu 10.10 x86_64
Intel Fortran 12.0.2
MPICH2 version 1.3.2

I used the default Macros.generic_linux_intel (except for the NETCDF and MPICH2 locations), and I get the following error when building csm_share.
I tried changing several ifort flags, but I couldn't compile de model. Do you have any ideas_
Thanks

mpif90 -c -I. -I/home/lolcese/netcdf/include -I/home/lolcese/netcdf/include -I/home/lolcese/mpich2-install/include -I. -I/home/lolcese/CESM/mycase/SourceMods/src.share -I/home/lolcese/CESM/cesm1_0_2/models/drv/shr_mct -I/home/lolcese/CESM/cesm1_0_2/models/drv/shr -I/home/lolcese/CESM/cesm1_0_2/models/dead_share -I/home/lolcese/CESM/cesm1_0_2/models/csm_share/shr -I/home/lolcese/CESM/cesm1_0_2/models/utils/timing -I/home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr -I/home/lolcese/CESM/executable/mycase/lib/include -DMCT_INTERFACE -DHAVE_MPI -DGLC_NEC_10 -DLINUX -DSEQ_ -DFORTRANUNDERSCORE -DNO_R16 -DNO_SHR_VMATH -g -fp-model precise -convert big_endian -assume byterecl -ftz -traceback -O2 -FR /home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr/ESMF_BaseMod.F90
/home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr/ESMF_BaseMod.F90(672): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [TYPE]
subroutine ESMF_AttributeGetbyNumber(anytype, number, name, type, value, rc)
------------------------------------------------------------------^

...... Several similar warnings......

mpif90 -c -I. -I/home/lolcese/netcdf/include -I/home/lolcese/netcdf/include -I/home/lolcese/mpich2-install/include -I. -I/home/lolcese/CESM/mycase/SourceMods/src.share -I/home/lolcese/CESM/cesm1_0_2/models/drv/shr_mct -I/home/lolcese/CESM/cesm1_0_2/models/drv/shr -I/home/lolcese/CESM/cesm1_0_2/models/dead_share -I/home/lolcese/CESM/cesm1_0_2/models/csm_share/shr -I/home/lolcese/CESM/cesm1_0_2/models/utils/timing -I/home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr -I/home/lolcese/CESM/executable/mycase/lib/include -DMCT_INTERFACE -DHAVE_MPI -DGLC_NEC_10 -DLINUX -DSEQ_ -DFORTRANUNDERSCORE -DNO_R16 -DNO_SHR_VMATH -g -fp-model precise -convert big_endian -assume byterecl -ftz -traceback -O2 -FR /home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr/ESMF_TimeMod.F90
/home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr/ESMF_TimeMod.F90(297): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [YRL]
subroutine ESMF_TimeGet(time, YY, YRl, MM, DD, D, Dl, H, M, S, Sl, MS, &
----------------------------------------^

...... Several similar warnings......

mpif90 -c -I. -I/home/lolcese/netcdf/include -I/home/lolcese/netcdf/include -I/home/lolcese/mpich2-install/include -I. -I/home/lolcese/CESM/mycase/SourceMods/src.share -I/home/lolcese/CESM/cesm1_0_2/models/drv/shr_mct -I/home/lolcese/CESM/cesm1_0_2/models/drv/shr -I/home/lolcese/CESM/cesm1_0_2/models/dead_share -I/home/lolcese/CESM/cesm1_0_2/models/csm_share/shr -I/home/lolcese/CESM/cesm1_0_2/models/utils/timing -I/home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr -I/home/lolcese/CESM/executable/mycase/lib/include -DMCT_INTERFACE -DHAVE_MPI -DGLC_NEC_10 -DLINUX -DSEQ_ -DFORTRANUNDERSCORE -DNO_R16 -DNO_SHR_VMATH -g -fp-model precise -convert big_endian -assume byterecl -ftz -traceback -O2 -FR /home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr/ESMF_AlarmMod.F90
/home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr/ESMF_AlarmMod.F90(904): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [RINGINTERVAL]
subroutine ESMF_AlarmWrite(alarm, RingInterval, RingTime, &
----------------------------------------^

...... Several similar warnings......

mpif90 -c -I. -I/home/lolcese/netcdf/include -I/home/lolcese/netcdf/include -I/home/lolcese/mpich2-install/include -I. -I/home/lolcese/CESM/mycase/SourceMods/src.share -I/home/lolcese/CESM/cesm1_0_2/models/drv/shr_mct -I/home/lolcese/CESM/cesm1_0_2/models/drv/shr -I/home/lolcese/CESM/cesm1_0_2/models/dead_share -I/home/lolcese/CESM/cesm1_0_2/models/csm_share/shr -I/home/lolcese/CESM/cesm1_0_2/models/utils/timing -I/home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr -I/home/lolcese/CESM/executable/mycase/lib/include -DMCT_INTERFACE -DHAVE_MPI -DGLC_NEC_10 -DLINUX -DSEQ_ -DFORTRANUNDERSCORE -DNO_R16 -DNO_SHR_VMATH -g -fp-model precise -convert big_endian -assume byterecl -ftz -traceback -O2 -FR /home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr/ESMF_ClockMod.F90
/home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr/ESMF_ClockMod.F90(1111): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [TIMESTEP]
subroutine ESMF_ClockWrite(clock, TimeStep, StartTime, StopTime, &
----------------------------------------^

...... Several similar warnings......

mpicc -c -I. -I/home/lolcese/netcdf/include -I/home/lolcese/netcdf/include -I/home/lolcese/mpich2-install/include -I. -I/home/lolcese/CESM/mycase/SourceMods/src.share -I/home/lolcese/CESM/cesm1_0_2/models/drv/shr_mct -I/home/lolcese/CESM/cesm1_0_2/models/drv/shr -I/home/lolcese/CESM/cesm1_0_2/models/dead_share -I/home/lolcese/CESM/cesm1_0_2/models/csm_share/shr -I/home/lolcese/CESM/cesm1_0_2/models/utils/timing -I/home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr -I/home/lolcese/CESM/executable/mycase/lib/include -DMCT_INTERFACE -DHAVE_MPI -DGLC_NEC_10 -DLINUX -DSEQ_ -DFORTRANUNDERSCORE -DNO_R16 -DNO_SHR_VMATH /home/lolcese/CESM/cesm1_0_2/models/utils/timing/gptl.c
/home/lolcese/CESM/cesm1_0_2/models/utils/timing/gptl.c: In function ‘merge_thread_data’:
/home/lolcese/CESM/cesm1_0_2/models/utils/timing/gptl.c:2156: warning: passing argument 4 of ‘qsort’ from incompatible pointer type
/usr/include/stdlib.h:761: note: expected ‘__compar_fn_t’ but argument is of type ‘int (*)(const char **, const char **)’

...... Several similar warnings......

mpif90 -c -I. -I/home/lolcese/netcdf/include -I/home/lolcese/netcdf/include -I/home/lolcese/mpich2-install/include -I. -I/home/lolcese/CESM/mycase/SourceMods/src.share -I/home/lolcese/CESM/cesm1_0_2/models/drv/shr_mct -I/home/lolcese/CESM/cesm1_0_2/models/drv/shr -I/home/lolcese/CESM/cesm1_0_2/models/dead_share -I/home/lolcese/CESM/cesm1_0_2/models/csm_share/shr -I/home/lolcese/CESM/cesm1_0_2/models/utils/timing -I/home/lolcese/CESM/cesm1_0_2/models/utils/esmf_wrf_timemgr -I/home/lolcese/CESM/executable/mycase/lib/include -DMCT_INTERFACE -DHAVE_MPI -DGLC_NEC_10 -DLINUX -DSEQ_ -DFORTRANUNDERSCORE -DNO_R16 -DNO_SHR_VMATH -g -fp-model precise -convert big_endian -assume byterecl -ftz -traceback -O2 -FR /home/lolcese/CESM/cesm1_0_2/models/drv/shr/seq_io_mod.F90
/home/lolcese/CESM/cesm1_0_2/models/drv/shr/seq_io_mod.F90(88): error #6457: This derived type name has not been declared. [FILE_DESC_T]
type(file_desc_t) ,save :: cpl_io_file
--------^

...... Several similar errors......

m.decker@...

I have the same problem as you when using version 12.0 of the Intel compilers. However version 11.0 compiles and runs successfully.

lolcese@...

It compiled now, thanks !

Log in or register to post comments

Who's new

  • 1658093099@...
  • mborreggine@...
  • kabirtam@...
  • suns@...
  • liangpeng0405@...