-
-
Save informationsea/6199729 to your computer and use it in GitHub Desktop.
tar for GridEngine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#$ -S /bin/sh | |
#$ -cwd | |
if [ "$JOB_ID" ];then # in grid engine | |
tar "$@" | |
else | |
qsub -N "qtar-`basename $PWD`" -l s_vmem=0.5G,mem_req=0.5 $0 "$@" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment