|Message: build G4Mpi||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I did following steps for openMPI version 1.8.7:
shell$ tar xf openmpi-X.Y.Z.tar.gz shell$ cd openmpi-X.Y.Z shell$ mkdir build shell$ cd build shell$ ../configure ...your options... [...lots of output...] shell$ make all install
> mkdir build (beside the openMPI folder itself) > cd build > cmake -DGeant4_DIR=<your Geant4 install path>/lib/Geant4-10.1.1 -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_INSTALL_PREFIX=<where-G4mpi-lib-will-be-installed>(I put this:<your Geant4 install path>/lib) <g4source>/examples/extended/parallel/MPI/source > make
but got these messages:
adel@adel:~/G4/workdir/openMPI/build$ cmake -DGeant4_DIR=/home/adel/G4/10.1.1/install/lib/Geant4-10.1.1/ -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_INSTALL_PREFIX=/home/adel/G4/10.1.1/install/lib/ /home/adel/G4/10.1.1/geant4.10.01.p01/examples/extended/parallel/MPI/source/ -- The C compiler identification is GNU 4.9.1 -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: mpicxx CMake Error: your CXX compiler: "mpicxx" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Check for working CXX compiler: mpicxx -- broken CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54 (message): The C++ compiler "mpicxx" is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:4 (project)
CMake Error: your CXX compiler: "mpicxx" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Configuring incomplete, errors occurred! See also "/home/adel/G4/workdir/openMPI/build/CMakeFiles/CMakeOutput.log". See also "/home/adel/G4/workdir/openMPI/build/CMakeFiles/CMakeError.log".
Please help me...
|Inline Depth:||Outline Depth:||Add message:|