how can name compiler wrapper in open mpi suffix of .openmpi? want mpicc.openmpi , mpirun.openmpi.
in open mpi, compiler wrappers same executable opal_wrapper symlinked under different names. renaming symlinks not enough - have rename wrapper configuration files. if opal_wrapper symlinked progname, looks configuration file named progname-wrapper-data.txt in <install_base>/share/openmpi/ directory, <install_base> base directory of open mpi installation (usually /usr if open mpi comes package or /usr/local if compiled source). i.e. renaming mpicc mpicc.openmpi require rename mpicc-wrapper-data.txt mpicc.openmpi-wrapper-data.txt.
open mpi's mpirun symlink orterun. renaming symlink should enough.
be cautious though - if have installed open mpi package, renaming files might fool package manager thinking package not installed , might try "fix" it.
Comments
Post a Comment