Commit 899d659d authored by Maude Le Jeune's avatar Maude Le Jeune
Browse files

run on edison

parent 69275c0d
......@@ -277,8 +277,8 @@ def launch_nersc (pipe, n, ppn=1, port=50000, authkey='secret', job_name="job_",
##PBS -l mppwidth=%d
##PBS -l walltime=%s
#export CRAY_ROOTFS=DSL
#echo "export PIPELETD_HOST=$HOSTNAME" > ~/host_info.sh
#pipeletd -n -l %d -p %d -a $HOSTNAME << 'EOF' &
#echo "export PIPELETD_HOST=$HOST" > ~/host_info.sh
#pipeletd -n -l %d -p %d -a $HOST << 'EOF' &
#%s
#EOF
#sleep 5
......@@ -288,12 +288,12 @@ def launch_nersc (pipe, n, ppn=1, port=50000, authkey='secret', job_name="job_",
server_file=job_header+"""
#PBS -l walltime=%s
export CRAY_ROOTFS=DSL
echo "export PIPELETD_HOST=$HOSTNAME" > ~/host_info.sh
pipeletd -n -l %d -p %d -a $HOSTNAME << 'EOF' &
echo "export PIPELETD_HOST=$HOST" > ~/host_info.sh
pipeletd -n -l %d -p %d -a $HOST << 'EOF' &
%s
EOF
sleep 5
mpirun -np %d python $PIPELETPATH/launchers.py -p %d -s %s -l %s -H $HOSTNAME
aprun -n %d python $PIPELETPATH/launchers.py -p %d -s %s -l %s -H $HOST
"""
nnode=n/ppn
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment