June-20-1997 V.Rud (MSU) 0) To use ALL examples below first of all do following: setup -d selex_tools # access to 'get_for_batch' 1) To submit job to fbatch into NON-disk queue from fsgi03 computer to process files on our local disk /usr/e781/data0*/ do following: fbatch_sub -q 4hr -R fsgi03 run_my_batch 2) To submit job to fbatch into any '*_disk' queue from NON fsgi03 computer (fsgi01, for example) do following: fbatch_sub -q 4hr_disk -R irix run_my_batch where 'run_my_batch': ______________________________________ #!/bin/sh # exec_host=`uname -n` echo Exec_host is $exec_host # Make setup available internally: if [ -r /usr/local/etc/setups.sh ]; then . /usr/local/etc/setups.sh echo Setup installed fi export PRODUCTS; PRODUCTS="/usr/e781/data03/products/ups_database/declared /afs/fnal.gov/files/home/room2/e781/products/ups_database/declared /afs/fnal.gov/ups/db" if [ "$exec_host" != "fsgi03" ]; then # To use AFS version of products: PRODUCTS="/afs/fnal.gov/files/home/room2/e781/products/ups_database/declared /afs/fnal/products/ups_database/declared" export PRODUCTS # Setup AFS version of off781: setup -z /afs/fnal.gov/files/home/room2/e781/products/ups_database/declared/ -d off781 fi printenv PRODUCTS # # Setup fmss: # setup fmss # # Setup selex_tools: # setup -d selex_tools # access to 'get_for_batch' env|grep PROD env|grep TOOL env|grep OFF # # USER dependent part: # get_for_batch -t charm -run 8915_002:7 soap.exe -f my.cmd ______________________________________ 3) To submit job to fbatch into any '*_disk' queue # 'e781_disk' from fsgi03 computer do following: unsetup off781 fbatch_sub -q 4hr_disk -R irix run_my_batch 4) To submit job to fbatch into 'e781_disk' queue from fsgi03 computer do following: fbatch_sub -q e781_disk -R fsgi03 run_my_batch ____________________________________________________________________ Last updated on Aug 24, 1999