Changeset 24767
- Timestamp:
 - 05/01/20 08:36:08 (6 years ago)
 - Location:
 - issm/trunk-jpl/src/c/toolkits/mpi
 - Files:
 - 
      
- 2 edited
 
- 
          
  issmmpi.cpp (modified) (2 diffs)
 - 
          
  issmmpi.h (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
issm/trunk-jpl/src/c/toolkits/mpi/issmmpi.cpp
r23357 r24767 221 221 rc=AMPI_Finalize(); 222 222 #elif defined(_HAVE_MEDIPACK_) 223 TOOL::finalize(); 223 /*Old implementation*/ 224 //TOOL::finalize(); 225 /*New implementation*/ 226 delete mpiTypes; 224 227 rc=AMPI_Finalize(); 225 228 #else … … 318 321 #elif defined(_HAVE_MEDIPACK_) 319 322 rc=AMPI_Init(argc,argv); 320 TOOL::init(); 323 /*Old implementation of Medipack*/ 324 //TOOL::init(); 325 /*New*/ 326 //MpiTypes* mpiTypes; 327 mpiTypes = new MpiTypes(); 321 328 #else 322 329 rc=AMPI_Init_NT(argc,argv);  - 
      
issm/trunk-jpl/src/c/toolkits/mpi/issmmpi.h
r24593 r24767 26 26 using namespace medi; 27 27 #if defined(_HAVE_CODIPACK_) 28 #include "codi/externals/codiMediPackTypes.hpp" 29 #define TOOL CoDiPackTool<IssmDouble> 30 #define AMPI_ADOUBLE TOOL::MPI_TYPE 28 /*Old implementation of MeDiPack*/ 29 //#include "codi/externals/codiMediPackTypes.hpp" 30 //#define TOOL CoDiPackTool<IssmDouble> 31 //#define AMPI_ADOUBLE TOOL::MPI_TYPE 32 // 33 /*New implementation*/ 34 #include <codi/externals/codiMpiTypes.hpp> 35 using MpiTypes = CoDiMpiTypes<IssmDouble>; 36 MpiTypes* mpiTypes; 37 #define AMPI_ADOUBLE mpiTypes->MPI_TYPE 31 38 #elif defined(_HAVE_ADOLC_) 32 39 #include "adolc/medipacksupport.h"  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)