Changes between Version 1 and Version 2 of MPI


Ignore:
Timestamp:
Nov 8, 2017, 7:28:54 PM (7 years ago)
Author:
Olivier Mattelaer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MPI

    v1 v2  
    33== How to get the plugin
    44
     5bzr branch lp:~mg5hpcteam/mg5amcnlo/mpi_plugin
     6
    57== minimal version of the plugin
     8
     9  1. Allow to have a new version of the gridpack generation (LO only) working via MPI method
     10  2. define a new set of cluster type showing how to submit such run on MPI cluster. You will be likely to have to edit one of those examples to make it running in your cluster.
    611
    712== what the plugin does
     
    1217   2. configure your fortran compiler: set fortran_compiler mpif77 (or set fortran_compiler ftn)
    1318   3. configure your version to cluster mode: set run_mode 1
    14    4. Choose your MPI_CLUSTER: set cluster_type cori_haswell (see below how to implement your own)
     19   4. Choose your MPI_CLUSTER: set cluster_type cori_haswell (or edit the MPIcluster.py file as needed for your cluster)
     20
     21=== MPI Cluster handling
     22   1. The list of supported cluster and the associated class is written in __init__.py
     23{{{
     24    new_cluster = {'edison': MPIcluster.EdisonCluster,
     25               'mpi_single_core': MPIcluster.OneCore,
     26               'cori_haswell': MPIcluster.CoriClusterH,
     27               'cori_kln': MPIcluster.CoriClusterKLN}
     28}}}
     29   2. They all contain hardcoded number. So you are likely needed to modify one of those class or create your own to handle your cluster. The examples in that file should be enough for you to understand the logic and modify those or create your own submission routine.
     30
    1531
    1632== How to run the plugin
     
    2440   6. ./bin/generate_events
    2541   7. this gridpack is created in the local directory and is typically named: "run_01_gridpack.tar.gz"
    26    8. you can use your gridpack on the grid (this is a single node job) 
     42   8. you can use your gridpack on the grid(this is a single node job). You can run it as many times as needed as long as you have a different seed for each job.
    2743