- 积分
- 1986
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-3-20
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
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 |
评分
-
查看全部评分
|