Changeset 11373


Ignore:
Timestamp:
2019-07-30T17:33:23+02:00 (14 months ago)
Author:
smasson
Message:

dev_r10984_HPC-13 : timing working with more than 9999 cores, see #2285

Location:
NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/OCE/timing.F90

    r10510 r11373  
    657657         ! Compute cpu/elapsed ratio 
    658658         zall_ratio(:) = all_ctime(:) / all_etime(:) 
    659          ztot_ratio    = SUM(zall_ratio(:)) 
    660          zavg_ratio    = ztot_ratio/REAL(jpnij,wp) 
     659         ztot_ratio    = SUM(all_ctime(:))/SUM(all_etime(:)) 
     660         zavg_ratio    = SUM(zall_ratio(:))/REAL(jpnij,wp) 
    661661         zmax_ratio    = MAXVAL(zall_ratio(:)) 
    662662         zmin_ratio    = MINVAL(zall_ratio(:))    
     
    667667         cllignes(2)='1x,"--------------------",//,' 
    668668         cllignes(3)='1x,"Process Rank |"," Elapsed Time (s) |"," CPU Time (s) |"," Ratio CPU/Elapsed",/,' 
    669          cllignes(4)='    (1x,i4,9x,"|",f12.3,6x,"|",f12.3,2x,"|",4x,f7.3,/),' 
    670          WRITE(cllignes(4)(1:4),'(I4)') jpnij 
     669         cllignes(4)='      (4x,i6,4x,"|",f12.3,6x,"|",f12.3,2x,"|",4x,f7.3,/),' 
     670         WRITE(cllignes(4)(1:6),'(I6)') jpnij 
    671671         cllignes(5)='1x,"Total        |",f12.3,6x,"|",F12.3,2x,"|",4x,f7.3,/,' 
    672672         cllignes(6)='1x,"Minimum      |",f12.3,6x,"|",F12.3,2x,"|",4x,f7.3,/,' 
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/tests/BENCH/EXPREF/submit_bench

    r11364 r11373  
    6565   elif [ $nproc_exe1 -lt 800 ] 
    6666   then 
    67        timejob=8000 
     67       timejob=20000 
    6868   elif [ $nproc_exe1 -lt 1600 ] 
    6969   then 
     70       timejob=15000 
     71   elif [ $nproc_exe1 -lt 3200 ] 
     72   then 
     73       timejob=7500 
     74   elif [ $nproc_exe1 -lt 10000 ] 
     75   then 
    7076       timejob=5000 
    71    elif [ $nproc_exe1 -lt 3200 ] 
     77   elif [ $nproc_exe1 -lt 20000 ] 
    7278   then 
    7379       timejob=2500 
     
    219225#!/bin/bash 
    220226#SBATCH --job-name=Seq        # nom du job 
    221 #SBATCH --partition=cpu_dev   # demande d'allocation sur la partition CPU 
     227#SBATCH --partition=cpu_gct3   # demande d'allocation sur la partition CPU 
    222228#SBATCH --nodes=${nnode}             # nombre de noeuds 
    223229#SBATCH --ntasks-per-node=${ncore_node}  # nombre de taches MPI par noeud 
     
    259265ls -l 
    260266 
    261 rsync -av namelist_cfg time.step ocean.output out_run.txt communication_report.txt layout.dat timing.output output.namelist* $( pwd ) 
     267if [ "\$( pwd )" != "\${SLURM_SUBMIT_DIR}" ] 
     268then  
     269    rsync -av namelist_cfg time.step ocean.output jobout_${resolution}_${nproc5}_${dateref} communication_report.txt layout.dat timing.output output.namelist* \${SLURM_SUBMIT_DIR} 
     270fi 
    262271 
    263272EOF 
Note: See TracChangeset for help on using the changeset viewer.