From 8a8210f34960cf5b6fd3d153302696d1b08a1aed Mon Sep 17 00:00:00 2001 From: Frederic Tessier Date: Fri, 2 Sep 2016 17:49:23 -0400 Subject: [PATCH] Go to application directory for pbsdsh batch mode Go to the application directory before invoking PBS distributed shell (pbsdsh) parallel runs, so that they can be launched from any location, in particular from the home directory when submitting jobs remotely via ssh. --- HEN_HOUSE/scripts/run_user_code_batch | 1 + 1 file changed, 1 insertion(+) diff --git a/HEN_HOUSE/scripts/run_user_code_batch b/HEN_HOUSE/scripts/run_user_code_batch index bafeeb99d..0a81606ab 100755 --- a/HEN_HOUSE/scripts/run_user_code_batch +++ b/HEN_HOUSE/scripts/run_user_code_batch @@ -399,6 +399,7 @@ if test $egs_batch_system = "pbsdsh"; then fi # submit the following stdin script to qsub, which will invoke the run_pbsdsh_task script + cd $egs_home/$user_code $batch_command $batch_options $queue $other_args <