annotate bin/sing @ 3:6c772ae7fce2

for 2026
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 20 May 2026 16:51:56 +0100
parents 345f8b12fd2f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
345f8b12fd2f mostly quite old
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1 #!/bin/bash
345f8b12fd2f mostly quite old
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
2 # For running in HST's environment for common crawl projects
345f8b12fd2f mostly quite old
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
3 if [ ! -x /usr/bin/singularity ]
345f8b12fd2f mostly quite old
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
4 then
345f8b12fd2f mostly quite old
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
5 module load singularity
345f8b12fd2f mostly quite old
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
6 fi
345f8b12fd2f mostly quite old
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
7 singularity run -B /work/dc007 /work/dc007/dc007/shared/cc "$@"