Created
February 23, 2023 00:40
-
-
Save hrlai/4e78afc4e5e895ff3cf2dde6fea1dfe6 to your computer and use it in GitHub Desktop.
This file contains 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/bash | |
PATH=/share/apps/R/R-3.6.2/bin/:/share/apps/gcc-8.3/bin:$PATH | |
LD_LIBRARY_PATH=/share/apps/gcc-8.3/lib64:/home/hrl23/lib:$LD_LIBRARY_PATH | |
############################### | |
# SGE settings Here | |
# Basically, if a line starts with "#$", then you can enter any | |
# qsub command line flags . See the qsub(1) man page. | |
# Redirect the STDOUT and STDERR files to the ~/jobs directory | |
# replace username with yours | |
#$ -o /home/username/jobs/ | |
#$ -e /home/username/jobs/ | |
# Specify that this script is in bash | |
#$ -S /bin/bash | |
# Do some validation checking, and bail on errors | |
##$ -w e | |
# Operate in the current directory | |
#$ -cwd | |
# End SGE Settings | |
############################### | |
# put your scripts below | |
# replace filename with yours | |
# append folder name if it is in a subdirectory | |
/share/apps/R/R-3.6.2/bin/Rscript my_script.R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment