| 1 | [[FaqLpscToc]] |
| 2 | == Utilisation des clusters Ciment == |
| 3 | Connexion sur Ciment |
| 4 | {{{ |
| 5 | ssh access-ciment.imag.fr -i .ssh/id_rsa |
| 6 | ssh ciment-grid |
| 7 | }}} |
| 8 | Créer un job.jdl |
| 9 | {{{ |
| 10 | { |
| 11 | "name": "pp_13TeV_jinEMCAL_0", |
| 12 | "resources": "core=1", |
| 13 | "exec_file": "on the worker node (pull from irods in the prologue)", |
| 14 | "exec_file": "\$HOME/pp_13TeV_jinEMCAL_0/start.sh", |
| 15 | "param_file": "on the server front-end from where campaign is submitted: killeen, fostino...", |
| 16 | "param_file": "/home/ciment/boutherin/param.txt", |
| 17 | "test_mode": "false", |
| 18 | "type": "best-effort", |
| 19 | "prologue": [ |
| 20 | "set -e", |
| 21 | "source /applis/ciment/v2/env.bash", |
| 22 | "module load irods", |
| 23 | "mkdir -p \\$HOME/pp_13TeV_jinEMCAL_0", |
| 24 | "cd \\$HOME/pp_13TeV_jinEMCAL_0", |
| 25 | "iget -f pp_13TeV_jinEMCAL/start.sh", |
| 26 | "iget -f pp_13TeV_jinEMCAL/Config.C", |
| 27 | "iget -f pp_13TeV_jinEMCAL/sim.C", |
| 28 | "iget -f pp_13TeV_jinEMCAL/rec.C", |
| 29 | "chmod u+x start.sh", |
| 30 | "iget -r -f alisoft", |
| 31 | "cd alisoft", |
| 32 | "tar -xf alisoft.tar", |
| 33 | "rm -f alisoft.tar", |
| 34 | "imkdir -p pp_13TeV_jinEMCAL_\\$CIGRI_CAMPAIGN_ID" |
| 35 | ], |
| 36 | "epilogue": [ |
| 37 | "rm -Rf \\$HOME/pp_13TeV_jinEMCAL_0" |
| 38 | ], |
| 39 | "clusters": { |
| 40 | "fontaine": { |
| 41 | "project": "alice_hic_btagging", |
| 42 | "walltime": "06:00:00" |
| 43 | }, |
| 44 | "gofree": { |
| 45 | "project": "alice_hic_btagging", |
| 46 | "walltime": "06:00:00" |
| 47 | }, |
| 48 | "froggy": { |
| 49 | "project": "alice_hic_btagging", |
| 50 | "walltime": "06:00:00" |
| 51 | }, |
| 52 | "fostino": { |
| 53 | "project": "alice_hic_btagging", |
| 54 | "walltime": "06:00:00" |
| 55 | }, |
| 56 | "r2d2": { |
| 57 | "project": "alice_hic_btagging", |
| 58 | "walltime": "06:00:00" |
| 59 | } |
| 60 | } |
| 61 | } |
| 62 | }}} |