Changeset 1519 for trunk/libIGCM


Ignore:
Timestamp:
02/25/20 13:31:41 (4 years ago)
Author:
aclsce
Message:

Modified to run libIGCM on irene-amd

Location:
trunk/libIGCM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_job

    r1509 r1519  
    4343#-Q- irene BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC 
    4444#-Q- irene set +x 
     45#-Q- irene-amd #!/bin/ksh 
     46#-Q- irene-amd ###################### 
     47#-Q- irene-amd ## IRENE-AMD   TGCC/CEA ## 
     48#-Q- irene-amd ###################### 
     49#-Q- irene-amd #MSUB -r ::Jobname::        # Job Name 
     50#-Q- irene-amd #MSUB -o Script_Output_::Jobname::.000001    # standard output 
     51#-Q- irene-amd #MSUB -e Script_Output_::Jobname::.000001    # error output 
     52#-Q- irene-amd #MSUB -eo 
     53#-Q- irene-amd #MSUB -n ::JobNumProcTot::  # Number of MPI tasks (SPMD case) or cores (MPMD case) 
     54#-Q- irene-amd #MSUB -c ::openMPthreads::  # Number of openMP threads. To specify only for SMPD 
     55#-Q- irene-amd #MSUB -x                    # exclusive node. To specify only for MPMD together with the one below 
     56#-Q- irene-amd #MSUB -T 86400              # Wall clock limit (seconds) 
     57#-Q- irene-amd #MSUB -A ::default_project:: 
     58#-Q- irene-amd #MSUB -q rome 
     59#-Q- irene-amd #MSUB -m store,work,scratch 
     60#-Q- irene-amd 
     61#-Q- irene-amd BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC 
     62#-Q- irene-amd set +x 
    4563#-Q- jeanzay #!/bin/ksh 
    4664#-Q- jeanzay ###################### 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_irene-amd.ksh

    r1518 r1519  
    11541154        -e "s/::JobNumProcTot::/${coreNumber}/"    \ 
    11551155        -e "/#MSUB -x/d"                           \ 
    1156         -e "/--cpu_bind=none/d"                    \ 
    11571156      ${file} > ${file}.tmp 
    11581157 
    11591158  elif [ ${executionType} -eq 2 ] ; then 
    1160     # MPMD + MPI + OMP : mpirun/ccc_mprun/error 
    1161     if ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xmpirun" ] ) ; then 
    1162       sed -e "/::openMPthreads::/d"                  \ 
    1163           -e "s/::JobNumProcTot::/${coreNumber}/"    \ 
    1164         ${file} > ${file}.tmp 
    1165     elif ( [ "X${config_UserChoices_ExecutionModeOnCurie}" = "X" ] || [ "X${config_UserChoices_ExecutionModeOnCurie}" = "Xccc_mprun" ] ) ; then 
    1166       sed -e "/::openMPthreads::/d"                  \ 
    1167           -e "s/::JobNumProcTot::/${coreNumber}/"    \ 
    1168           -e "/--cpu_bind=none/d"                    \ 
    1169         ${file} > ${file}.tmp 
    1170     else 
    1171      IGCM_debug_Print 1 "You have to set ExecutionModeOnCurie=ccc_mprun or mpirun in config.card" 
    1172      IGCM_debug_Exit "IGCM_sys_updateHeaders" 
    1173     fi 
     1159    # MPMD + MPI + OMP :ccc_mprun 
     1160    sed -e "/::openMPthreads::/d"                  \ 
     1161        -e "s/::JobNumProcTot::/${coreNumber}/"    \ 
     1162      ${file} > ${file}.tmp 
     1163 
    11741164  elif [ ${executionType} -eq 3 ] ; then 
    11751165    # SPMD + MPI/OMP 
     
    11771167        -e "s/::JobNumProcTot::/${mpiTasks}/"      \ 
    11781168        -e "/#MSUB -x/d"                           \ 
    1179         -e "/--cpu_bind=none/d"                    \ 
    11801169      ${file} > ${file}.tmp 
    11811170 
     
    11851174        -e "/::openMPthreads::/d"                  \ 
    11861175        -e "/#MSUB -x/d"                           \ 
    1187         -e "/--cpu_bind=none/d"                    \ 
    11881176      ${file} > ${file}.tmp 
    11891177 
     
    11931181        -e "/::JobNumProcTot::/d"                  \ 
    11941182        -e "/#MSUB -x/d"                           \ 
    1195         -e "/--cpu_bind=none/d"                    \ 
    11961183      ${file} > ${file}.tmp 
    11971184 
     
    12011188        -e "/::openMPthreads::/d"                  \ 
    12021189        -e "/#MSUB -x/d"                           \ 
    1203         -e "/--cpu_bind=none/d"                    \ 
    12041190      ${file} > ${file}.tmp 
    12051191 
Note: See TracChangeset for help on using the changeset viewer.