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