openmpi - Open MPI + Scalasca :Can not run mpirun command with option --prefix -
i have installed scalasca(scorep,cube,..)with open mpi peformance measurement . when add option : " --prefix = /my-path" mpirun, "scalasca - analyze" can not executed ( aborted ) .
command :
scalasca -analyze mpirun -np 1 --host localhost --prefix /home/as/lib/bin /home/as/documents/a.out
"/home/as/lib" installed open mpi directory.
, error :
s=c=a=n: abort: target executable/home/as/lib/bin' directory!`
if without "--prefix" , runs .but need "-- prefix" option run on cluster.
have installed open mpi on of cluster machines same path (/home/as/lib) .
how fix it???
open mpi adds implicit --prefix option if orterun (or of symlinks mpirun, mpiexec, etc.) called full path. in other words:
$ /home/as/lib/bin/mpirun ... is equivalent to:
$ mpirun --prefix /home/as/lib ... if really need pass --prefix option, e.g. because open mpi installed on cluster nodes in different directory on front-end node, quote entire parameter:
$ scalasca -a mpirun -np 1 --host localhost "--prefix /home/as/lib" /path/to/execuable the same applies other parameter mpirun. quote them all, on safe side:
$ scalasca -a mpirun "-np 1" "--host localhost" "--prefix /home/as/lib" /path/to/execuable hint: when building own version of open mpi, --enable-orterun-prefix-by-default. way --prefix added automatically when orterun/mpirun/mpiexec not called full path it. also, --enable-wrapper-rpath choice of build option, prevent clashes other versions of library.
Comments
Post a Comment