- 积分
- 58
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-11-15
- 最后登录
- 1970-1-1
|
发表于 2022-4-13 17:59:43
|
显示全部楼层
请问安装CMAQ5.2,在安装icon时,出现下面的错误:
failed to access 'Makefile': too many levels of symbolic link
已经把动态链接改用绝对路径还是报这个错,是什么原因呢
日志内容如下:
Compiler is set to intel
set ICON_SRC = /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src
setenv REPOROOT /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src
set Mechs = /public/home/qys410/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 = cb05tucl_ae6_aq/
set Tracer = trac0
set FC = mpif90
set FP = mpif90
setenv BLDER /public/home/qys410/cmaq/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe
set xLib_Base = /public/home/qys410/cmaq/CMAQ-5.2/lib
set xLib_1 = ioapi/Linux2
set xLib_2 = ioapi/ioapi/fixed_src
set xLib_4 = ioapi/Linux2
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 = openmp
set LIB1 = -lioapi
set LIB2 = -lnetcdff -lnetcdf
if ( ! -e /public/home/qys410/cmaq/CMAQ-5.2 || ! -e /public/home/qys410/cmaq/CMAQ-5.2/lib ) then
echo Model repository base path: /public/home/qys410/cmaq/CMAQ-5.2
Model repository base path: /public/home/qys410/cmaq/CMAQ-5.2
echo library path: /public/home/qys410/cmaq/CMAQ-5.2/lib
library path: /public/home/qys410/cmaq/CMAQ-5.2/lib
if ( 0 ) then
set BLD_OS = `uname -s`
uname -s
if ( Linux != Linux ) then
set Bld = /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel
if ( ! -e /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel ) then
if ( ! -d /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel ) then
endif
cd /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel
if ( 1 ) then
/bin/cp -fp /public/home/qys410/cmaq/CMAQ-5.2/CCTM/src/MECHS/cb05tucl_ae6_aq//AE_cb05tucl_ae6_aq.nml /public/home/qys410/cmaq/CMAQ-5.2/CCTM/src/MECHS/cb05tucl_ae6_aq//GC_cb05tucl_ae6_aq.nml /public/home/qys410/cmaq/CMAQ-5.2/CCTM/src/MECHS/cb05tucl_ae6_aq//NR_cb05tucl_ae6_aq.nml /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel
/bin/cp -fp /public/home/qys410/cmaq/CMAQ-5.2/CCTM/src/MECHS/trac0/Species_Table_TR_0.nml /public/home/qys410/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 /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src;
echo
echo mechanism cb05tucl_ae6_aq/;
echo
echo lib_base /public/home/qys410/cmaq/CMAQ-5.2/lib;
echo
echo lib_1 ioapi/Linux2;
echo
echo lib_2 ioapi/ioapi/fixed_src;
echo
echo lib_4 ioapi/Linux2;
echo
set text = "";
echo cpp_flags "";
echo
echo f_compiler mpif90;
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 "openmp";
echo
echo ioapi "-lioapi";
echo
echo netcdf "-lnetcdff -lnetcdf ";
echo
set text=// mechanism:
echo // mechanism: cb05tucl_ae6_aq/
echo // project repository: /public/home/qys410/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 /public/home/qys410/cmaq/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe ) then
cd /public/home/qys410/cmaq/CMAQ-5.2/UTIL/bldmake/scripts
./bldit_bldmake.csh
endif
set Blder = /public/home/qys410/cmaq/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe -serial -verbose
cd /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/scripts/BLD_ICON_v52_profile_intel
if ( 0 ) then
if ( 1 ) then
/public/home/qys410/cmaq/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe -serial -verbose ICON_v52_profile.cfg.bld
REPOROOT set to:/public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src
Model set to ICON_v52_profile.exe
Repository set to /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src
Mechanism set to cb05tucl_ae6_aq/
LIB_BASE set to /public/home/qys410/cmaq/CMAQ-5.2/lib
LIB_1 set to ioapi/Linux2
LIB_2 set to ioapi/ioapi/fixed_src
LIB_4 set to ioapi/Linux2
CPP_FLAGS set to
F_COMPILER set to mpif90
FSTD set to -O3 -fno-alias -mp1 -fp-model source
DBG set to -O0 -g -check bounds -check uninit -fpe0 -fno-alias -ftrapuv -traceback
f_flags set to -fixed -132
f90_flags set to -free
LINK_FLAGS set to openmp
IOAPI set to -lioapi
NETCDF set to -lnetcdff -lnetcdf
Building file list for module common
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/CGRID_SPCS.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/findex.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/gc_spc_map.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/get_envlist.f added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/HGRD_DEFN.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/icon.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/IC_PARMS.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/lat_lon.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/lr_interp.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/lst_spc_map.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/ngc_spc_map.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/opn_ic_file.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/setup_logdev.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/subhdomain.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/UTILIO_DEFN.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/common/VGRD_DEFN.F added to make list
Building file list for module profile
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/profile/prof_driver.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/profile/prof_icout.F added to make list
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/profile/prof_vinterp.F added to make list
Building file list for module prof_data/cb05_ae6_aq
file /public/home/qys410/cmaq/CMAQ-5.2/PREP/icon/src/prof_data/cb05_ae6_aq/ic_profile_CB05.dat added to make list
Determining global module files
file CGRID_SPCS.F determined to be global
file HGRD_DEFN.F determined to be global
file IC_PARMS.F determined to be global
file UTILIO_DEFN.F determined to be global
file VGRD_DEFN.F determined to be global
*** Program terminated on Error ***
Cannot create FILE [Makefile]
else
endif
mv Makefile Makefile.intel
mv: failed to access ‘Makefile.intel’: Too many levels of symbolic links
ln -s Makefile.intel Makefile
ln: failed to access ‘Makefile’: Too many levels of symbolic links
if ( 1 != 0 ) then
echo *** failure in /public/home/qys410/cmaq/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe -serial -verbose ***
*** failure in /public/home/qys410/cmaq/CMAQ-5.2/UTIL/bldmake/bldmake_intel.exe -serial -verbose ***
exit 1
|
|