I'm trying to start a run of LAMMPS (which takes an input file) with mpiexec on multiple processors. I want to combine this with nohup so that I can log off the node. I've used the syntax below successfully on one cluster, but it doesn't work on the new one I'm using. Any suggestions would be helpful.
First, I have a script:
Now, I call that script with nohup via:
This starts the lammps job just fine, on 8 processors. However, when logging out of the node, the jobs die. Checking the nohup.out, I get the final line:
"mpiexec noticed that process rank 1 with PID 37372 on node whatever exited on signal 1 (Hangup)."
Isn't that what nohup is supposed to be preventing? I've seen the redirecting to /dev/null thing mentioned around the web, but I'm either using it wrong, or it's ineffective. Help!?!
Last edited by vbe; 04-13-2010 at 01:48 PM..
Reason: code tags...
Hi, guys !
I need some expert help on following problem:
When trying to restore content of a machine using another backup machine using Ufsdump/Ufsrestore, it worked on /local1, but when attemting to do the same on /local2,/local3 and /local4, I get permission problems.
Running superuser does... (9 Replies)
Hi all,
I have one script test.sh for which I pass two arguments. In the same script I need to submit this script in background using nohup. My script like this and it is working in HP-UX os but not Solaris.
#! /bin/sh
if
then
MTR_PID=$$
export MTR_PID
echo "test.sh $1 $2... (3 Replies)
when i have a function definition and function call in my script , i am unable to run my script in background with nohup..
Help me out please..... (3 Replies)
I need a script to to instert the following line into my postfix master.cf file:
flags=Rq user=filter argv=/etc/postfix/disclaimer -f ${sender} -- ${recipient}if I use echo I get the line truncated:
:~ echo flags=Rq user=filter argv=/etc/postfix/disclaimer -f ${sender} -- ${recipient}... (3 Replies)
Hello,
I am trying to find a way to send several sequential commands via SSH to a remote box in a single command.
Thoughts so far:
1) Can I put them into a function and call the function within the ssh command?
e.g.
ssh <targetserver> $(functionx)
No - then it calls the function in... (4 Replies)
I've moved a physical server over to VMWare ESXi 5.1 using SCO 6.0 with MP4. For whatever reason, people are occasionally getting kicked out or are closing out their telnet session and it is leaving their processes running. When this happens, the sar %idle drops from 98-95% down to 25-20%. ... (1 Reply)
Shell : bash
OS : Oracle Linux 6.4
I want to save the ouput of a nohup command to file other than nohup.out . Below are my 3 attempts.
For both Attempt1 and Attempt2 , the redirection logs the output correctly to the output file. But I get the error "ignoring input and redirecting stderr to... (7 Replies)
Hi,
I am running nohup cp & in a shell script.
How do I get a timestamp so I can get a timing of how long the copy took?
Roughly, the script does something like below:
date
nohup cp -rp /files/source /files/target &
date
I am mainly wanting to know how long it took for the... (9 Replies)
For years I have spawned shell scripts with nohup and ampersand and they run whether or not I stay logged in. Recently a client told us that we had to set a keep alive timeout on all of our Redhat 7.6 Linux servers. Our sysadmin set the following parameters in the sshd_config file on all of our... (10 Replies)
Discussion started by: gandolf989
10 Replies
LEARN ABOUT SUSE
ipcluster
IPCLUSTER(1)IPCLUSTER(1)NAME
ipcluster - IPython parallel computing cluster control tool
SYNOPSIS
ipcluster {piexec,local,mpirun,pbs,ssh} [options]
DESCRIPTION
ipcluster is a control tool for IPython's parallel computing functions.
IPython cluster startup. This starts a controller and engines using various approaches. Use the IPYTHONDIR environment variable to change
your IPython directory from the default of .ipython or _ipython. The log and security subdirectories of your IPython directory will be used
by this script for log files and security files.
POSITIONAL ARGUMENTS
The first positional argument should be one of: {mpiexec, local, mpirun, pbs, ssh}, which are the available cluster types.
For detailed help on each, type "ipcluster TYPE --help". Briefly:
local run a local cluster
mpirun run a cluster using mpirun (mpiexec also works)
mpiexec run a cluster using mpiexec (mpirun also works)
pbs run a pbs cluster
ssh run a cluster using ssh, should have ssh-keys setup
OPTIONS -h, --help
show help message and exit
EXAMPLE
ipcluster local -n 4
This command will start 4 IPython engines on the local computer.
SEE ALSO ipython(1),ipcontroller(1),ipengine(1)AUTHOR
ipcluster is a tool that ships with IPython, created by the IPython Development Team.
This manual page was written by Stephan Peijnik <debian@sp.or.at>, for the Debian project (but may be used by others). Modified by Fer-
nando Perez <Fernando.Perez@berkeley.edu> for inclusion in IPython.
October 28, 2008 IPCLUSTER(1)