New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 4692 for trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_MOBILIS – NEMO

Ignore:
Timestamp:
2014-06-25T19:08:29+02:00 (10 years ago)
Author:
acc
Message:

Merge SPMD and MPMD batch templates for use with sette_xios.sh. Only one batch template file now required for all SETTE jobs. Also fix namelist parameter settings for GYRE_XIOS_HR tests so that domain scales correctly with jp_cfg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_MOBILIS

    r4687 r4692  
    1313  export OMP_NUM_THREADS=1 
    1414  export OCORES=NPROCS 
    15   export XCORES=NOT_USED 
     15  export XCORES=NXIOPROCS 
    1616  export SETTE_DIR=DEF_SETTE_DIR 
     17  export XIO_HOME=/home/acc/XIOS 
    1718# 
    1819# load sette functions (only post_test_tidyup needed) 
     
    5455  cd $EXE_DIR 
    5556  echo Directory is `pwd` 
     57  if [ $XCORES -eq 0 ]; then 
    5658# 
     59# Run SPMD case 
    5760# 
    58 #  Run the parallel MPI executable  
     61       echo time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1                 \ 
     62                                -x MALLOC_TRIM_THRESHOLD_=33554432 -np $OCORES --bynode  \ 
     63                                --mca mpi_paffinity_alone 1 ./opa  
     64            time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1                 \ 
     65                                -x MALLOC_TRIM_THRESHOLD_=33554432 -np $OCORES --bynode  \ 
     66                                --mca mpi_paffinity_alone 1 ./opa  
     67  else 
     68       if [ ! -f ./xios_server.exe ] && [ -f ${XIO_HOME}/bin/xios_server.exe ]; then 
     69          cp ${XIO_HOME}/bin/xios_server.exe . 
     70       fi 
     71       if [ ! -f ./xios_server.exe ]; then 
     72          echo "./xios_server.exe not found" 
     73          echo "run aborted" 
     74          exit 
     75       fi 
    5976# 
    60 echo time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1 \ 
    61                          -x MALLOC_TRIM_THRESHOLD_=33554432 -np $OCORES --bynode  \ 
    62                          --mca mpi_paffinity_alone 1 ./opa  
     77#  Run MPMD case 
    6378# 
    64      time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1 \ 
    65                          -x MALLOC_TRIM_THRESHOLD_=33554432 -np $OCORES --bynode  \ 
    66                          --mca mpi_paffinity_alone 1 ./opa  
     79       echo time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1 \ 
     80                                -x MALLOC_TRIM_THRESHOLD_=33554432       \ 
     81                                -np $XCORES ./xios_server.exe            \ 
     82                              : -np $OCORES --bynode  --mca mpi_paffinity_alone 1 ./opa  
    6783# 
     84            time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1 \ 
     85                                -x MALLOC_TRIM_THRESHOLD_=33554432       \ 
     86                                -np $XCORES ./xios_server.exe            \ 
     87                              : -np $OCORES --bynode  --mca mpi_paffinity_alone 1 ./opa  
     88# 
     89  fi 
    6890# 
    6991  post_test_tidyup 
Note: See TracChangeset for help on using the changeset viewer.