Project

General

Profile

Download (1.1 KB) Statistics
| Branch: | Revision:
1

    
2
#PBS -S /bin/bash
3
#PBS -l select=1:ncpus=16:model=san
4
###PBS -l select=4:ncpus=8:model=neh
5
##PBS -l select=1:ncpus=12:model=wes
6
####### old: select=48:ncpus=8:mpiprocs=8:model=neh
7
#PBS -l walltime=2:00:00
8
#PBS -j oe
9
#PBS -m e
10
#PBS -V
11
####PBS -W group_list=s1007
12
#PBS -q devel
13
#PBS -o log/log_^array_index^
14
#PBS -o log/log_DataCompile
15
#PBS -M adam.wilson@yale.edu
16
#PBS -N MOD06
17

    
18
#source /usr/share/modules/init/bash
19

    
20
## cd to working directory
21
cd /nobackupp1/awilso10/mod06
22

    
23
## set some memory limits
24
#  ulimit -d 1500000 -m 1500000 -v 1500000  #limit memory usage
25
  source /u/awilso10/.bashrc
26
  source /usr/local/lib/global.profile
27
## export a few important variables
28
  export NCORES=16  # use to limit mclapply() to set nubmer of cores, should be select*ncpus above
29
  export R_LIBS="/u/awilso10/R/x86_64-unknown-linux-gnu-library/2.15/"
30
## load modules
31
  module load gcc hdf4 udunits R nco mpi-intel #mpi-sgi/mpt.2.06r6
32
## Run the script!
33
## current version not parallelizing across nodes!
34
  TMPDIR=$TMPDIR Rscript --verbose --vanilla /u/awilso10/environmental-layers/climate/procedures/MOD06_L2_process.r 
35
exit 0
36
exit 0
37

    
(15-15/27)