Last change
on this file since 4231 was
4231,
checked in by dubos, 5 years ago
|
simple_physics : DYNAMICO driver (TBC)
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | ## Request name |
---|
3 | #MSUB -r DYNAMICO_phyparam_mpi |
---|
4 | ## Number of tasks (=MPI processes) to use |
---|
5 | #MSUB -n 40 |
---|
6 | ## Number of OpenMP threads |
---|
7 | #MSUB -c 1 |
---|
8 | ## Elapsed time limit in seconds |
---|
9 | #MSUB -T 300 |
---|
10 | # account, partition (Xeon/KNL) |
---|
11 | #MSUB -A gen0239 |
---|
12 | #MSUB -q skylake |
---|
13 | # Mount on compute node |
---|
14 | #MSUB -m work |
---|
15 | ## Quality of Service required (long [3 days], normal [1 day], test [30 min]) |
---|
16 | #MSUB -Q test |
---|
17 | |
---|
18 | export OMP_NUM_THREADS=1 |
---|
19 | export OMP_STACKSIZE=128M |
---|
20 | |
---|
21 | cd ${BRIDGE_MSUB_PWD} |
---|
22 | |
---|
23 | # module c++/gnu is needed to link with XIOS |
---|
24 | # module feature/openmpi/mpi_compiler/intel is made necessary by c++/gnu |
---|
25 | |
---|
26 | module purge |
---|
27 | module load feature/openmpi/mpi_compiler/intel |
---|
28 | module load c++/gnu/7.3.0 |
---|
29 | module load intel/17.0.6.256 |
---|
30 | module load mpi/openmpi/2.0.4 |
---|
31 | module load flavor/hdf5/parallel |
---|
32 | module load netcdf-fortran/4.4.4 |
---|
33 | module load mkl/17.0.6.256 |
---|
34 | module load hdf5/1.8.20 |
---|
35 | module load parmetis/4.0.3 |
---|
36 | |
---|
37 | rm -rf gcm.log logs *.nc netcdf |
---|
38 | |
---|
39 | date > gcm.log |
---|
40 | ulimit -s unlimited |
---|
41 | ccc_mprun ./gcm.exe >> gcm.log |
---|
42 | date >> gcm.log |
---|
43 | |
---|
44 | mkdir -p netcdf |
---|
45 | cp gcm.log *.def netcdf |
---|
46 | mv *.nc netcdf |
---|
47 | |
---|
48 | mkdir -p logs |
---|
49 | cp *.xml logs |
---|
50 | mv xios_client_*.err xios_client_*.out gcm.log logs |
---|
Note: See
TracBrowser
for help on using the repository browser.