This thread is locked.Only browsing is available.
Top Page > Browsing
running openmx in background
Date: 2007/11/18 15:19
Name: Sumit Saxena

Hi,
How can I run the openmx in background using nohup command.
I tried this command in the directory of the input file
nohup mpirun -np 4 /home/sumit/openmx/openmx3.3/source/openmx Methane.dat | tee met.std &
but doesn't work. the program runs at the front end.

I also tried
nohup mpirun -np 4 /home/sumit/openmx/openmx3.3/source/openmx & Methane.dat | tee met.std
in this case the program doesn't get the input file.

Thanking you in anticipation
Sumit Saxena
メンテ
Page: [1]

Re: running openmx in background ( No.1 )
Date: 2007/11/18 21:19
Name: Vasilii Artyukhov

Perhaps there's a more elegant solution but since this works, it suits me well enough... Try using an '>' instead of '|tee', then Ctrl+Z and the 'bg' command. Also, the actual details depend strongly on your system.
メンテ
Re: running openmx in background ( No.2 )
Date: 2007/11/28 03:35
Name: Sumit Saxena

Hi,
How should I execute it if I have to run it in through a script. because In our cluster we need to submit jobs through script.
メンテ
Re: running openmx in background ( No.3 )
Date: 2007/12/12 21:46
Name: Vasilii Artyukhov  <g-mustah@mail.ru>

Maybe try the nohup command after the mpirun?
メンテ
Re: running openmx in background ( No.4 )
Date: 2007/12/12 12:58
Name: Sumit Saxena

Thanks Vasilii for the suggestion I will try with that as well.
this is what worked finally for our cluster SGE script.
MPIRUN -np $NSLOTS -machinefile $TMPDIR/machines /home/users/students/ss524/openmx/openmx3.3/source/openmx Methane.dat
メンテ

Page: [1]