| 5 | 1/1 | 返回列表 |
| 查看: 1234 | 回復(fù): 2 | ||
| 當(dāng)前只顯示滿足指定條件的回帖,點擊這里查看本話題的所有回帖 | ||
[求助]
MPI并行出錯,誠心求助~~
|
||
|
為了問題描述,我從最開始來: 1. 程序編譯mpif77 test.f 得到a.out編譯文件 2. 腳本:#!/bin/bash #PBS -l nodes=2:ppn=4 #PBS -l walltime=640:01:00 cd $PBS_O_WORKDIR mpirun ./a.out 最簡單的腳本,要求不高,只要能運行。 3. 我程序中寫明要輸出8個文件,結(jié)果只有進程0輸出文件。 4. 結(jié)果:job_mpitest.e2059這個文件顯示: /etc/profile.d/msi.sh: line 8: /home/msi/Accelrys/LicensePack/etc/lp_profile: Permission denied /etc/profile.d/msi.sh: line 9: /home/msi/Accelrys/MaterialsStudio44/share/license/data/lic_setup.sh: Permission denied MPI Application rank 0 exited before MPI_Init() with status 0 5. 這個程序在別的集群上計算完全可行的,沒問題。可以排除程序問題。 問題: Q1:這個報錯是什么意思?搞不明白 Q2: 是不是這臺集群的MPI有問題?還是我哪里設(shè)置不對? Q3:賬號下面的“.bashrc”文件內(nèi)容是: # .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi export MPI_CC=icc export MPI_F77=ifort export MPI_F90=ifort export MPI_CXX=icpc MPI_ROOT=/opt/hpmpi PATH=${MPI_ROOT}/bin:$PATH MANPATH=${MPI_ROOT}/share/man:$MANPATH LD_LIBRARY_PATH=${MPI_ROOT}/lib/linux_amd64:$LD_LIBRARY_PATH export LM_LICENSE_FILE=${MPI_ROOT}/licenses/license.dat:$LM_LICENSE_FILE export PATH MANPATH LD_LIBRARY_PATH export MPI_REMSH=/usr/bin/ssh 知道的大蝦請幫忙啊~~大量金幣贈送~~ 另外:我拷貝http://www.gaoyang168.com/bbs/viewthread.php?tid=3389790這個帖子的源代碼,然后在我的機子上編譯可以,悲劇的是: [jiang1@node1 yang-2d]$ mpirun -np 4 ./matrix /etc/profile.d/msi.sh: line 8: /home/msi/Accelrys/LicensePack/etc/lp_profile: Permission denied /etc/profile.d/msi.sh: line 9: /home/msi/Accelrys/MaterialsStudio44/share/license/data/lic_setup.sh: Permission denied /etc/profile.d/msi.sh: line 8: /home/msi/Accelrys/LicensePack/etc/lp_profile: Permission denied /etc/profile.d/msi.sh: line 9: /home/msi/Accelrys/MaterialsStudio44/share/license/data/lic_setup.sh: Permission denied /etc/profile.d/msi.sh: line 8: /home/msi/Accelrys/LicensePack/etc/lp_profile: Permission denied /etc/profile.d/msi.sh: line 9: /home/msi/Accelrys/MaterialsStudio44/share/license/data/lic_setup.sh: Permission denied 同樣的問題!求解 [ Last edited by yjhqdm on 2012-9-6 at 19:03 ] |
金蟲 (小有名氣)
金蟲 (小有名氣)
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 291求調(diào)劑 +7 | 孅華 2026-03-22 | 7/350 |
|
|---|---|---|---|---|
|
[考研] 求調(diào)劑 +8 | 張zz111 2026-03-27 | 9/450 |
|
|
[考研] 330一志愿中國海洋大學(xué) 化學(xué)工程 085602 有讀博意愿 求調(diào)劑 +3 | wywy.. 2026-03-27 | 4/200 |
|
|
[考研] 材料292調(diào)劑 +12 | 橘頌思美人 2026-03-23 | 12/600 |
|
|
[考博] 26申博 +3 | 加油沖啊! 2026-03-26 | 3/150 |
|
|
[考研] 269專碩求調(diào)劑 +10 | 金恩貝 2026-03-21 | 10/500 |
|
|
[考研] 一志愿北京化工大學(xué)材料與化工 264分各科過A區(qū)國家線 +10 | 哈哈157349 2026-03-21 | 10/500 |
|
|
[考研] 085601 材料工程 313分 求調(diào)劑 +5 | Ong3 2026-03-27 | 5/250 |
|
|
[考研] 316求調(diào)劑 +5 | Pigcasso 2026-03-24 | 5/250 |
|
|
[考研] 081700 調(diào)劑 267分 +11 | 迷人的哈哈 2026-03-23 | 11/550 |
|
|
[考研] 0856求調(diào)劑 +8 | zhn03 2026-03-25 | 9/450 |
|
|
[考研] 340求調(diào)劑 +5 | 話梅糖111 2026-03-24 | 5/250 |
|
|
[考研]
|
黃粱一夢千年 2026-03-24 | 3/150 |
|
|
[考研] 300求調(diào)劑,材料科學(xué)英一數(shù)二 +5 | leaflight 2026-03-24 | 5/250 |
|
|
[考研] 材料專碩331求調(diào)劑 +4 | 鮮當(dāng)牛 2026-03-24 | 4/200 |
|
|
[考研] 344求調(diào)劑 +3 | desto 2026-03-24 | 3/150 |
|
|
[考研] 材料/農(nóng)業(yè)專業(yè),07/08開頭均可,過線就行 +3 | 呵唔哦豁 2026-03-23 | 4/200 |
|
|
[考研] 315分,誠求調(diào)劑,材料與化工085600 +3 | 13756423260 2026-03-22 | 3/150 |
|
|
[考研] 306求調(diào)劑 +5 | 來好運來來來 2026-03-22 | 5/250 |
|
|
[考研] 考研調(diào)劑 +3 | 呼呼?~+123456 2026-03-21 | 3/150 |
|