Job to launch LMDZ with TotalView?
Here is a simple Job to debug LMDZ with TotalView?.
You need to adapt the parameters of -n, -c and OMP_NUM_THREADS. Ask Yann Meurdesoif.
#!/bin/ksh ###################### ## CURIE TGCC/CEA ## ###################### #MSUB -r SWZ_LMDZ1TS #MSUB -o Script_Output_TEST.000001 # standard output #MSUB -e Script_Output_TEST.000001 #error output #MSUB -eo #MSUB -n 31 # Number of MPI tasks (SPMD case) or cores (MPMD case) #MSUB -c 4 #MSUB -x #MSUB -X #MSUB -m scratch,work #MSUB -T 1800 ##MSUB -T 7200 # Wall clock limit (seconds) #MSUB -A gen0239 #MSUB -q skylake #MSUB -Q test export KMP_STACKSIZE=3g export KMP_LIBRARY=turnaround export MKL_SERIAL=YES export OMP_NUM_THREADS=4 cd $BRIDGE_MSUB_PWD . /ccc/cont003/home/igcmg/igcmg/MachineEnvironment/irene/env_irene export FORT_BUFFERED=false module load totalview/2018.1.12 unset SLURM_SPANK_AUKS rm -f out_run_file mesh*.nc solver.stat time.step date.file restartphy.nc restart.nc dynzon.dat meshmask.nc hist*.nc ice_mouchard ice_evolu sechiba_rest.nc core.* rm -f *IPSL-CM6-1* sechiba_out*.nc sechiba_history.nc stomate_history.nc ocean.output trace *.prt* cpl* *weights anaisout* hist*.nc dyn*.nc paramLMDZ_dyn.nc out_orchidee* rm -f eOR1L3P.test-1x5D* stomate_rest_out.nc sechiba_rest_out.nc rm -f out_* lmdz.out.* lmdz.err.* opa.err.* opa.out.* xios_* rm -f Script_Output* rm -f *1d*.nc *1ts*.nc *5ts*.nc rm -f *lmdz.x*.nc *oceanx*.nc *lucia* *LMDZ_*.nc runoffs_00*.nc #ddt -start -n 1 -mpiargs "--app ./run_file_ddt" #totalview opa.xx ccc_mprun -d tv lmdz.x > out_lmdz 2> err_lmdz #ccc_mprun ./lmdz.x > out_lmdz 2> err_lmdz
Last modified 4 years ago
Last modified on 07/30/19 16:51:58