2017-08-23 17:04:33 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -o nounset
|
|
|
|
|
2017-09-20 10:37:57 +00:00
|
|
|
SING_EXEC="singularity exec --pwd /opt/ExtensionCrawler -B $TMPDIR:/tmp $SING_IMG"
|
2017-08-23 22:23:21 +00:00
|
|
|
|
2017-09-20 10:37:57 +00:00
|
|
|
printenv
|
2017-09-02 16:52:51 +00:00
|
|
|
echo "The following parameter were passed: $*"
|
2017-09-20 10:37:57 +00:00
|
|
|
echo "Printing the content of $ARCHIVE to force mounting:"
|
|
|
|
ls "$ARCHIVE"
|
2017-09-02 16:52:51 +00:00
|
|
|
|
2017-09-20 16:13:52 +00:00
|
|
|
/usr/bin/time $SING_EXEC ./create-db -t 1 -a "$ARCHIVE" -n $SGE_TASK_ID -N $MAX_SGE_TASK_ID $*
|