Re: [OMPI users] Default hostfile not being used by mpirun

2011-02-09 Thread Jeff Squyres
You may have mentioned this in a prior mail, but what version are you using? I tested and am unable to replicate your problem -- my openmpi-mca-params.conf file is always read. Double check the value of your mca_param_files MCA parameter: shell$ ompi_info --param mca param_files Mine comes out

Re: [OMPI users] Default hostfile not being used by mpirun

2011-02-06 Thread Barnet Wagman
Setting the orte_default_hostfile param in *$HOME/.openmpi/mca-params.conf* works (with $HOME set, of course), but for some reason setting it in the system conf file, *$prefix/etc/openmpi-mca-params.conf* does not. Using 'ompi_info --param ...', it appear that the the system conf file

Re: [OMPI users] Default hostfile not being used by mpirun

2011-02-06 Thread Barnet Wagman
Setting the orte_default_hostfile param in *$HOME/.openmpi/mca-params.conf* works (with $HOME set, of course), but for some reason setting it in the system conf file, *$prefix/etc/openmpi-mca-params.conf* does not. Using 'ompi_info --param ...', it appear that the the system conf file

Re: [OMPI users] Default hostfile not being used by mpirun

2011-02-05 Thread Ralph Castain
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

Re: [OMPI users] Default hostfile not being used by mpirun

2011-02-05 Thread ETHAN DENEAULT
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

[OMPI users] Default hostfile not being used by mpirun

2011-02-05 Thread Barnet Wagman
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=