爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 5593|回复: 3

CMAQ安装,在安装JPROC时,运行bldit.jproc文件时,出现错误,怎么解决?

[复制链接]
发表于 2015-12-29 20:34:10 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

del archive path: /home/name/Program/CMAQ-4.7.1/models
           Tools path: /home/name/Program/CMAQ-4.7.1/lib
set Project = /home/name/Program/CMAQ-4.7.1/models/JPROC
set GlobInc = /home/name/Program/CMAQ-4.7.1/models/include/release
set Base = /home/name/Program/CMAQ-4.7.1/scripts/jproc
set APPL = d1a
set CFG = cfg.d1a
set MODEL = JPROC_d1a
set Opt = verbose
set Revision = release
set ModDriver = ( module jproc_table release ; )
set Mechanism = cb05cl_ae5_aq
set Bld = /home/name/Program/CMAQ-4.7.1/scripts/jproc/BLD
set FC = /home/name/Program/pgi/linux86/7.1-5/bin/pgf90
set FP = /home/name/Program/pgi/linux86/7.1-5/bin/pgf90
set FSTD = -Mfixed -Mextend
set LINK_FLAGS = -Bstatic
set F_FLAGS = -Mfixed -Mextend -O2 -I.
set CPP_FLAGS =
set C_FLAGS = -v -O2 -I.
set Blder = /home/name/Program/CMAQ-4.7.1/lib/build/Linux/m3bld
set IOAPI = /home/name/Program/ioapi-3.1/Linux2_x86pg -lioapi
set NETCDF = /home/name/Program/CMAQ-4.7.1/lib -lnetcdf
set MACH = `uname -m`
uname -m
set COMP = `echo $FC | grep -o pg`
echo /home/name/Program/pgi/linux86/7.1-5/bin/pgf90
grep -o pg
if ( 0 == 0 ) then
else
if ( 0 == 1 ) then
set EXEID = Linux2_i686pg pg
set MODEL = JPROC_d1a_Linux2_i686pg
if ( ! -e /home/name/Program/CMAQ-4.7.1/scripts/jproc/BLD ) then
if ( ! -d /home/name/Program/CMAQ-4.7.1/scripts/jproc/BLD ) then
endif
cd /home/name/Program/CMAQ-4.7.1/scripts/jproc/BLD
set LIB1 = -L/home/name/Program/ioapi-3.1/Linux2_x86pg -lioapi
set LIB2 = -L/home/name/Program/CMAQ-4.7.1/lib -lnetcdf
set LIBS = -L/home/name/Program/ioapi-3.1/Linux2_x86pg -lioapi -L/home/name/Program/CMAQ-4.7.1/lib -lnetcdf
set ICL_CONST = /home/name/Program/CMAQ-4.7.1/models/include/release
set ICL_MECH = /home/name/Program/CMAQ-4.7.1/models/include/release/cb05cl_ae5_aq
setenv CVSROOT /home/name/Program/CMAQ-4.7.1/models/JPROC
set Cfile = cfg.d1a.bld
set quote = "
echo
echo model       JPROC_d1a_Linux2_i686pg;
echo
echo FPP         /home/name/Program/pgi/linux86/7.1-5/bin/pgf90;
echo
set text = "";
echo cpp_flags   "";
echo
echo f_compiler  /home/name/Program/pgi/linux86/7.1-5/bin/pgf90;
echo
echo f_flags     "-Mfixed -Mextend -O2 -I.";
echo
echo link_flags  "-Bstatic";
echo
echo libraries   "-L/home/name/Program/ioapi-3.1/Linux2_x86pg -lioapi -L/home/name/Program/CMAQ-4.7.1/lib -lnetcdf";
echo
echo global      verbose;
echo
set text=// mechanism:
echo // mechanism: cb05cl_ae5_aq
echo // project archive: /home/name/Program/CMAQ-4.7.1/models/JPROC
echo
echo include SUBST_CONST      /home/name/Program/CMAQ-4.7.1/models/include/release/CONST.EXT;
echo include SUBST_RXCMMN     /home/name/Program/CMAQ-4.7.1/models/include/release/cb05cl_ae5_aq/RXCM.EXT;
echo include SUBST_RXDATA     /home/name/Program/CMAQ-4.7.1/models/include/release/cb05cl_ae5_aq/RXDT.EXT;
echo module jproc_table release ;
echo
if ( 0 ) then
set NoMake
/home/name/Program/CMAQ-4.7.1/lib/build/Linux/m3bld cfg.d1a.bld
In build_main (build) Version 2.80 April 2002
Architecture Build Information:
Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux
Build Date:
二 12月 29 20:29:13 CST 2015

Default Fortran Compiler: /home/name/Program/pgi/linux86/7.1-5/bin/pgf90
Default C Compiler: cc
Default C++ Compiler: C++

Files used for this build date:

CVS command = cvs -d $CVSROOT -r export -r HEAD -d jproc_table  jproc_table
cvs export: Updating jproc_table
/home/name/Program/pgi/linux86/7.1-5/bin/pgf90 -Bstatic calczen.o chj.o index2.o intavg.o interp.o jproc.o o3scal.o optics.o pntavg.o readcsqy.o readet.o reado2.o reado3.o readprof.o readtoms.o setaer.o setair.o setalb.o setcld.o srband.o subgrid.o tridiag.o twostr.o  -L/home/name/Program/ioapi-3.1/Linux2_x86pg -lioapi -L/home/name/Program/CMAQ-4.7.1/lib -lnetcdf -o JPROC_d1a_Linux2_i686pg

/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(rdatt3.o)(.text+0x97b): In
function `rdattc_':
: undefined reference to `nf_inq_att__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(rdatt3.o)(.text+0xe7f): In
function `rdattc_':
: undefined reference to `nf_get_att_text__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(rdatt3.o)(.text+0xfac): In
function `rdattc_':
: undefined reference to `nf_get_att_int__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(rdatt3.o)(.text+0xfe4): In
function `rdattc_':
: undefined reference to `nf_get_att_real__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(rdatt3.o)(.text+0x1020): In function `rdattc_':
: undefined reference to `nf_get_att_double__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(wratt3.o)(.text+0xa2d): In
function `wrattc_':
: undefined reference to `nf_redef__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(wratt3.o)(.text+0xd61): In
function `wrattc_':
: undefined reference to `nf_enddef__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(init3.o)(.text+0x411): In function `init3_':
: undefined reference to `nf_inq_libvers__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(opnfil3.o)(.text+0x1ce): In function `opnfil3_':
: undefined reference to `nf_open__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(inqatt3.o)(.text+0x53b): In function `inqatt3_':
: undefined reference to `nf_inq_varnatts__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(inqatt3.o)(.text+0x81e): In function `inqatt3_':
: undefined reference to `nf_inq_attname__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(inqatt3.o)(.text+0x992): In function `inqatt3_':
: undefined reference to `nf_inq_att__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(syncfid.o)(.text+0x52): In
function `syncfid_':
: undefined reference to `nf_sync__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(syncfid.o)(.text+0x416): In function `syncfid_':
: undefined reference to `nf_sync__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(crtfil3.o)(.text+0x1a1): In function `crtfil3_':
: undefined reference to `nf_create__'
/home/name/Program/ioapi-3.1/Linux2_x86pg/libioapi.a(m3abort.o)(.text+0x284): In function `m3abort_':
: undefined reference to `nf_strerror__'
endif
if ( 0 != 0 ) then
if ( -e /home/name/Program/CMAQ-4.7.1/scripts/jproc/cfg.d1a ) then
echo    >>> previous cfg.d1a exists, re-naming to cfg.d1a.old <<<
   >>> previous cfg.d1a exists, re-naming to cfg.d1a.old <<<
unalias mv
mv /home/name/Program/CMAQ-4.7.1/scripts/jproc/cfg.d1a /home/name/Program/CMAQ-4.7.1/scripts/jproc/cfg.d1a.old
endif
cp cfg.d1a.bld /home/name/Program/CMAQ-4.7.1/scripts/jproc/cfg.d1a
if ( ( verbose != no_compile ) && ( verbose != no_link ) && ( verbose != parse_only ) && ( verbose != show_only ) && 1 ) then
mv JPROC_d1a_Linux2_i686pg /home/name/Program/CMAQ-4.7.1/scripts/jproc
mv: can't stat source JPROC_d1a_Linux2_i686pg
endif
exit


密码修改失败请联系微信:mofangbao
发表于 2016-4-5 20:53:30 | 显示全部楼层
楼主请问你是如何解决的,我装CMAQ的时候也遇到一样的问题了
密码修改失败请联系微信:mofangbao
发表于 2016-4-6 00:20:06 | 显示全部楼层
1713878069 发表于 2016-4-5 20:53
楼主请问你是如何解决的,我装CMAQ的时候也遇到一样的问题了

第一个,查看netcdf库文件是否link到制定路径
密码修改失败请联系微信:mofangbao
发表于 2016-4-6 00:21:10 | 显示全部楼层
1713878069 发表于 2016-4-5 20:53
楼主请问你是如何解决的,我装CMAQ的时候也遇到一样的问题了

第二,注意netcdf库版本,一般使用4.1.1,4.1.3会出现类似报错问题。
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表