Hello everyone, I’m trying to compile CMAQ-5.2. But error occurs while compiling the ICON process. So i need your help!Thanks!
Compiler is set to intel
set ICON_SRC = /disk1/scl/CMAQ/CMAQ-5.2/PREP/icon/src
setenv REPOROOT /disk1/scl/CMAQ/CMAQ-5.2/PREP/icon/src
set Mechs = /disk1/scl/CMAQ/CMAQ-5.2/CCTM/src/MECHS
set VRSN = v52
set INPT = profile
set EXEC = ICON_v52_profile.exe
set CFG = ICON_v52_profile.cfg
set CompileBLDMAKE
set CopySrc
set ModCommon = common
set ModType = profile
set ModMech = prof_data/cb05_ae6_aq
set Mechanism = cb05e51_ae6_aq/
set Tracer = trac0
set FC = mpiifort
set FP = mpiifort
setenv BLDER /disk1/scl/CMAQ/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe
set xLib_Base = /opt/ifort
set xLib_1 = ioapi31/Linux2_x86_64ifort
set xLib_2 = ioapi31/ioapi/fixed_src
set xLib_4 = ioapi31/Linux2_x86_64ifort
set FSTD = -O3 -fno-alias -mp1 -fp-model source
set DBG = -O0 -g -check bounds -check uninit -fpe0 -fno-alias -ftrapuv -traceback
set F_FLAGS = -fixed -132
set F90_FLAGS = -free
set CPP_FLAGS =
set LINK_FLAGS =
set LIB1 = -lioapi
set LIB2 = -lnetcdf
if ( ! -e /disk1/scl/CMAQ/CMAQ-5.2 || ! -e /opt/ifort ) then
echo Model repository base path: /disk1/scl/CMAQ/CMAQ-5.2
Model repository base path: /disk1/scl/CMAQ/CMAQ-5.2
echo library path: /opt/ifort
library path: /opt/ifort
if ( 0 ) then
set BLD_OS = uname -s
uname -s
if ( Linux != Linux ) then
set Bld = /disk1/scl/CMAQ/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel
if ( ! -e /disk1/scl/CMAQ/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel ) then
mkdir /disk1/scl/CMAQ/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel
else
cd /disk1/scl/CMAQ/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel
if ( 1 ) then
/bin/cp -fp /disk1/scl/CMAQ/CMAQ-5.2/CCTM/src/MECHS/cb05e51_ae6_aq//AE_cb05e51_ae6_aq.nml /disk1/scl/CMAQ/CMAQ-5.2/CCTM/src/MECHS/cb05e51_ae6_aq//GC_cb05e51_ae6_aq.nml /disk1/scl/CMAQ/CMAQ-5.2/CCTM/src/MECHS/cb05e51_ae6_aq//NR_cb05e51_ae6_aq.nml /disk1/scl/CMAQ/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel
/bin/cp -fp /disk1/scl/CMAQ/CMAQ-5.2/CCTM/src/MECHS/trac0/Species_Table_TR_0.nml /disk1/scl/CMAQ/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel
else
set Cfile = ICON_v52_profile.cfg.bld
set quote = "
echo
echo model ICON_v52_profile.exe;
echo
echo repo /disk1/scl/CMAQ/CMAQ-5.2/PREP/icon/src;
echo
echo mechanism cb05e51_ae6_aq/;
echo
echo lib_base /opt/ifort;
echo
echo lib_1 ioapi31/Linux2_x86_64ifort;
echo
echo lib_2 ioapi31/ioapi/fixed_src;
echo
echo lib_4 ioapi31/Linux2_x86_64ifort;
echo
set text = “”;
echo cpp_flags “”;
echo
echo f_compiler mpiifort;
echo
echo fstd “-O3 -fno-alias -mp1 -fp-model source”;
echo
echo dbg “-O0 -g -check bounds -check uninit -fpe0 -fno-alias -ftrapuv -traceback”;
echo
echo f_flags “-fixed -132”;
echo
echo f90_flags “-free”;
echo
echo link_flags “”;
echo
echo ioapi “-lioapi”;
echo
echo netcdf "-lnetcdf ";
echo
set text=// mechanism:
echo // mechanism: cb05e51_ae6_aq/
echo // project repository: /disk1/scl/CMAQ/CMAQ-5.2/PREP/icon/src
echo
set text = common
echo // required common
echo Module common;
echo
set text = profile, m3conc, tracer
echo // options are profile, m3conc, tracer
echo Module profile;
echo
set text = cb05, saprc99, saprc07t
echo // options are cb05, saprc99, saprc07t
echo Module prof_data/cb05_ae6_aq;
echo
if ( 0 ) then
unalias mv rm
if ( 1 || ! -f /disk1/scl/CMAQ/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe ) then
cd /disk1/scl/CMAQ/CMAQ-5.2/UTIL/bldmake/scripts
./bldit_bldmake.csh
rm: No match.
mpiifort: Command not found.
mpiifort: Command not found.
mpiifort: Command not found.
mpiifort: Command not found.
mpiifort: No match.
ERROR BLDMAKE Compile failed
endif
set Blder = /disk1/scl/CMAQ/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe -serial -verbose
cd /disk1/scl/CMAQ/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel
if ( 0 ) then
if ( 1 ) then
/disk1/scl/CMAQ/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe -serial -verbose ICON_v52_profile.cfg.bld
/disk1/scl/CMAQ/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe: Command not found.
else
endif
mv Makefile Makefile.intel
mv: cannot stat `Makefile’: No such file or directory
if ( 1 != 0 ) then
echo *** failure in /disk1/scl/CMAQ/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe -serial -verbose ***
*** failure in /disk1/scl/CMAQ/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe -serial -verbose ***
exit 1