Hello, everyone.
I’m trying to run MPI example exMPI01 on an cluster, so at first i try to install G4mpi library onto the Geant4.10.03.p03 version.
When i’m installing this by instruction from http://www.apc.univ-paris7.fr/~franco/g4doxy4.10/html/md___volumes__work_geant_geant4_810_800_8p01_examples_extended_parallel__m_p_i__r_e_a_d_m_e.html i can see that configurating is done good, but when i’m trying to make, there is error on 71% of make, which you can see on the attached picture, or in the listning below:
[ 71%] Building CXX object CMakeFiles/G4mpi.dir/src/G4MPIscorerMerger.cc.o
/mnt/pool/4/rfibragimov/test/MPI/source/src/G4MPIscorerMerger.cc: In member function ‘void {anonymous}::MPIStatDouble::Pack(void*, int, int*, MPI::Intracomm&) const’:
/mnt/pool/4/rfibragimov/test/MPI/source/src/G4MPIscorerMerger.cc:48:65: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
MPI_Pack(&m_n,1,MPI::INT,buffer,bufferSize,position,comm);
^
/mnt/pool/4/rfibragimov/test/MPI/source/src/G4MPIscorerMerger.cc:50:69: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
MPI_Pack(&data,5,MPI::DOUBLE,buffer,bufferSize,position,comm);
^
/mnt/pool/4/rfibragimov/test/MPI/source/src/G4MPIscorerMerger.cc: In member function ‘void G4MPIscorerMerger::Pack(const G4VScoringMesh*)’:
/mnt/pool/4/rfibragimov/test/MPI/source/src/G4MPIscorerMerger.cc:342:88: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
MPI_Pack(nn,ss,MPI::CHAR,outputBuffer,outputBufferSize,&outputBufferPosition,comm);
^
make[2]: *** [CMakeFiles/G4mpi.dir/src/G4MPIscorerMerger.cc.o] Error 1
make[1]: *** [CMakeFiles/G4mpi.dir/all] Error 2
make: *** [all] Error 2
Do you have any guess what i’m doing wrong or what i can do to fix it?
Thankx in advance.