case build error

Gustin

Hanlx
New Member
Dear all,

I am facing problem in building a case.
When I try to run ./case.build ,
It made such a mistake:
make -f /share/home/shichunhua/sch_hanlx/cesm2/cesm2.1.3/cime/src/share/timing/Makefile install -C /share/home/shichunhua/sch_hanlx/cesm2/scratch/b.day1.0/bld/intel/mpt/nodebug/nothreads/gptl MACFILE=/share/home/shichunhua/sch_hanlx/cases/b.day1.0/Macros.make MODEL=gptl GPTL_DIR=/share/home/shichunhua/sch_hanlx/cesm2/cesm2.1.3/cime/src/share/timing GPTL_LIBDIR=/share/home/shichunhua/sch_hanlx/cesm2/scratch/b.day1.0/bld/intel/mpt/nodebug/nothreads/gptl SHAREDPATH=/share/home/shichunhua/sch_hanlx/cesm2/scratch/b.day1.0/bld/intel/mpt/nodebug/nothreads
make: Entering directory `/share/home/shichunhua/sch_hanlx/cesm2/scratch/b.day1.0/bld/intel/mpt/nodebug/nothreads/gptl'
mpicc -c -I/share/home/shichunhua/sch_hanlx/cesm2/cesm2.1.3/cime/src/share/timing -qno-opt-dynamic-align -fp-model precise -std=gnu99 -O2 -debug minimal -DFORTRANUNDERSCORE -DCPRINTEL -DHAVE_MPI /share/home/shichunhua/sch_hanlx/cesm2/cesm2.1.3/cime/src/share/timing/gptl.c
make: Leaving directory `/share/home/shichunhua/sch_hanlx/cesm2/scratch/b.day1.0/bld/intel/mpt/nodebug/nothreads/gptl'
x86_64-conda-linux-gnu-cc: error: unrecognized command-line option '-qno-opt-dynamic-align'
x86_64-conda-linux-gnu-cc: error: unrecognized command-line option '-fp-model'; did you mean '-fipa-modref'?
make: *** [gptl.o] Error 1
ERROR: x86_64-conda-linux-gnu-cc: error: unrecognized command-line option '-qno-opt-dynamic-align'
x86_64-conda-linux-gnu-cc: error: unrecognized command-line option '-fp-model'; did you mean '-fipa-modref'?
make: *** [gptl.o] Error 1

How do I fix it?
 

jedwards

CSEG and Liaisons
Staff member
It looks to me like you are using a gnu compiler but you are using compiler options for an intel compiler.
Did you follow the porting guide? Also cesm2.1.3 is no longer recommended - cesm2.1.5 is the latest cmip6 compatible release.
 
Back
Top