Problem 1343 - MPI interface wont compile in 9.5
Summary: MPI interface wont compile in 9.5
Status: CLOSED FIXED
Alias: None
Product: Examples/Extended
Classification: Unclassified
Component: paralle/MPI (show other problems)
Version: 9.5
Hardware: All All
: P5 critical
Assignee: Koichi Murakami
URL:
Depends on:
Blocks:
 
Reported: 2012-08-08 17:22 CEST by Ali Ebrahimi
Modified: 2012-12-04 23:02 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.