Re: [OMPI users] Trouble with SGE integration

2009-12-01 Thread Ondrej Glembek
Hi We have solved the problem by rewriting the starter.sh... The script remained the same except for the very final part where command is executed... Instead of plain exec "$@", we replaced it by: == #need for exec to fail on non-script jobs shopt -s execfail #start the job in thus shell

Re: [OMPI users] Trouble with SGE integration

2009-12-01 Thread Reuti
Am 01.12.2009 um 10:32 schrieb Ondrej Glembek: Just to add more info: Reuti wrote: Am 30.11.2009 um 20:07 schrieb Ondrej Glembek: But I think the real problem is, that Open MPI assumes you are outside of SGE and so uses a different startup. Are you resetting any of SGE's environment vari

Re: [OMPI users] Trouble with SGE integration

2009-12-01 Thread Reuti
Hi, Am 01.12.2009 um 10:00 schrieb Ondrej Glembek: Reuti wrote: ./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 Is there any list of valid values for --host, --build and NM

Re: [OMPI users] Trouble with SGE integration

2009-12-01 Thread Ondrej Glembek
Just to add more info: Reuti wrote: > Am 30.11.2009 um 20:07 schrieb Ondrej Glembek: > > But I think the real problem is, that Open MPI assumes you are outside > of SGE and so uses a different startup. Are you resetting any of SGE's > environment variables in your custom starter method (like $JOB

Re: [OMPI users] Trouble with SGE integration

2009-12-01 Thread Ondrej Glembek
Hi Reuti wrote: >> >> ./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 > > Is there any list of valid values for --host, --build and NM - and what > is NM for? From the ./co

Re: [OMPI users] Trouble with SGE integration

2009-11-30 Thread Reuti
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

Re: [OMPI users] Trouble with SGE integration

2009-11-30 Thread 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-linux-nm Just to mention one more interesting thing

Re: [OMPI users] Trouble with SGE integration

2009-11-30 Thread Reuti
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/

Re: [OMPI users] Trouble with SGE integration

2009-11-30 Thread 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/openmpi-1.3.3-64/lib:$LD_LIBRARY_PATH ; export LD

Re: [OMPI users] Trouble with SGE integration

2009-11-30 Thread Reuti
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