-
Notifications
You must be signed in to change notification settings - Fork 0
/
hilbert.job
executable file
·57 lines (46 loc) · 1.73 KB
/
hilbert.job
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
###########################
## #
## The PBS directives #
## #
###########################
# Set the name of the job
#PBS -N masnavi
# Specify the maximum wall clock time. The wall
# clock time should take possible queue waiting time into
# account. Format: hhhh:mm:ss hours:minutes:seconds
# Be sure to specify a reasonable value here.
# If the job does not finish by the time reached,
# the job is terminated.
#PBS -l walltime=48:00:00
# Send mail when job is aborted
#PBS -m abe
#PBS -M p.modaresi@gmx.de
# Manage resources
#PBS -l select=1:mem=10gb:ngpus=1
#PBS -A AGENT
##########################################
# #
# Output some useful job information. #
# #
##########################################
echo ------------------------------------------------------
echo -n 'Job is running on node '; cat $PBS_NODEFILE
echo ------------------------------------------------------
echo PBS: qsub is running on $PBS_O_HOST
echo PBS: originating queue is $PBS_O_QUEUE
echo PBS: executing queue is $PBS_QUEUE
echo PBS: working directory is $PBS_O_WORKDIR
echo PBS: execution mode is $PBS_ENVIRONMENT
echo PBS: job identifier is $PBS_JOBID
echo PBS: job name is $PBS_JOBNAME
echo PBS: node file is $PBS_NODEFILE
echo PBS: current home directory is $PBS_O_HOME
echo PBS: PATH = $PBS_O_PATH
echo ------------------------------------------------------
module load CUDA
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/pamod100/lib
export PYTHONPATH=$PYTHONPATH:~/miniconda2/bin/python
###### EXECUTION ######
theano-cache clear
THEANO_FLAGS=device=gpu0,floatX=float32 python /home/pamod100/src/masnavi/masnavi/train.py