- 积分
- 1868
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-4-1
- 最后登录
- 1970-1-1
![[_Enochpak] 粉丝数:382 微博数:1109 新浪微博达人勋](source/plugin/sina_login/img/light.png)
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
在编译CMAQ5.0.2的jproc的时候出现未定义变量的问题,请问会是什么出错了呢?
Model repository base path: /home/enoch/cmaq/CMAQv5.0.2
library path: /home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc
Model repository path: /home/enoch/cmaq/CMAQv5.0.2/models
set GlobInc = /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/ICL
set Mechs = /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS
setenv REPOROOT /home/enoch/cmaq/CMAQv5.0.2/models/JPROC
set Base = /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc
set APPL = D502a
set CFG = cfg.D502a
set MODEL = JPROC_D502a_Linux4_x86_64gcc
set Bld = /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
if ( ! -e /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a ) then
if ( ! -d /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a ) then
endif
cd /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
set ModDriver = jproc_table
set Mechanism = cb05tucl_ae6_aq
set Bld = /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
set FC = mpif90
set FP = mpif90
set Blder = /home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/bldmake
set LIOAPI = /home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/ioapi_3.2/Linux2_x86_64gfort -lioapi
set IOAPIMOD = /home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/ioapi_3.2/Linux2_x86_64gfort
set NETCDF = /home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/netcdf/lib -lnetcdf
set F_FLAGS = -ffixed-form -ffixed-line-length-132 -O3 -funroll-loops -finit-character=32 -I/home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/ioapi_3.2/Linux2_x86_64gfort -I.
set F90_FLAGS = -ffree-form -ffree-line-length-none -O3 -funroll-loops -finit-character=32 -I/home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/ioapi_3.2/Linux2_x86_64gfort -I.
set CPP_FLAGS =
set C_FLAGS = -O2 -DFLDMN
set LINK_FLAGS =
if ( ! -e /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a ) then
if ( ! -d /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a ) then
endif
cd /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
set LIB1 = -L/home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/ioapi_3.2/Linux2_x86_64gfort -lioapi
set LIB2 = -L/home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/netcdf/lib -lnetcdf
set LIBS = -L/home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/ioapi_3.2/Linux2_x86_64gfort -lioapi -L/home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/netcdf/lib -lnetcdf -lgomp -lnetcdff
source /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/relinc.jproc
set RCP = cp -p
if ( 0 ) then
echo
echo >>> WARNING: Not updating global include files
>>> WARNING: Not updating global include files
echo
endif
set Rls = /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/ICL/fixed/const
set IncList = ( CONST.EXT )
if ( 0 ) then
foreach file ( CONST.EXT )
if ( ! -e CONST.EXT ) cp -p /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/ICL/fixed/const/CONST.EXT /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
end
endif
set Rls = /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS/cb05tucl_ae6_aq
set noglob
foreach file ( `find ${Rls}/ -type f -name "*" -print` )
find /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS/cb05tucl_ae6_aq/ -type f -name * -print
if ( ! -e NR_cb05tucl_ae6_aq.nml ) cp -p /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS/cb05tucl_ae6_aq/NR_cb05tucl_ae6_aq.nml /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
end
if ( ! -e AE_cb05tucl_ae6_aq.nml ) cp -p /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS/cb05tucl_ae6_aq/AE_cb05tucl_ae6_aq.nml /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
end
if ( ! -e mech.def ) cp -p /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS/cb05tucl_ae6_aq/mech.def /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
end
if ( ! -e GC_cb05tucl_ae6_aq.csv ) cp -p /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS/cb05tucl_ae6_aq/GC_cb05tucl_ae6_aq.csv /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
end
if ( ! -e NR_cb05tucl_ae6_aq.csv ) cp -p /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS/cb05tucl_ae6_aq/NR_cb05tucl_ae6_aq.csv /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
end
if ( ! -e GC_cb05tucl_ae6_aq.nml ) cp -p /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS/cb05tucl_ae6_aq/GC_cb05tucl_ae6_aq.nml /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
end
if ( ! -e RXCM.EXT ) cp -p /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS/cb05tucl_ae6_aq/RXCM.EXT /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
end
if ( ! -e CSQY_DATA_cb05tucl_ae6_aq ) cp -p /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS/cb05tucl_ae6_aq/CSQY_DATA_cb05tucl_ae6_aq /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
end
if ( ! -e AE_cb05tucl_ae6_aq.csv ) cp -p /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS/cb05tucl_ae6_aq/AE_cb05tucl_ae6_aq.csv /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
end
if ( ! -e RXDT.EXT ) cp -p /home/enoch/cmaq/CMAQv5.0.2/models/CCTM/MECHS/cb05tucl_ae6_aq/RXDT.EXT /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
end
if ( 0 ) exit 1
set ICL_CONST = /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
set ICL_MECH = /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a
set Cfile = cfg.D502a.bld
set quote = "
echo
echo model JPROC_D502a_Linux4_x86_64gcc;
echo
echo FPP mpif90;
echo
set text = "";
echo cpp_flags "";
echo
echo f_compiler mpif90;
echo
echo f_flags "-ffixed-form -ffixed-line-length-132 -O3 -funroll-loops -finit-character=32 -I/home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/ioapi_3.2/Linux2_x86_64gfort -I.";
echo
echo f90_flags "-ffree-form -ffree-line-length-none -O3 -funroll-loops -finit-character=32 -I/home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/ioapi_3.2/Linux2_x86_64gfort -I.";
echo
echo c_flags "-O2 -DFLDMN";
echo
echo link_flags "";
echo
echo libraries "-L/home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/ioapi_3.2/Linux2_x86_64gfort -lioapi -L/home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/netcdf/lib -lnetcdf -lgomp -lnetcdff";
echo
set text=// mechanism:
echo // mechanism: cb05tucl_ae6_aq
echo // model repository: /home/enoch/cmaq/CMAQv5.0.2/models
echo
if ( gcc == gfort ) then
echo include SUBST_CONST /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a/CONST.EXT;
echo include SUBST_RXCMMN /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a/RXCM.EXT;
echo include SUBST_RXDATA /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a/RXDT.EXT;
set text = jproc_table
echo // options are jproc_table
echo Module jproc_table;
echo
unalias mv rm
if ( 0 ) then
if ( 0 ) then
/home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/bldmake cfg.D502a.bld
/home/enoch/cmaq/CMAQv5.0.2/lib/x86_64/gcc/bldmake: Command not found.
endif
endif
mv Makefile /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a/Makefile.gcc
if ( -e /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a/Makefile.gcc && -e /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a/Makefile ) rm /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a/Makefile
ln -s /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a/Makefile.gcc /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a/Makefile
if ( 0 != 0 ) then
if ( -e /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/cfg.D502a ) then
mv cfg.D502a.bld /home/enoch/cmaq/CMAQv5.0.2/scripts/jproc/BLD_D502a/cfg.D502a
cd /home/enoch/cmaq/CMAQv5.0.2/models
set brnch = `git branch`
git branch
@ i = 0
while ( 0 < 0 )
set rep = `echo $cwd | tr "/" "#"`
tr / #
echo /home/enoch/cmaq/CMAQv5.0.2/models
l: Undefined variable.
|
|