On Mar 2, 2009, at 8:41 AM, Jeff Squyres wrote:
On Mar 2, 2009, at 4:02 AM, Nicolas Deladerriere wrote:
> I think you missed Matt's point -- he was suggesting writing a
single script that just reacts accordingly to which host it is on
and sets > the environment variable before launching yo
On Mar 2, 2009, at 4:02 AM, Nicolas Deladerriere wrote:
> I think you missed Matt's point -- he was suggesting writing a
single script that just reacts accordingly to which host it is on
and sets > the environment variable before launching your back-end
MPI executable.
I got it, but I wou
Hi
I don't understand why it is a problem to copy a single script to your nodes -
wouldn't the following shell-script work?
#!/bin/sh
for num in `seq 128`
do
scp new_script username@host_$num:path/to/workdir/
done
jody
On Mon, Mar 2, 2009 at 10:02 AM, Nicolas Deladerriere
wrote:
>>
> I think you missed Matt's point -- he was suggesting writing a single
script that just reacts accordingly to which host it is on and sets > the
environment variable before launching your back-end MPI executable.
I got it, but I would like to be able to do it without creating/copying new
script o
I think you missed Matt's point -- he was suggesting writing a single
script that just reacts accordingly to which host it is on and sets
the environment variable before launching your back-end MPI
executable. Specifically, instead of:
mpirun ... my_mpi_app
you would do
mpirun ... script
perhaps you could use the Open-MPI environment variables
OMPI_COMM_WORLD_RANK
OMPI_COMM_WORLD_LOCAL_RANK
to construct your own environment variables?
(for versions >= 1.3)
Jody
On Fri, Feb 27, 2009 at 8:36 PM, Nicolas Deladerriere
wrote:
> Matt,
>
> Thanks for your solution, but I thought abou
Matt,
Thanks for your solution, but I thought about that and it is not really
convenient in my configuration to change the executable on each node.
I would like to change only mpirun command.
2009/2/27 Matt Hughes
>
> 2009/2/27 Nicolas Deladerriere :
> > I am looking for a way to set environm
2009/2/27 Nicolas Deladerriere :
> I am looking for a way to set environment variable with different value on
> each node before running MPI executable. (not only export the environment
> variable !)
I typically use a script for things like this. So instead of
specifying your executable directly