爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 8092|回复: 3

i386 intel ioapi的安装

[复制链接]
发表于 2013-7-7 00:09:50 | 显示全部楼层 |阅读模式

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

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

x
Before you want to install ioapi , especially you want to couple the ioapi, you should install PVM3
http://www.netlib.org/pvm3/
1 install pvm3
(1)tar -zxvf pvm*.tar.gz
(2) cd pvm3
(3)csh   //use c-shell
(4) setenv PVM_ROOT  /home/wangxun/Dowloads/pvm3      // where the source of the pvm3
(5) make
(6) setenv PVM_ARCH LINUX
(7) setenv  BIN Linux2_x86
2 install ioapi
(1) Download the code from http://www.baronams.com/products/ioapi/AVAIL.html#v31
(2) mkdir /home/wangxun/ioapi
(3) cd  /home/wangxun/ioapi
(4) mkdir lib
(5) mkdir bin
(6) cd /home/wangxun/Dowloads
(7) mkdir ioapi
(8) cp ioapi*.tar.gz ioapi
(10) cd ioapi
(11) tar -zxvf  ioapi*.tar.gz
(12) vim Makefile  as foolowing:                          (also can see the attachment  of my Makefile)
BASEDIR    = /home/wangxun/Downloads/ioapi          // the source of ioapi
INSTALL    = /home/wangxun/ioapi                // where you want to install
LIBINST    = (INSTALL)/lib                    //whereyouinstalltheioapi′slibBININST   =(INSTALL)/bin                     // where you install the ioapi's bin
CPLMODE    = cpl               // 'cpl' means you want to couple the ioapi , you should install PVM3 fisrt                                                           // and indicate the PATH of PVM3
IOAPIDEFS  = -DIOAPICPL
PVMINCL    = (PVMROOT)/conf/(PVM_ARCH).def               //the path of PVM
(13) cd ioapi
(14) vim Makeinclude.Linux2_x86
(15) replace the "MFLAGS    =  -m486 -malign-double \"  with     "MFLAGS    =  -mtune=i686 -malign-double \"
(16) replace "  PVM_ARCH= LINUXI386" with "PVM_ARCH=LINUX"
(16) make configure
(17) make
(18) make install
(19) you will get Linux2_x86 file which contains library and binrary

评分

参与人数 1金钱 +5 贡献 +1 收起 理由
mofangbao + 5 + 1

查看全部评分

密码修改失败请联系微信:mofangbao
发表于 2015-9-23 15:42:33 | 显示全部楼层
楼主,我按照你的方法做到第5步后就出现了下面错误,还麻烦你帮忙看看,谢谢!
  1. ./lib/aimk -here -f ./conf/`./lib/pvmtmparch`.def -f ./Makefile.aimk default
  2. making in . for LINUX64
  3. make[1]: Entering directory `/usr/CMAQ/CMAQ_libs/pvm3'
  4. building in src
  5. cd src; ../lib/aimk CC="cc" F77="f77" install
  6. making in LINUX64/ for LINUX64
  7. make[2]: Entering directory `/usr/CMAQ/CMAQ_libs/pvm3/src/LINUX64'
  8. mkdir ../../lib/LINUX64
  9. cc -O -DCLUMP_ALLOC -DSTATISTICS -DTIMESTAMPLOG -DSANITY -I../../include -DARCHC            LASS="LINUX64" -DIMA_LINUX64 -DSYSVSIGNAL -DNOWAIT3 -DRSHCOMMAND="/usr/bin/rs            h" -DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS -DHASSTDLIB -DCTIMEISTIMET -DSY            SERRISCONST -DNOTMPNAM -DSYSVSTR -DUSESTRERROR  -c ../../src/ddpro.c
  10. make[2]: cc: Command not found
  11. make[2]: *** [ddpro.o] Error 127
  12. make[2]: Leaving directory `/usr/CMAQ/CMAQ_libs/pvm3/src/LINUX64'
  13. make[1]: *** [s] Error 2
  14. make[1]: Leaving directory `/usr/CMAQ/CMAQ_libs/pvm3'
  15. make: *** [default] Error 2
复制代码
密码修改失败请联系微信:mofangbao
发表于 2016-4-21 21:05:45 | 显示全部楼层
楼主,按你的设置会出现报错,生成不了runspec.o
密码修改失败请联系微信:mofangbao
发表于 2016-4-21 21:06:19 | 显示全部楼层
{:eb514:}
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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