Changeset 925


Ignore:
Timestamp:
09/08/16 11:18:49 (5 years ago)
Author:
rlacroix
Message:

Fix MPI_Init calls to be more compliant with the standard.

Location:
XIOS/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/client.cpp

    r732 r925  
    3939          if (!is_MPI_Initialized) 
    4040          { 
    41             int argc=0; 
    42             char** argv=NULL; 
    43             MPI_Init(&argc,&argv) ; 
     41            MPI_Init(NULL, NULL); 
    4442          } 
    4543          CTimer::get("XIOS").resume() ; 
  • XIOS/trunk/src/server.cpp

    r697 r925  
    4141        if (!is_MPI_Initialized) 
    4242        { 
    43           int argc=0; 
    44           char** argv=NULL; 
    45           MPI_Init(&argc,&argv) ; 
     43          MPI_Init(NULL, NULL); 
    4644        } 
    4745        CTimer::get("XIOS").resume() ; 
Note: See TracChangeset for help on using the changeset viewer.