Ignore:
Timestamp:
Jan 18, 2019 5:01:54 PM (5 years ago)
Author:
knoop
Message:

Extended palmtest to use custom MPI execution commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmtest

    r3561 r3682  
    788788
    789789            environment = available_environments[c_id]
     790
     791            if 'mpi_execution_command' in environment:
     792                template = template.replace('@PALM_EXECUTE_COMMAND@', environment['mpi_execution_command'])
     793            else:
     794                template = template.replace('@PALM_EXECUTE_COMMAND@', 'mpirun -n {{mpi_tasks}}')
     795
    790796            if 'executable' not in environment:
    791797                return True, colored('[palmtest.yml environment \"' + c_id + '\" has no \"executable\"]', 'red')
Note: See TracChangeset for help on using the changeset viewer.