| 1 | = Profile ORCHIDEE with Allinea Map = |
| 2 | |
| 3 | Make sure to compile ORCHIDEE with -g flag |
| 4 | |
| 5 | Then create a bash file to send your job to the Cluster. Copy and paste the lines below. |
| 6 | |
| 7 | ddtmap.sh: |
| 8 | {{{ |
| 9 | #!/bin/bash |
| 10 | #MSUB -r testJob # Request name |
| 11 | #MSUB -n 16 # Number of tasks to use |
| 12 | #MSUB -T 15000 # Elapsed time limit in seconds |
| 13 | #MSUB -o orchid_%I.o # Standard output. %I is the job id |
| 14 | #MSUB -e orchid_%I.e # Error output. %I is the job id |
| 15 | #MSUB -Q normal |
| 16 | #MSUB -X # enable window |
| 17 | #MSUB -D |
| 18 | #MSUB -q standard # Queue type |
| 19 | |
| 20 | # Print all steps |
| 21 | set -x |
| 22 | |
| 23 | # Load necessary modules |
| 24 | module load map/6.0.2 |
| 25 | module load netcdf/4.2_hdf5_parallel |
| 26 | |
| 27 | # next line might not be necessary |
| 28 | cd /to/your/path |
| 29 | |
| 30 | map -n 16 ./orchidee_ol |
| 31 | }}} |
| 32 | |
| 33 | Send your job to Curie |
| 34 | ccc_msub ddtmap.sh |