Hi,
we are using a custom starter method in our SGE to launch our jobs... It
looks something like this:
#!/bin/sh
# ... we do whole bunch of stuff here
#start the job in thus shell
exec "$@"
The trouble is that mpiexec passes a command which looks like this:
( . ./.profile . )
which, how
Hi,
Am 30.11.2009 um 16:33 schrieb Ondrej Glembek:
we are using a custom starter method in our SGE to launch our
jobs... It
looks something like this:
#!/bin/sh
# ... we do whole bunch of stuff here
#start the job in thus shell
exec "$@"
the "$@" should be replaced by the path to the job
Hi, thanx for reply...
I tried to dump the $@ before calling the exec and here it is:
( test ! -r ./.profile || . ./.profile;
PATH=/homes/kazi/glembek/share/openmpi-1.3.3-64/bin:$PATH ; export PATH
;
LD_LIBRARY_PATH=/homes/kazi/glembek/share/openmpi-1.3.3-64/lib:$LD_LIBRARY_PATH
; export LD
Am 30.11.2009 um 18:46 schrieb Ondrej Glembek:
Hi, thanx for reply...
I tried to dump the $@ before calling the exec and here it is:
( test ! -r ./.profile || . ./.profile; PATH=/homes/kazi/glembek/
share/openmpi-1.3.3-64/bin:$PATH ; export PATH ; LD_LIBRARY_PATH=/
homes/kazi/glembek/share/
I definitely compiled the package with --with-sge flag... Here's my
configure log:
./configure --prefix=/homes/kazi/glembek/share/openmpi-1.3.3-64
--with-sge --enable-shared --enable-static --host=x86_64-linux
--build=x86_64-linux NM=x86_64-linux-nm
Just to mention one more interesting thing
Am 30.11.2009 um 20:07 schrieb Ondrej Glembek:
I definitely compiled the package with --with-sge flag... Here's my
configure log:
./configure --prefix=/homes/kazi/glembek/share/openmpi-1.3.3-64 --
with-sge --enable-shared --enable-static --host=x86_64-linux --
build=x86_64-linux NM=x86_64-l
You need to configure and build Open MPI with the --enable-mpi-threads
configure switch. It is off by default. Specifically:
./configure --enable-mpi-threads ...
Note that not all features are supported with --enable-mpi-threads --
see the README file for more details.
On Nov 25, 2009
With a quick glance through your code, it doesn't look like there is
synchronization between the (Tid == NCORES-1) thread and the other
threads. Is that intentional?
On Nov 19, 2009, at 3:03 PM, souvik bhattacherjee wrote:
Hi all,
I'm trying to interleave computation with communication.