|
[Sponsors] |
July 6, 2021, 04:10 |
Error when running OpenFOAM parallel on WSL
|
#1 |
New Member
Youjiang Wang
Join Date: Apr 2015
Location: Hamburg
Posts: 22
Rep Power: 11 |
I installed OpenSUSE on Windows 10 WSL. The OpenFOAM version is 2012. The openmpi works fine with the test
Code:
mpirun -np 2 echo "test" Code:
runParallel simpleFoam Code:
mpirun -np 4 simpleFoam -parallel Code:
[T20404-LR004:11920:0:11920] Caught signal 11 (Segmentation fault: address not mapped to object at address 0xfffffffffffffff0) ==== backtrace ==== 0 /usr/lib64/libucs.so.0(+0x1b300) [0x7f4a7173b300] 1 /usr/lib64/libucs.so.0(+0x1b4b2) [0x7f4a7173b4b2] 2 /usr/lib64/libfabric.so.1(+0x24a0e) [0x7f4a733d4a0e] 3 /usr/lib64/libfabric.so.1(+0x194c0) [0x7f4a733c94c0] 4 /usr/lib64/libfabric.so.1(fi_getinfo+0x47d) [0x7f4a733c9edd] 5 /usr/lib64/libfabric.so.1(fi_getinfo+0x4d) [0x7f4a733ced1d] 6 /usr/lib64/mpi/gcc/openmpi/lib64/openmpi/mca_mtl_ofi.so(+0x3ac5) [0x7f4a710e3ac5] 7 /usr/lib64/mpi/gcc/openmpi/lib64/libmpi.so.12(ompi_mtl_base_select+0xa0) [0x7f4a7f3feed0] 8 /usr/lib64/mpi/gcc/openmpi/lib64/openmpi/mca_pml_cm.so(+0x3d3a) [0x7f4a72263d3a] 9 /usr/lib64/mpi/gcc/openmpi/lib64/libmpi.so.12(mca_pml_base_select+0x5a1) [0x7f4a7f406e41] 10 /usr/lib64/mpi/gcc/openmpi/lib64/libmpi.so.12(ompi_mpi_init+0x5a0) [0x7f4a7f3b9520] 11 /usr/lib64/mpi/gcc/openmpi/lib64/libmpi.so.12(PMPI_Init_thread+0x118) [0x7f4a7f3d7d48] 12 /opt/OpenFOAM/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/lib/sys-openmpi/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x84) [0x7f4a81d0e734] 13 /opt/OpenFOAM/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x975) [0x7f4a833a59d5] 14 simpleFoam() [0x424f54] 15 /lib64/libc.so.6(__libc_start_main+0xea) [0x7f4a81f40f8a] 16 simpleFoam() [0x429b6a] -------------------------------------------------------------------------- mpirun noticed that process rank 0 with PID 11920 on node T20404-LR004 exited on signal 11 (Segmentation fault). -------------------------------------------------------------------------- Code:
simpleFoam -parallel I checked some relative threads but did not find the solution. Does anyone have idea to solve it? Thanks in advance. Last edited by wyj216; July 7, 2021 at 03:12. |
|
July 7, 2021, 04:10 |
|
#2 |
New Member
Youjiang Wang
Join Date: Apr 2015
Location: Hamburg
Posts: 22
Rep Power: 11 |
I just solved it by upgrading openSUSE from 15.1 to 15.3. If anyone faces the same problem, here is the link to upgrade openSUSE
https://www.cyberciti.biz/faq/how-to...using-the-cli/ And it worked in windowns WSL. |
|
Tags |
parallel, windows, wsl |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Running OpenFOAM in parallel in WSL with Ubuntu bash | FlyFox | OpenFOAM Running, Solving & CFD | 7 | March 17, 2020 11:08 |
Large test case for running OpenFoam in parallel | fhy | OpenFOAM Running, Solving & CFD | 23 | April 6, 2019 10:55 |
looking for instructions on using a cluster and running openFoam in parallel | a.Asadi | OpenFOAM Running, Solving & CFD | 3 | December 14, 2015 04:38 |
Running Error using Compressible OpenFoam Parallel mode | dhendria | OpenFOAM Running, Solving & CFD | 0 | February 13, 2014 21:53 |