call bash function with bsub lsf within bash script
I have a bash function i would like to bsub. It seems to recursively be
calling because i'm doing something incorrectly with my bsub command. How
do I correctly call beside on a function within the same script file?
my_script(should print "12345"):
#! /bin/sh
function myFunct {
echo $1
}
bsub -q myQueue "source ./my_script; myFunct 12345"
No comments:
Post a Comment