Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

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.
 
Top