Changes between Version 4 and Version 5 of Doc/env/TgccCurie


Ignore:
Timestamp:
08/04/14 14:51:17 (10 years ago)
Author:
aclsce
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/env/TgccCurie

    v4 v5  
    172172# How to use the ddt debuger for the coupled model (or any other MPMD mode) # 
    173173 
     174## MPI only ## 
     175 
    174176 * compile the model you wish to debug with the -g option (necessary in order to have access to sources from  the ddt interface) 
    175177 * create a debug directory which includes the model executables and the input files required by the model 
    176178 * create a simplified debug job which allows you to start a run in the debug directory 
    177  * add the command "module load ddt/3.2" to your job 
     179 * add the command "module load ddt" to your job 
    178180 * add the creation of configuration run_file 
    179181 * add a ddt start command in your job 
     
    181183{{{ 
    182184... 
    183 module load ddt/3.2 
     185module load ddt 
    184186unset SLURM_SPANK_AUKS 
    185187 
     
    198200  * in mpirun arguments put "--app ${TMPDIR_DEBUG}/run_file" with TMPDIR_DEBUG = debug directory 
    199201  * click on "Run" then on the "play" key in the upper left corner 
     202 
     203## Hybrid MPI-OpenMP (use of mpirun -rankfile method) ## 
     204 
     205 * compile the model you wish to debug with the -g option (necessary in order to have access to sources from  the ddt interface) 
     206 * create a debug directory which includes the model executables and the input files required by the model 
     207 * create a simplified debug job which allows you to start a run in the debug directory 
     208 * add the command "module load ddt" to your job 
     209 * example with 4 OpenMP threads for lmdz and 1 OpenMP thread for nemo : 
     210{{{ 
     211ddt -start -n 51 -mpiargs "-rankfile rankfile.txt --tag-output \ 
     212-np 20 -x KMP_STACKSIZE=3g -x KMP_LIBRARY=turnaround -x MKL_SERIAL=YES -x OMP_NUM_THREADS=4 ./lmdz.x : \ 
     213-np 31 -x OMP_NUM_THREADS=1 ./opa.xx 
     214" 
     215}}} 
     216 * start the job with graphic export : ccc_msub -X Job 
     217 * if not default option, select "Autoselect Bullx MPI" in Options and relaunch the job.  
    200218 
    201219# Errors on curie when running simulations #