Skip to content

Commit e3a2d0b

Browse files
committed
fix bash stuff
1 parent 0a1b79e commit e3a2d0b

5 files changed

Lines changed: 4 additions & 134 deletions

File tree

_includes/setup-grid.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

_includes/setup-local

Lines changed: 0 additions & 129 deletions
This file was deleted.

_includes/submit_workflow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ echo "DESCRIPTION=$DESCRIPTION"
1616
echo "INPUT_TAR_DIR_LOCAL=$INPUT_TAR_DIR_LOCAL"
1717
echo "NAMESPACE=${NAMESPACE}"
1818

19-
if test -e "./${FCL_FILE}";
19+
if test -e "./${FCL_FILE}"; then
2020
echo "---- do the submission ----"
2121
justin simple-workflow \
2222
--mql "$MQL" \

_includes/test_workflow.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# actual submission
2-
#export INPUT_TAR_DIR_LOCAL=`cat cvmfs.location`
2+
# tarball is in a local area on my machine (could also set to cvmfs location
33
export INPUT_TAR_DIR_LOCAL=$DUNEDATA
44
source ./job_config.sh
55

6+
# these are things you need to set ahead of time to run/create metadata - see job_config.sh
67
export NUM_EVENTS=2
78
echo "DIRECTORY=$DIRECTORY"
89
echo "DUNE_VERSION=$DUNE_VERSION"
@@ -18,9 +19,8 @@ echo "INPUT_TAR_DIR_LOCAL=$INPUT_TAR_DIR_LOCAL"
1819

1920
echo "tardir $INPUT_TAR_DIR_LOCAL"
2021
export HERE=$PWD
21-
#echo " go up one directory "
2222

2323
justin-test-jobscript \
2424
--mql "$MQL" \
2525
--jobscript submit_local_code.jobscript.sh --env PROCESS_TYPE=${PROCESS_TYPE} --env DIRECTORY=${DIRECTORY} --env INPUT_TAR_DIR_LOCAL=${INPUT_TAR_DIR_LOCAL} --env DUNE_VERSION=${DUNE_VERSION} --env DUNE_QUALIFIER=${DUNE_QUALIFIER} --env FCL_FILE=${FCL_FILE} --env NUM_EVENTS=${NUM_EVENTS} --env USERF=${USER} --env APP_TAG=${APP_TAG} --env NAMESPACE=${NAMESPACE}
26-
#cd $HERE
26+

files/usefulcode.tar

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)