source: dynamico_lmdz/guided/Data/job_interpolation_camelot.sh @ 4159

Last change on this file since 4159 was 4159, checked in by jisesh, 5 years ago

guided: scripts to generate input data from CAMELOT datasets

File size: 1.4 KB
Line 
1#!/bin/bash
2#PBS -N INTERPOLATION
3#PBS -q day
4#PBS -n
5#PBS -l nodes=1:ppn=8
6#PBS -l walltime=20:30:00
7#PBS -l mem=120gb
8#PBS -l vmem=120gb
9
10#####comment:PBS -l mem=31922327552,ncpus=60
11#Jobs start in the HOME directory, cd to submitted directory
12cd "$PBS_O_WORKDIR"
13
14############################################################
15NCPU=$(wc -l < $PBS_NODEFILE)
16awk "NR % 4 == 0" $PBS_NODEFILE | head -n 40 > nodelist.txt
17
18echo ------------------JOB SUMMARY--------------------------
19echo 'PBS OUT: Job allocated on: '${NCPU}' cpu(s)'
20echo 'PBS OUT: Job running on the following node(s): '
21cat nodelist.txt
22echo -------------------------------------------------------
23echo PBS OUT: Job running on: $PBS_O_HOST
24echo PBS OUT: Originating queue: $PBS_O_QUEUE
25echo PBS OUT: Executing queue: $PBS_QUEUE
26echo PBS OUT: Work directory: $PBS_O_WORKDIR
27echo PBS OUT: Execution mode: $PBS_ENVIRONMENT
28echo PBS OUT: Job identifier: $PBS_JOBID
29echo PBS OUT: Job name: $PBS_JOBNAME
30echo PBS OUT: Node file: $PBS_NODEFILE
31echo PBS OUT: Current home directory: $PBS_O_HOME
32echo PBS OUT: PATH= $PBS_O_PATH
33echo -------------------------------------------------------
34
35
36export OMP_NUM_THREADS=1
37export OMP_STACKSIZE=128M
38ulimit -s unlimited
39
40module load python/2.7-anaconda50
41python vertical_interpolation_camelot.py >> vertical_interpolation.log
42#mpirun -np 40 -cpus-per-proc $OMP_NUM_THREADS -bycore -bind-to-core -report-bindings ./gcm.exe >> gcm.log
43#gdb ./gcm.exe >> gcm.log
44
45
46
Note: See TracBrowser for help on using the repository browser.