Skip to content

Commit

Permalink
Go to application directory for pbsdsh batch mode
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ftessier committed Jan 24, 2017
1 parent 6a2b9c2 commit 8a8210f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions HEN_HOUSE/scripts/run_user_code_batch
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF
#!/bin/sh
#PBS -l procs=$n_parallel
Expand Down

0 comments on commit 8a8210f

Please sign in to comment.