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_", ...@@ -277,8 +277,8 @@ def launch_nersc (pipe, n, ppn=1, port=50000, authkey='secret', job_name="job_",
##PBS -l mppwidth=%d ##PBS -l mppwidth=%d
##PBS -l walltime=%s ##PBS -l walltime=%s
#export CRAY_ROOTFS=DSL #export CRAY_ROOTFS=DSL
#echo "export PIPELETD_HOST=$HOSTNAME" > ~/host_info.sh #echo "export PIPELETD_HOST=$HOST" > ~/host_info.sh
#pipeletd -n -l %d -p %d -a $HOSTNAME << 'EOF' & #pipeletd -n -l %d -p %d -a $HOST << 'EOF' &
#%s #%s
#EOF #EOF
#sleep 5 #sleep 5
...@@ -288,12 +288,12 @@ def launch_nersc (pipe, n, ppn=1, port=50000, authkey='secret', job_name="job_", ...@@ -288,12 +288,12 @@ def launch_nersc (pipe, n, ppn=1, port=50000, authkey='secret', job_name="job_",
server_file=job_header+""" server_file=job_header+"""
#PBS -l walltime=%s #PBS -l walltime=%s
export CRAY_ROOTFS=DSL export CRAY_ROOTFS=DSL
echo "export PIPELETD_HOST=$HOSTNAME" > ~/host_info.sh echo "export PIPELETD_HOST=$HOST" > ~/host_info.sh
pipeletd -n -l %d -p %d -a $HOSTNAME << 'EOF' & pipeletd -n -l %d -p %d -a $HOST << 'EOF' &
%s %s
EOF EOF
sleep 5 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 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