Commit b385155c authored by Carl Schreck's avatar Carl Schreck
Browse files

add prompt_prefix to bsub_intv

parent bcb58652
......@@ -24,9 +24,9 @@ done
exec_host=`bjobs -w | grep $job_name | awk '{ print $6 }' | cut -f1 -d":"`
echo $exec_host
if [ "$exec_host" == "c44" ]; then
ssh -p 2222 -Y $exec_host -t " cd $curr_dir; bash --login;"
ssh -p 2222 -Y $exec_host -t " cd $curr_dir; export PROMPT_PREFIX=$PROMPT_PREFIX; bash --login;"
else
ssh -Y $exec_host -t " cd $curr_dir; bash --login;"
ssh -Y $exec_host -t " cd $curr_dir; export PROMPT_PREFIX=$PROMPT_PREFIX; bash --login;"
fi
bkill -J $job_name
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