Problem 1343

Summary: MPI interface wont compile in 9.5
Product: Examples/Extended Reporter: Ali Ebrahimi <majidebr>
Component: paralle/MPIAssignee: Koichi Murakami <Koichi.Murakami>
Status: CLOSED FIXED    
Severity: critical CC: Gunter.Folger
Priority: P5    
Version: 9.5   
Hardware: All   
OS: All   

Description Ali Ebrahimi 2012-08-08 17:22:52 CEST
It seems the interface is not updated for version 9.5.
Trying to compile I got the following errors:

Compiling G4MPIbatch.cc ...
In file included from /opt/openmpi//include/openmpi/ompi/mpi/cxx/mpicxx.h:204,
                 from /opt/openmpi//include/mpi.h:2087,
                 from include/G4MPImanager.hh:37,
                 from src/G4MPIbatch.cc:35:
/opt/openmpi//include/openmpi/ompi/mpi/cxx/constants.h:54: warning: extra ‘;’
src/G4MPIbatch.cc: In member function ‘G4String G4MPIbatch::ReadCommand()’:
src/G4MPIbatch.cc:139: error: no matching function for call to ‘G4Exception(const char [55])’
/opt/geant4.9.5.p01/include/Geant4/globals.hh:79: note: candidates are: void G4Exception(const char*, const char*, G4ExceptionSeverity, const char*)
/opt/geant4.9.5.p01/include/Geant4/globals.hh:83: note:                 void G4Exception(const char*, const char*, G4ExceptionSeverity, G4ExceptionDescription&)
/opt/geant4.9.5.p01/include/Geant4/globals.hh:87: note:                 void G4Exception(const char*, const char*, G4ExceptionSeverity, G4ExceptionDescription&, const char*)

Also, the value of G4INSTALL parameter in GNUmakefile was not correct.
Comment 1 Koichi Murakami 2012-12-04 23:02:44 CET
fixed in 9.6.