The easiest solution is to take advantage of the fact that the default hostfile
is an MCA parameter - so you can specify it in several ways other than on the
cmd line. It can be in your environment, in the default MCA parameter file, or
in an MCA param file in your home directory.
See
http://w
Barnet,
This isn't the most straightforward solution, but as a workaround, create a
bash script and run that script through npRmpi? Something like:
!#/bin/bash
openmpi -np 15 -hostfile /path/to/hostfile $1
Cheers,
Ethan
--
Dr. Ethan Deneault
Assistant Professor of Physics
The University of Ta
There have been many postings about openmpi-default-hostfile on the
list, but I haven't found one that answers my question, so I hope you
won't mind one more.
When I use mpirun, openmpi-default-hostfile does not appear to get used.
I've added three lines to the default host file:
node0 slots=
Dear all,
in one of my C codes developed using Open MPI v1.4.3 I need to call
MPI_Allreduce() passing as sendbuf and recvbuf arguments two MPI_PACKED arrays.
The reduction requires my own MPI_User_function that needs to MPI_Unpack() its
first and second argument, process them and finally MPI_P