source: lmdz_wrf/trunk/tools/copy.pbs @ 1387

Last change on this file since 1387 was 453, checked in by lfita, 9 years ago

Fixing type

File size: 825 bytes
Line 
1#!/bin/sh
2
3## Job Name
4#PBS -N copy
5
6## Script to run a script in camelot, IPSL
7#PBS -m ae
8#PBS -M lluis.fita@lmd.jussieu.fr
9
10## Joins standard and Error outputs in a single file
11#PBS -j oe
12
13## Queue
14#PBS -q week
15
16### Max run time
17#PBS -l walltime=168:00:00
18
19### Max memory
20#PBS -l vmem=20gb
21#PBS -l mem=20gb
22
23## resources
24#PBS -l nodes=1:ppn=1
25
26cd $PBS_O_WORKDIR
27
28dateval=`date "+%Y%m%d%H%M%S"`
29
30rm ${PBS_JOBNAME}.o*
31rm run_copy.log
32
33origin=`echo ${origdest} | tr '|' ' ' | awk '{print $1}'`
34destiny=`echo ${origdest} | tr '|' ' ' | awk '{print $2}'`
35
36date > run_copy.log
37rsync -va --exclude-from=${HOME}/etudes/WRF_LMDZ/svn/LMDZ_WRF/tools/NONcopy.inf -C --no-links ${origin} ${destiny} >& run_copy.log
38date >> run_copy.log
39
40## e.g. # qsub -v origdest='medic950116|/bdd/PCER/workspace/lfita/etudes/WRFdynamicoSENS' copy.pbs
Note: See TracBrowser for help on using the repository browser.