免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1158 | 回复: 0
打印 上一主题 下一主题

Linux IA32下MPP970 revision 6763执行设定,Lam-mpi_7.0.3版 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-02-18 21:07 |只看该作者 |倒序浏览
LSTC公司release的最新版本的MPP970为6763,新版本与5434a等老版本的执行方式有所变化。直接将下载的可执行文件替换旧版,然后用mpirun -np 2 n0 /mpp970_lam_revision i=keyfile.k memory=20m 来进行提交会出现找不到libf77*.a.0文件找不到的错误。新的6763版本还需要与操作平台相对应的share library文件,可以从
ftp://user@ftp.lstc.com/mpp-dyna/MPI_shared_libs
下载已经编译好的library文件,也可以自己下进行编译生成。自已编译生成库文件的方法可以参考如下:
(1) how to create MPI shared libraries and proper MPI environment:
    For example to create MPICH 1.2.6 on EM64t
    (a) using gcc and g77
       ./configure -cc=cc -fc=g77 -fflags=-fno-second-underscore \
                   -device=ch_p4 -comm=ch_p4 --enable-sharedlib  \
                   -opt=-O -prefix=/yourpath/mpich-1.2.6
    (b) using gcc and Intel Fortran compiler
       ./configure -cc=cc -fc=ifc -device=ch_p4 -comm=ch_p4 --enable-sharedlib \
                   -opt=-O -prefix=/yourpath/mpich-1.2.6
    After successfully configure the MPI, you need to compile the MPI source
    to generate all the utilities via
    gmake
    gmake install
    After completion, please change dir to ./lib/shared to check if all
    lib*.so have been created or not.
    Set up the LD_LIBRARY_PATH to include the shared libraries to it
    under C shell
    setenv LD_LIBRARY_PATH /yourpath/mpich-1.2.6/lib/shared:$LD_LIBRARY_PATH
    under B shell
    export LD_LIBRARY_PATH=/yourpath/mpich-1.2.6/lib/shared:$LD_LIBRARY_PATH
上面提到须将share library 的目录加到LD_LIBRARY_PATH环境变量中,但值得注意的是直接在current ENV里执行上面的命令,然后提交计算任务依然还是会出现错误。用$ldd -r mpp970命令也可以看到还是有几个参考的lib文件找不到。
官方release的安装指南里也没有提到更多细节,但从google得到了解释。参考如下文章
http://www.lam-mpi.org/MailArchives/lam/2005/04/10393.php
Michael,
Couple of things to keep in mind.
1. Is the library in your LD_LIBRARY_PATH.
2. Is the LD_LIBRARY_PATH setup in your .files or just in your current ENV?
You need to have the LD_LIBRARY_PATH point to the right location in your .files since the mpp version with use RSH_COMMAND to start a new thread and will not inherit your current ENV.. but create a new ENV based on your .files.
HTH,
Pete.
On Wednesday 20 April 2005 10:40, Evans, Michael wrote:
> I am trying to run the MPP version of LSDYNA (mpp970) on SUN but get the
> following error message: fatal: libsunperf.so.4: open failed: No such file
> or directory. There are 2 copies of the library on the server and at least
> one of them is in my path. Is there a certain version of this library I
> need or am I missing something else?
>
> Michael Evans
> UNIX Administrator
> ArvinMeritor
> Troy Computing Services
>
>
> _______________________________________________
> This list is archived at
http://www.lam-mpi.org/MailArchives/lam/

--
Peter Schmid
看来问题在于mpp970的启动利用rsh的方式,其环境变量不是继承当前的ENV,因此须将export LD_LIBRARY_PATH=/path/to/share/librarys设置在登陆脚本文件里。

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/3225/showart_76134.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP