

SnappyHexMesh Tutorial
I tried to run snappyHexMesh in the same way proposed by the Spoken-Tutorial. But I am getting the Error like this: snappyHexMesh: symbol lookup error: /home/suman/OpenFOAM/ThirdParty-v1612+/platforms/linux64GccDPInt32/lib/openmpi-system/libptscotcherrexit.so: undefined symbol: lam_mpi_comm_world Please let me know if you have a solution for it. Thank you very much. Regards, Ankur
OpenFOAM


Hey Ankur, That error means that you do not have the MPI library built properly or it is mis-configured. I would suggest you try to install OpenMPI by typing -
- sudo apt-get install libopenmpi-dev
And then re-install OpenFOAM.
Please let me know if that works. Also, could you let me know your Operating System details?
I am new to OpenFOAM. This is the information, i have for now:
I am using OpenFoam - 16.12.
Ubuntu - 16.04.
RAM-12GB
I tried to install OpenMPI , it says like this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libopenmpi-dev is already the newest version (1.10.2-8ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 229 not upgraded.
Let me know if something is missing.
Thank you very much.
Regards,
Ankur
01-04-17, 12:21 p.m. ankur_garg
02-04-17, 8:58 p.m. anmolsahoo
02-04-17, 9:13 p.m. ankur_garg
02-04-17, 9:19 p.m. anmolsahoo
02-04-17, 9:20 p.m. ankur_garg
I tried rebuilding the Third Party Libraries first by putting these commands in Terminal:
./Allclean
./Allwmake
It said: Build Successful
I hope, It's fine?
After that, Again While I am trying to run snappyHexMesh, it gives me the Same Error.
03-04-17, 2:17 p.m. ankur_garg
It seems like you have conflicting versions of OpenMPI on your system. Could you copy-paste the output of these following commands -
mpiexec --version
mpirun --version
mpicc --version
03-04-17, 3:43 p.m. anmolsahoo
Thank you for reverting back to me. These are the outputs from The Above three Commands:
mpiexec (OpenRTE) 1.10.2,
mpirun (Open MPI) 1.10.2,
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Thank you.
Regards,
Ankur
03-04-17, 3:48 p.m. ankur_garg
echo $WM_MPLIB
03-04-17, 3:55 p.m. anmolsahoo
03-04-17, 3:57 p.m. ankur_garg
Meanwhile I will try to find out what the issue is with this.
03-04-17, 4:42 p.m. anmolsahoo
03-04-17, 4:47 p.m. ankur_garg
Login to add comment