English 中文(简体)
screen
原标题:screen with mpirun
  • 时间:2011-09-13 13:37:01
  •  标签:
  • screen
  • mpi

MPI 罚款:

$ mpirun -np 2 -H compute-0-0,compute-0-1 echo 1
1
1

然而,在通过屏幕发射时并不奏效:

$ rm -f screenlog.*
$ screen -L mpirun -np 2 -H compute-0-0,compute-0-1 echo 1
[screen is terminating]
$ cat screenlog.0 
mpirun: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory

这无助于:

$ rm -f screenlog.*
$ screen -L `which mpirun` -xLD_LIBRARY_PATH -np 2 -H compute-0-0,compute-0-1 echo 1
[screen is terminating]
$ cat screenlog.0 
/share/apps/intel/openmpi/bin/mpirun: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
最佳回答

(岩石组群吗?)

Apparently you re not getting the right $LD_LIBRARY_PATH for some reason.

这不是一个非常干净的解决办法,但应当努力:

$ screen -L env LD_LIBRARY_PATH=$LD_LIBRARY_PATH mpirun -np 2 
  -H compute-0-0,compute-0-1 echo 1

I假设你试图与-xLD_LIBRaire_PATH选项做些什么,但我看不到在 rel=“nofollow”的号文件。 我找到了

这符合你试图采用的<代码>-xLD_LIBRaire_PATH备选办法,但这只是要提高<代码>的价值。 LD_LIBRaire_PATH from within the process cited by een/code> (并转至<代码>echo 1的指令)。 到那时,时间太晚。 另外,man page 建议应当有空间:-x LD_LIBRaire_PATH;我不知道是否需要。

您是否为获取环境做了一些文字(包括:$LD_LIBRaire_PATH)? 它是自动来源于你开始的标志,还是人工投放吗? 你可能想写出一份小的包裹,提出编造稿,然后援引具体指挥。 类似(未测试):

#!/bin/sh
. /share/apps/intel/openmpi/etc/setup.sh # probably not the right name
exec "$@"

除此条外,您可使用:

$ screen -L mpienv.sh mpirun -np 2 -H compute-0-0,compute-0-1 echo 1
问题回答

暂无回答




相关问题
From OpenMP to MPI

I just wonder how to convert the following openMP program to a MPI program #include <omp.h> #define CHUNKSIZE 100 #define N 1000 int main (int argc, char *argv[]) { int i, ...

Test MPI_Barrier C++

How can I be sure that MPI_Barrier act correctly? What s the method of test for that? Thank you

MPI Barrier C++

I want to use MPI (MPICH2) on windows. I write this command: MPI_Barrier(MPI_COMM_WORLD); And I expect it blocks all Processors until all group members have called it. But it is not happen. I add ...

MPI buffered send/receive order

I m using MPI (with fortran but the question is more specific to the MPI standard than any given language), and specifically using the buffered send/receive functions isend and irecv. Now if we ...

Mpi usage in Windows

I installed mpi into windows and I can use its libraries. The problem is that in windows when I write mpiexec -n 4 proj.exe into command prompt it does not make the proper operations. 4 different ...

shared memory, MPI and queuing systems

My unix/windows C++ app is already parallelized using MPI: the job is splitted in N cpus and each chunk is executed in parallel, quite efficient, very good speed scaling, the job is done right. But ...

GCC performance

I am doing parallel programming with MPI on Beowulf cluster. We wrote parallel algorithm for simulated annealing. It works fine. We expect 15 time faster execution than with serial code. But we did ...

热门标签