Closed bladesaber closed 5 months ago
More Error Info in Console Log:
Dear @bladesaber,
The difference between the previous steps and castellation step is that snappyHexMesh
runs in parallel in castellation step.
So, I'm suspecting if correct MPI is configured properly.
As you might see in BARAM installation page, open MPI 4.2 or higher is required.
You may be able to check the environment like following.
jake@suse:~> mpi-selector --list
openmpi
openmpi4
jake@suse:~> mpi-selector --query
default:openmpi4
level:user
jake@suse:~> mpirun -V
mpirun (Open MPI) 4.1.4.0.ffb0adcdd677
Report bugs to http://www.open-mpi.org/community/help/
jake@suse:~>
Please check you environment and let me know. Thank you.
Thanks for your response. I have checked the MPI version. But why there is no "libmpi.so.20" library.
Best Regard.
Which version of solver binary are you using? Is it the latest solvers_linux_NF24.1.4.tar.xz?
Yes, is the latest solvers_linux_NF24.1.4.tar.xz
I find a similar library which I have, called "libmpi.so.40"
Yes, That should be in your LIBRARY path.
You may check it like following.
Please note that the part of /home/jake/workspace/baram
should be changed accordingly.
jake@suse:~/workspace/baram> export WM_PROJECT_DIR=/home/jake/workspace/baram/solvers/openfoam
jake@suse:~/workspace/baram> export LD_LIBRARY_PATH=$WM_PROJECT_DIR/lib/sys-openmpi:$WM_PROJECT_DIR/lib:$WM_PROJECT_DIR/lib/dummy:$WM_PROJECT_DIR/tlib:$LD_LIBRARY_PATH
jake@suse:~/workspace/baram> export PATH=$WM_PROJECT_DIR/bin:$PATH
jake@suse:~/workspace/baram>
jake@suse:~/workspace/baram> ldd solvers/openfoam/bin/snappyHexMesh
linux-vdso.so.1 (0x00007fff4a9b5000)
libfiniteVolume.so => /home/jake/workspace/baram/solvers/openfoam/lib/libfiniteVolume.so (0x00007f6b55a00000)
libfileFormats.so => /home/jake/workspace/baram/solvers/openfoam/lib/libfileFormats.so (0x00007f6b55600000)
libsurfMesh.so => /home/jake/workspace/baram/solvers/openfoam/lib/libsurfMesh.so (0x00007f6b55000000)
libmeshTools.so => /home/jake/workspace/baram/solvers/openfoam/lib/libmeshTools.so (0x00007f6b54400000)
libdynamicMesh.so => /home/jake/workspace/baram/solvers/openfoam/lib/libdynamicMesh.so (0x00007f6b53c00000)
libfvMotionSolvers.so => /home/jake/workspace/baram/solvers/openfoam/lib/libfvMotionSolvers.so (0x00007f6b53600000)
libdecompositionMethods.so => /home/jake/workspace/baram/solvers/openfoam/lib/libdecompositionMethods.so (0x00007f6b53200000)
libkahipDecomp.so => /home/jake/workspace/baram/solvers/openfoam/lib/dummy/libkahipDecomp.so (0x00007f6b52e00000)
libmetisDecomp.so => /home/jake/workspace/baram/solvers/openfoam/lib/dummy/libmetisDecomp.so (0x00007f6b52a00000)
libptscotchDecomp.so => /home/jake/workspace/baram/solvers/openfoam/lib/sys-openmpi/libptscotchDecomp.so (0x00007f6b52600000)
libscotchDecomp.so => /home/jake/workspace/baram/solvers/openfoam/lib/libscotchDecomp.so (0x00007f6b52200000)
libdecompose.so => /home/jake/workspace/baram/solvers/openfoam/lib/libdecompose.so (0x00007f6b51c00000)
libreconstruct.so => /home/jake/workspace/baram/solvers/openfoam/lib/libreconstruct.so (0x00007f6b51800000)
libsnappyHexMesh.so => /home/jake/workspace/baram/solvers/openfoam/lib/libsnappyHexMesh.so (0x00007f6b51200000)
libOpenFOAM.so => /home/jake/workspace/baram/solvers/openfoam/lib/libOpenFOAM.so (0x00007f6b50200000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f6b58af1000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f6b4ffbb000)
libm.so.6 => /lib64/libm.so.6 (0x00007f6b586b4000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6b58acb000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6b58aa7000)
libc.so.6 => /lib64/libc.so.6 (0x00007f6b53009000)
libPstream.so => /home/jake/workspace/baram/solvers/openfoam/lib/sys-openmpi/libPstream.so (0x00007f6b4fc00000)
libextrudeModel.so => /home/jake/workspace/baram/solvers/openfoam/lib/libextrudeModel.so (0x00007f6b4f800000)
libfvOptions.so => /home/jake/workspace/baram/solvers/openfoam/lib/libfvOptions.so (0x00007f6b4f000000)
libscotch.so => /home/jake/workspace/baram/solvers/openfoam/tlib/libscotch.so (0x00007f6b4ec00000)
libptscotch.so => /home/jake/workspace/baram/solvers/openfoam/tlib/libptscotch.so (0x00007f6b4e800000)
libptscotcherrexit.so => /home/jake/workspace/baram/solvers/openfoam/tlib/libptscotcherrexit.so (0x00007f6b4e400000)
librt.so.1 => /lib64/librt.so.1 (0x00007f6b58a99000)
libmpi.so.20 => not found
libscotcherrexit.so => /home/jake/workspace/baram/solvers/openfoam/tlib/libscotcherrexit.so (0x00007f6b4e000000)
liblagrangian.so => /home/jake/workspace/baram/solvers/openfoam/lib/liblagrangian.so (0x00007f6b4dc00000)
libsampling.so => /home/jake/workspace/baram/solvers/openfoam/lib/libsampling.so (0x00007f6b4d400000)
liboverset.so => /home/jake/workspace/baram/solvers/openfoam/lib/liboverset.so (0x00007f6b4ce00000)
libdistributed.so => /home/jake/workspace/baram/solvers/openfoam/lib/libdistributed.so (0x00007f6b4ca00000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00007f6b58a7e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6b58b22000)
libmpi.so.40 => /usr/lib64/mpi/gcc/openmpi4/lib64/libmpi.so.40 (0x00007f6b554c5000)
libblockMesh.so => /home/jake/workspace/baram/solvers/openfoam/lib/libblockMesh.so (0x00007f6b4c600000)
libfluidThermophysicalModels.so => /home/jake/workspace/baram/solvers/openfoam/lib/libfluidThermophysicalModels.so (0x00007f6b4b800000)
libsolidThermo.so => /home/jake/workspace/baram/solvers/openfoam/lib/libsolidThermo.so (0x00007f6b4b400000)
libturbulenceModels.so => /home/jake/workspace/baram/solvers/openfoam/lib/libturbulenceModels.so (0x00007f6b4ae00000)
libincompressibleTurbulenceModels.so => /home/jake/workspace/baram/solvers/openfoam/lib/libincompressibleTurbulenceModels.so (0x00007f6b4a800000)
libcompressibleTurbulenceModels.so => /home/jake/workspace/baram/solvers/openfoam/lib/libcompressibleTurbulenceModels.so (0x00007f6b4a200000)
libreactionThermophysicalModels.so => /home/jake/workspace/baram/solvers/openfoam/lib/libreactionThermophysicalModels.so (0x00007f6b49000000)
libincompressibleTransportModels.so => /home/jake/workspace/baram/solvers/openfoam/lib/libincompressibleTransportModels.so (0x00007f6b48c00000)
libmpi.so.20 => not found
libmpi.so.20 => not found
libdynamicFvMesh.so => /home/jake/workspace/baram/solvers/openfoam/lib/libdynamicFvMesh.so (0x00007f6b48800000)
libopen-rte.so.40 => /usr/lib64/mpi/gcc/openmpi4/lib64/libopen-rte.so.40 (0x00007f6b55948000)
libopen-pal.so.40 => /usr/lib64/mpi/gcc/openmpi4/lib64/libopen-pal.so.40 (0x00007f6b54f06000)
libcompressibleTransportModels.so => /home/jake/workspace/baram/solvers/openfoam/lib/libcompressibleTransportModels.so (0x00007f6b48400000)
libspecie.so => /home/jake/workspace/baram/solvers/openfoam/lib/libspecie.so (0x00007f6b47c00000)
libthermophysicalProperties.so => /home/jake/workspace/baram/solvers/openfoam/lib/libthermophysicalProperties.so (0x00007f6b47800000)
libsolidSpecie.so => /home/jake/workspace/baram/solvers/openfoam/lib/libsolidSpecie.so (0x00007f6b47400000)
libradiationModels.so => /home/jake/workspace/baram/solvers/openfoam/lib/libradiationModels.so (0x00007f6b46e00000)
libtwoPhaseMixture.so => /home/jake/workspace/baram/solvers/openfoam/lib/libtwoPhaseMixture.so (0x00007f6b46a00000)
libevent_core-2.1.so.6 => /usr/lib64/libevent_core-2.1.so.6 (0x00007f6b46600000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007f6b58a70000)
libevent_pthreads-2.1.so.6 => /usr/lib64/libevent_pthreads-2.1.so.6 (0x00007f6b46200000)
libSLGThermo.so => /home/jake/workspace/baram/solvers/openfoam/lib/libSLGThermo.so (0x00007f6b45e00000)
jake@suse:~/workspace/baram>
I got completed same result as you. "libmpi.so.20 => not found"
The point is libmpi.so.40
, and you have it like me according to your capture.
I will look into it in detail in my side and will inform you when I get something.
Hi, @bladesaber. I found that the solver was compiled with wrong library, and I've updated BARAM and corresponding solver.
Would you please try again?
Thans for all work. It is complete right now. Is it possible to export the mesh as cgns/msh file?
I'm glad to hear that it's ok. By the way, exporting as CGNS format is not supported. I'm sorry for that.
Thank you very much. Baram is a pretty great package for my project. 👍
Describe the bug When I clicked the refine button in step 4(Castellation), an error "missing 1 required positional argument: returncode". Figure below:
To Reproduce follow steps of tutorial example "Mixing Pipe"
Desktop (please complete the following information):
Additional context Add any other context about the problem here.