12 lines
377 B
Bash
Executable File
12 lines
377 B
Bash
Executable File
#!/bin/bash
|
|
set -o nounset
|
|
|
|
SING_EXEC="singularity exec --pwd /opt/ExtensionCrawler -B $TMPDIR:/tmp $SING_IMG"
|
|
|
|
printenv
|
|
echo "The following parameter were passed: $*"
|
|
echo "Printing the content of $ARCHIVE to force mounting:"
|
|
ls "$ARCHIVE"
|
|
|
|
/usr/bin/time $SING_EXEC ./grepper -t 1 -a "$ARCHIVE" -n $SGE_TASK_ID -N $MAX_SGE_TASK_ID $* | bzip2 > "$BASEDIR/out/$SGE_TASK_ID.bz2"
|