Main menu

Navigation

porting CESM1_2_0 on a linux machine

4 posts / 0 new
Last post
yaozhixiong@...
porting CESM1_2_0 on a linux machine

Hi,

I have installed ccsm4 on a linux machine(pgi compiler_version 10 + mpich). I can run ccsm4 successfully. And I used the same compilers to install cesm1_2_0. I can run the compset X successfully, but failed in the compset B. I searched this error in the forum, and found that one person also met this error. And the engineer answered that may be a problem with the version of PGI compiler.

Here is the website of that person's quersion: http://bb.cgd.ucar.edu/problem-when-building-case

My question is: whether is it real a probem with the version of PGI compiler in my machine? My PGI version is 10.

My setting and error information is showed below:

***env_mach_specific***

setenv PGI_PATH /dcfs2/program/pgi
setenv MPICH_PATH /dcfs2/program/mpi/mvapich2/1.8/pgcc_pgf90
setenv PATH ${PGI}/linux86/bin:${MPICH_PATH}/bin:${PATH}
setenv LD_LIBRARY_PATH ${PGI}/linux86/lib:${MPICH_PATH}/lib:${LD_LIBRARY_PATH

setenv NETCDF_PATH /public/program/netcdf-3.6.3-pgi/

 

***Macros***

CPPDEFS+= -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI

SLIBS+= -L$(LIB_NETCDF) -lnetcdf

CFLAGS:= -gopt -Mlist -time -O -Mvect=nosse

CONFIG_ARGS:=

CXX_LINKER:=CXX

ESMF_LIBDIR:=

FC_AUTO_R8:= -r8

FFLAGS:= -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee

FIXEDFLAGS:= -Mfixed

FREEFLAGS:= -Mfree

LDFLAGS:= -time -Wl,--allow-multiple-definition

MPICC:= mpicc

MPICXX:= mpicxx

MPIFC:= mpif90

MPI_LIB_NAME:= mpich

MPI_PATH:= /dcfs2/program/mpi/mvapich2/1.8/pgcc.pgf90

NETCDF_PATH:= /public/program/netcdf-3.6.3-pgi

PNETCDF_PATH:=

SCC:= pgcc

SCXX:= pgc++

SFC:= pgf95

SUPPORTS_CXX:=FALSE

ifeq ($(DEBUG), TRUE)
FFLAGS += -g -Ktrap=fp -Mbounds -Kieee
endif

ifeq ($(compile_threaded), true)
LDFLAGS += -mp
CFLAGS += -mp
FFLAGS += -mp
endif

ifeq ($(MODEL), dwav)
FFLAGS += -Mnovect
endif

ifeq ($(MODEL), dlnd)

FFLAGS += -Mnovect
endif

ifeq ($(MODEL), drof)
FFLAGS += -Mnovect
endif

ifeq ($(MODEL), cam)
FFLAGS += -O -Mvect=nosse
endif

ifeq ($(MODEL), dice)
FFLAGS += -Mnovect
endif

ifeq ($(MODEL), cice)
FFLAGS += -O -Mvect=nosse
endif

ifeq ($(MODEL), moby)
FFLAGS += -O -Mvect=nosse
endif

ifeq ($(MODEL), rtm)
FFLAGS += -O -Mvect=nosse
endif

ifeq ($(MODEL), pop2)
FFLAGS += -O -Mvect=nosse

ifeq ($(MODEL), docn)
FFLAGS += -Mnovect
endif

ifeq ($(MODEL), clm)
FFLAGS += -O -Mvect=nosse
endif

ifeq ($(MODEL), datm)
FFLAGS += -Mnovect
endif

 

***part of error information ***

ERROR: atm.bldlog.131115-151116

mpif90 -c -I. -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/case_output/testb/pio -I/public/program/netcdf-3.6.3-pgi/include -I/dcfs2/program/mpi/mvapich2/1.8/pgcc.pgf90/include -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/case_output/testb/mct/mct -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/case_output/testb/mct/mpeu -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/case_output/testb/pio -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/case_output/testb/gptl -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/utils/pio -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/case_output/testb/lib/include -I. -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/case_output/testb/SourceMods/src.cam -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/chemistry/pp_none -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/chemistry/mozart -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/chemistry/bulk_aero -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/chemistry/utils -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/dynamics/fv -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/utils/pilgrim -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/cpl_mct -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/cpl_share -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/control -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/utils -I/public/userspace/yaozhixiong/CESM/cesm1_2_0/case_output/testb/lib/include -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee -O -Mvect=nosse -DCO2A -DMAXPATCH_PFT=numpft+1 -DLSMLAT=1 -DLSMLON=1 -DPLON=72 -DPLAT=46 -DPLEV=26 -DPCNST=3 -DPCOLS=16 -DPSUBCOLS=1 -DPTRM=1 -DPTRN=1 -DPTRK=1 -DSTAGGERED -DSPMD -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -Mfree /public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90
PGF90-S-0084-Illegal use of symbol m_list (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 514)
PGF90-S-0155-Illegal POINTER assignment - type mismatch (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 514)
PGF90-S-0084-Illegal use of symbol m_list (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 523)
PGF90-S-0141-RECORD required on left of % (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 523)
0 inform, 0 warnings, 4 severes, 0 fatal for rad_cnst_get_info
PGF90-S-0084-Illegal use of symbol m_list (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 602)
PGF90-S-0155-Illegal POINTER assignment - type mismatch (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 602)
PGF90-S-0084-Illegal use of symbol m_list (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 605)
PGF90-S-0141-RECORD required on left of % (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 605)
PGF90-S-0084-Illegal use of symbol m_list (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 612)
PGF90-S-0141-RECORD required on left of % (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 612)
PGF90-S-0075-Subscript, substring, or argument illegal in this context for (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 612)
0 inform, 0 warnings, 7 severes, 0 fatal for rad_cnst_get_info_by_mode
PGF90-S-0084-Illegal use of symbol m_list (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 661)
PGF90-S-0155-Illegal POINTER assignment - type mismatch (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 661)
PGF90-S-0084-Illegal use of symbol m_list (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 664)
PGF90-S-0141-RECORD required on left of % (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 664)
PGF90-S-0084-Illegal use of symbol m_list (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 671)
PGF90-S-0141-RECORD required on left of % (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 671)
PGF90-S-0075-Subscript, substring, or argument illegal in this context for (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 671)
0 inform, 0 warnings, 7 severes, 0 fatal for rad_cnst_get_info_by_mode_spec
PGF90-S-0084-Illegal use of symbol m_list (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 718)
PGF90-S-0155-Illegal POINTER assignment - type mismatch (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 718)
PGF90-S-0084-Illegal use of symbol m_list (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 721)
PGF90-S-0141-RECORD required on left of % (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 721)
PGF90-S-0084-Illegal use of symbol m_list (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 728)
PGF90-S-0141-RECORD required on left of % (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 728)
PGF90-S-0075-Subscript, substring, or argument illegal in this context for (/public/userspace/yaozhixiong/CESM/cesm1_2_0/models/atm/cam/src/physics/cam/rad_constituents.F90: 728)
0 inform, 0 warnings, 7 severes, 0 fatal for rad_cnst_get_info_by_spectype
gmake: *** [rad_constituents.o] Error 2

The full error can be seen in the attachment.  

Thank you very much!

Best regards,

 

yao zhixiong

eaton

This is a pgi compiler bug.  You need to update your compiler.

 

yaozhixiong@...

Thank you so much for reply.

Now I try to use the intel compiler to build the CESM1_2_0 on a linux machince. There is still something wrong. And the same error happened when I comment the content in the env_mach_specific.

---------------------------------------



***env_mach_specific***

setenv INTEL_PATH /dcfs2/program/intel
setenv MPICH_PATH /dcfs2/program/mpi/mvapich2/1.8/icc.ifort
setenv NETCDF_PATH  /public/program/netcdf4-intel/

setenv PATH ${INTEL_PATH}/Compiler/11.1/072/bin:${INTEL_PATH}/FCompiler/11.1/072/bin:${MPICH_PATH}/bin:${PATH}
setenv LD_LIBRARY_PATH ${INTEL_PATH}/Compiler/11.1/072/lib:${INTEL_PATH}/FCompiler/11.1/072/lib:${MPICH_PATH}/lib:${LD_LIBRARY_PATH}

***Macros***

#
# Makefile Macros generated from /public/userspace/liucj/CESM/cesm1_2_0/scripts/ccsm_utils/Machines/config_compilers.xml using
# COMPILER=intel
# OS=LINUX
# MACH=userdefined
#
CPPDEFS+= -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL

SLIBS+= -L$(NETCDF_PATH)/lib -lnetcdf

CFLAGS:= -O2 -fp-model precise

CONFIG_ARGS:=

CXX_LDFLAGS:= -cxxlib

CXX_LINKER:=FORTRAN

ESMF_LIBDIR:=

FC_AUTO_R8:= -r8

FFLAGS:= -O2 -fp-model source -convert big_endian -assume byterecl -ftz -traceback

FFLAGS_NOOPT:= -O0

FIXEDFLAGS:= -fixed -132

FREEFLAGS:= -free

MPICC:= mpicc

MPICXX:= mpicxx

MPIFC:= mpif90

MPI_LIB_NAME:=

MPI_PATH:= /dcfs2/program/mpi/mvapich2/1.8/icc.ifort

NETCDF_PATH:= /public/program/netcdf4-intel

PNETCDF_PATH:=
SCC:= icc

SCXX:= icpc

SFC:= ifort

SUPPORTS_CXX:=TRUE

ifeq ($(DEBUG), TRUE)
   FFLAGS += -g -CU -check pointers -fpe0
endif

ifeq ($(compile_threaded), true)
   LDFLAGS += -openmp
   CFLAGS += -openmp
   FFLAGS += -openmp
endif

***error information***

mct.bldlog.131117-050039


Copying source to CCSM EXEROOT...
New build of MCT
Running configure...
for OS=LINUX MACH=userdefined
cat: Filepath: No such file or directory
cat: Srcfiles: No such file or directory
/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/Tools/mkSrcfiles
cp -f /public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/Filepath /public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/Deppath
/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/Tools/mkDepends  Deppath Srcfiles > /public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/Depends
cd /public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct; \
     /public/userspace/liucj/CESM/cesm1_2_0/models/utils/mct/configure  CC="icc " FC="ifort " MPICC="mpicc  " MPIFC="mpif90 " FCFLAGS="-O2 -fp-model source -convert big_endian -assume byterecl -ftz -traceback  -free  -I.  -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/pio -I/public/program/netcdf4-intel/include -I/dcfs2/program/mpi/mvapich2/1.8/icc.ifort/include -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mct -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mpeu -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/pio -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/gptl -I/public/userspace/liucj/CESM/cesm1_2_0/models/utils/pio -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/lib/include" CPPDEFS=" -DLINUX  -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC" CFLAGS="-O2 -fp-model precise   -DLINUX  -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC -I.. -I.  -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/pio -I/public/program/netcdf4-intel/include -I/dcfs2/program/mpi/mvapich2/1.8/icc.ifort/include -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mct -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mpeu -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/pio -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/gptl -I/public/userspace/liucj/CESM/cesm1_2_0/models/utils/pio -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/lib/include" NETCDF_PATH=/public/program/netcdf4-intel LDFLAGS="" LIBS="-L/public/program/netcdf4-intel/lib -lnetcdf"   --srcdir /public/userspace/liucj/CESM/cesm1_2_0/models/utils/mct
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether icc  accepts -g... yes
checking for icc  option to accept ISO C89... none needed
checking how to run the C preprocessor... icc  -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking whether we are using the GNU Fortran compiler... no
checking whether ifort  accepts -g... yes
checking for Fortran flag to compile .F90 files... none
checking for mpif90... mpif90
checking for mpif.h... no
Checking Compiler Version
checking how to get the version output from ifort ... -V
checking for Fortran flag to compile preprocessed .F files... none
checking how to define symbols for preprocessed Fortran... -D
checking how to get verbose linking output from ifort ... -v
checking for Fortran libraries of ifort ...  -L/public/program/netcdf4-intel/lib -lnetcdf -L/dcfs2/program/intel/FCompiler/11.1/072/lib/intel64 -L/dcfs2/program/intel/Compiler/11.1/072/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../.. -L/lib64 -L/lib -L/usr/lib64 -L/usr/lib -lifport -lifcore -limf -lsvml -lm -lipgo -lirc -lpthread -ldl -lirc_s
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
Hostname=OceanStar1
Machine=x86_64
OS=Linux
Fortran Compiler is Intel ifort

Output Variables: {CC=icc } {CFLAGS=-O2 -fp-model precise -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -I.. -I. -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/pio -I/public/program/netcdf4-intel/include -I/dcfs2/program/mpi/mvapich2/1.8/icc.ifort/include -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mct -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mpeu -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/pio -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/gptl -I/public/userspace/liucj/CESM/cesm1_2_0/models/utils/pio -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/lib/include} {FC=ifort } {FCFLAGS=-O2 -fp-model source -convert big_endian -assume byterecl -ftz -traceback -free -I. -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/pio -I/public/program/netcdf4-intel/include -I/dcfs2/program/mpi/mvapich2/1.8/icc.ifort/include -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mct -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mpeu -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/pio -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/gptl -I/public/userspace/liucj/CESM/cesm1_2_0/models/utils/pio -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/lib/include} {PROGFCFLAGS=-assume byterecl}{CPPDEFS= -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -DSYSLINUX -DCPRINTEL} {OPT=-O2} {DEBUG=} {REAL8=-r8} {BIT64=} {ENDIAN=-convert big_endian} {MPIFC=mpif90 } {MPILIBS=} {MPIHEADER=} {INCLUDEFLAG=-I} {INCLUDEPATH=} {AR=ar cq} {BABELROOT=} {COMPILER_ROOT=} {PYTHON=} {PYTHONOPTS=} {FORT_SIZE=} {prefix=NONE} {SRCDIR=} {FC_DEFINE=-D}

configure: creating ./config.status
config.status: creating Makefile.conf
config.status: creating config.h
Please check the Makefile.conf
Have a nice day!
gmake[1]: Entering directory `/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mpeu'
icc  -c -DLINUX  -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC -DSYSLINUX -DCPRINTEL  -O2 -fp-model precise   -DLINUX  -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC -I.. -I.  -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/pio -I/public/program/netcdf4-intel/include -I/dcfs2/program/mpi/mvapich2/1.8/icc.ifort/include -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mct -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mpeu -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/pio -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/gptl -I/public/userspace/liucj/CESM/cesm1_2_0/models/utils/pio -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/lib/include   -I. -I../ /public/userspace/liucj/CESM/cesm1_2_0/models/utils/mct/mpeu/get_zeits.c
mpif90  -c  -I. -I../ -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -DSYSLINUX -DCPRINTEL -O2  -O2 -fp-model source -convert big_endian -assume byterecl -ftz -traceback  -free  -I.  -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/pio -I/public/program/netcdf4-intel/include -I/dcfs2/program/mpi/mvapich2/1.8/icc.ifort/include -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mct -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mpeu -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/pio -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/gptl -I/public/userspace/liucj/CESM/cesm1_2_0/models/utils/pio -I/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/lib/include   /public/userspace/liucj/CESM/cesm1_2_0/models/utils/mct/mpeu/m_mpif.F90
gfortran: source: No such file or directory
gfortran: big_endian: No such file or directory
gfortran: byterecl: No such file or directory
gfortran: unrecognized option '-convert'
gfortran: unrecognized option '-traceback'
cc1: error: unrecognized command line option "-fp-model"
cc1: error: unrecognized command line option "-ftz"
cc1: error: unrecognized command line option "-free"
gmake[1]: *** [m_mpif.o] Error 1
gmake[1]: Leaving directory `/public/userspace/liucj/CESM/cesm1_2_0/case_output/testx/bld/mct/mpeu'
gmake: *** [subdirs] Error 2
---------------------------------------

I think it is a problem with the FFLAGS, but I don't know what to do?

Actually, although I saw the config_compiler file, I only know the meaning of MPICC,MPICXX,MPIFC,MPI_LIB_NAME,MPI_PATH,NETCDF_PATH,SCC,SCXX,SFC in the Macros file.

 

Thank you very much.

jedwards

I think that you are using the wrong mpif90.    You can check this with mpif90 --version which should return the name and version of the underlying compiler.   The one you are using is pointing to gnu, you want one pointing to intel.    It may just be a matter of reordering your path so that the right one is listed first.

 

 

CESM Software Engineer

Log in or register to post comments

Who's new

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