Skip to content

Commit

Permalink
Temporary fix for EveryBeam data directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Frits Sweijen committed Aug 10, 2023
1 parent 5ec1b3d commit 8fd0b5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runners/run_LINC_calibrator_singularity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,14 @@ if [[ "$CONTAINERSTR" == *"apptainer"* ]]; then
export APPTAINERENV_LOGSDIR=$WORKDIR/logs_LINC_calibrator/
export APPTAINERENV_TMPDIR=$WORKDIR/tmpdir_LINC_calibrator/
export APPTAINERENV_PREPEND_PATH=$LINC_DATA_ROOT/scripts
export APPTAINERENV_EVERYBEAM_DATADIR=/opt/lofar/EveryBeam/share/everybeam/
else
export SINGULARITYENV_LINC_DATA_ROOT=$LINC_DATA_ROOT
export SINGULARITYENV_RESULTSDIR=$WORKDIR/results_LINC_calibrator/
export SINGULARITYENV_LOGSDIR=$WORKDIR/logs_LINC_calibrator/
export SINGULARITYENV_TMPDIR=$WORKDIR/tmpdir_LINC_calibrator/
export SINGULARITYENV_PREPEND_PATH=$LINC_DATA_ROOT/scripts
export SINGULARITYENV_EVERYBEAM_DATADIR=/opt/lofar/EveryBeam/share/everybeam/
fi

mkdir -p $RESULTSDIR
Expand Down
2 changes: 2 additions & 0 deletions runners/run_LINC_target_singularity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,14 @@ if [[ "$CONTAINERSTR" == *"apptainer"* ]]; then
export APPTAINERENV_LOGSDIR=$WORKDIR/logs_LINC_calibrator/
export APPTAINERENV_TMPDIR=$WORKDIR/tmpdir_LINC_calibrator/
export APPTAINERENV_PREPEND_PATH=$LINC_DATA_ROOT/scripts
export APPTAINERENV_EVERYBEAM_DATADIR=/opt/lofar/EveryBeam/share/everybeam/
else
export SINGULARITYENV_LINC_DATA_ROOT=$LINC_DATA_ROOT
export SINGULARITYENV_RESULTSDIR=$WORKDIR/results_LINC_calibrator/
export SINGULARITYENV_LOGSDIR=$WORKDIR/logs_LINC_calibrator/
export SINGULARITYENV_TMPDIR=$WORKDIR/tmpdir_LINC_calibrator/
export SINGULARITYENV_PREPEND_PATH=$LINC_DATA_ROOT/scripts
export SINGULARITYENV_EVERYBEAM_DATADIR=/opt/lofar/EveryBeam/share/everybeam/
fi

mkdir -p $RESULTSDIR
Expand Down

0 comments on commit 8fd0b5b

Please sign in to comment.