|
[Sponsors] |
[foam-extend.org] Compilation of Manjaro and MPI |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 18, 2020, 16:36 |
Compilation of Manjaro and MPI
|
#1 |
Senior Member
Sultan Islam
Join Date: Dec 2015
Location: Canada
Posts: 143
Rep Power: 11 |
Dear all,
I have compiled Foam Extend 4.1 on manjaro. When testing the installation it was complaining about not finding the MPI_ARCH_PATH. This was due to it not finding libmpi.so.1. My system has mpi.so in the /usr/lib directory. So What I did was copied the mpi.so and renamed it to libmpi.so.1. Then it was able to pass the installation test. I ran both pitzdaily and motorbike and they ran perfectly. However upon further investigation, I noticed they didn't run in parallel. So I edited the simplefoam motorbike allrun script and added in two lines: Code:
runApplication decomposePar runApplication mpirun -np 6 simpleFoam -parallel runApplication reconstructPar However looking at the log I saw this: Code:
Time = 500 smoothSolver: Solving for Ux, Initial residual = 0.0006301964406, Final residual = 3.039349977e-05, No Iterations 4 smoothSolver: Solving for Uy, Initial residual = 0.01171762881, Final residual = 0.0005864078939, No Iterations 4 smoothSolver: Solving for Uz, Initial residual = 0.01303451675, Final residual = 0.0006378994764, No Iterations 4 GAMG: Solving for p, Initial residual = 0.04896071583, Final residual = 0.00155753443, No Iterations 2 GAMG: Solving for p, Initial residual = 0.00598723622, Final residual = 0.0002310773101, No Iterations 2 GAMG: Solving for p, Initial residual = 0.0009165694989, Final residual = 4.964662388e-05, No Iterations 2 time step continuity errors : sum local = 7.977195636e-06, global = -2.789265382e-07, cumulative = -3.436461243e-05 smoothSolver: Solving for omega, Initial residual = 0.0002348038736, Final residual = 1.551069998e-05, No Iterations 3 smoothSolver: Solving for k, Initial residual = 0.002359694439, Final residual = 0.0001658683156, No Iterations 3 [manjaro-vmware:260741] *** Process received signal *** [manjaro-vmware:260739] *** Process received signal *** [manjaro-vmware:260739] Signal: Segmentation fault (11) [manjaro-vmware:260739] Signal code: (-6) [manjaro-vmware:260739] Failing at address: 0x3e80003fa83 [manjaro-vmware:260741] Signal: Segmentation fault (11) [manjaro-vmware:260741] Signal code: (-6) [manjaro-vmware:260741] Failing at address: 0x3e80003fa85 [manjaro-vmware:260738] *** Process received signal *** [manjaro-vmware:260738] Signal: Segmentation fault (11) [manjaro-vmware:260738] Signal code: (-6) [manjaro-vmware:260738] Failing at address: 0x3e80003fa82 [manjaro-vmware:260740] *** Process received signal *** [manjaro-vmware:260740] Signal: Segmentation fault (11) [manjaro-vmware:260740] Signal code: (-6) [manjaro-vmware:260740] Failing at address: 0x3e80003fa84 [manjaro-vmware:260737] *** Process received signal *** [manjaro-vmware:260737] Signal: Segmentation fault (11) [manjaro-vmware:260737] Signal code: (-6) [manjaro-vmware:260737] Failing at address: 0x3e80003fa81 ExecutionTime = 708.72 s ClockTime = 755 s End [manjaro-vmware:260736] *** Process received signal *** [manjaro-vmware:260736] Signal: Segmentation fault (11) [manjaro-vmware:260736] Signal code: (-6) [manjaro-vmware:260736] Failing at address: 0x3e80003fa80 -------------------------------------------------------------------------- mpirun noticed that process rank 3 with PID 260739 on node manjaro-vmware exited on signal 11 (Segmentation fault). -------------------------------------------------------------------------- Thanks Edit 1: It seems like foam-extend cannot link system mpi correctly or is incompatible with the OpenMPI 10 and even MPICH supplied in Manjaro. Attempting to built using MPICH given in ThirdParty. Edit 2: Decided to use Foam Extend 4.0 and that worked with SYSTEMMPI. No issues when using mpirun to solve for motorbike. Last edited by EternalSeekerX; September 20, 2020 at 02:04. |
|
|
|