Created
May 21, 2017 19:12
-
-
Save jklymak/e5f2e43763ddd096e86171ff4f93c964 to your computer and use it in GitHub Desktop.
python pbs script. This is just an outline. It works fine, so maybe a nice way to do PBS scripts.
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
#!/u/home/jklymak/miniconda2/bin/python | |
#PBS -m be | |
#PBS -M jklymak@gmail.com | |
#PBS -l select=1:ncpus=1 | |
#PBS -l walltime=00:00:10 | |
#PBS -q transfer | |
#PBS -A XXXXXXXXXXX | |
#PBS -j oe | |
#PBS -N Test | |
import glob,os | |
os.chdir(os.environ['PBS_O_WORKDIR']) | |
print('Hi') | |
a = glob.glob('*.py') | |
print(a) | |
print(os.environ) | |
parent='Test' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment