Skip to content

Commit

Permalink
check which repo is used and load the right module
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Apr 25, 2024
1 parent 30b79d7 commit 275853a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Bioconductor/run.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
set -e

module load R-bundle-Bioconductor/3.11-foss-2020a-R-4.0.0
if [[ $EESSI_CVMFS_REPO == "/cvmfs/software.eessi.io" ]] && [[ $EESSI_VERSION == "2023.06" ]]; then module load R-bundle-Bioconductor/3.16-foss-2022b-R-4.2.2
elif [[ $EESSI_CVMFS_REPO == "/cvmfs/pilot.eessi-hpc.org" ]] && [[ $EESSI_PILOT_VERSION == "2021.12" ]]; then module load R-bundle-Bioconductor/3.11-foss-2020a-R-4.0.0
else echo "Don't know which Bioconductor module to load for ${EESSI_CVMFS_REPO}/versions/${EESSI_VERSION}$EESSI_PILOT_VERSION" >&2; exit 1
fi

time Rscript dna.R

0 comments on commit 275853a

Please sign in to comment.