Changes between Version 30 and Version 31 of Public/ParaStationMPI


Ignore:
Timestamp:
May 31, 2021, 10:47:12 AM (3 years ago)
Author:
Carsten Clauß
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Public/ParaStationMPI

    v30 v31  
    293293}}}
    294294
    295 
    296 
    297 For psmpi versions ''before'' 5.4.6, the Module IDs (`PSP_MSA_MODULE_ID`) were not set automatically!
    298 This means that the user had to set and pass this variable explicitly, for example, via a bash script:
    299 {{{
    300 #!/bin/bash
    301 # Script (script0.sh) for Module 0: (e.g. Cluster)
    302 APP="./IMB-MPI1 Bcast"
    303 export PSP_MSA_AWARENESS=1
    304 export PSP_MSA_MODULE_ID=0  # <- set an arbitrary ID for this module!
    305 ./${APP}
    306 }}}
    307 {{{
    308 #!/bin/bash
    309 # Script (script1.sh) for Module 1: (e.g. ESB)
    310 APP="./IMB-MPI1 Bcast"
    311 export PSP_MSA_AWARENESS=1
    312 export PSP_MSA_MODULE_ID=1 # <- set a different ID for this module!
    313 ./${APP}
    314 }}}
    315 {{{
    316 > srun ./script0 : ./script1
    317 }}}
    318 
    319 In addition, this script approach can always be useful if one wants to set the Module IDs ''explicitly'', e.g. for debugging and/or emulating reasons.
     295In addition, this script approach can always be useful if the user wants to set the Module IDs explicitly, e.g. for debugging and/or emulating reasons.
    320296
    321297