|
[Sponsors] |
[OpenFOAM.com] Openfoam solvers and snappyHexMesh stopped working in parallel after update |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 17, 2020, 20:24 |
Openfoam solvers and snappyHexMesh stopped working in parallel after update
|
#1 | |
Senior Member
Abe
Join Date: May 2016
Posts: 119
Rep Power: 9 |
Hi everyone,
I recently updated to Fedora 33, and no suddenly I get this error whenever I run snappy or an openFoam solver in parallel: Quote:
I have no idea what this means, or why it is happening. simpleFoam and snappyHexMesh produce the same error! Things still work in serial for some reason. I have tried updating, restarting, running various tutorial files, and keep getting the same behavior. I am not even 100% sure this is an installation issue. I removed the OF binary with dnf, and reinstalled it. Could this be a bug? If it is, it probably can't be reproduced off my computer. Any help would be much appreciated. Thanks |
||
December 17, 2020, 22:04 |
|
#2 |
Senior Member
Abe
Join Date: May 2016
Posts: 119
Rep Power: 9 |
I should clarify what I mean by "suddenly". The programs start ok, and then crash after a short time. For example, snappyHexMesh gets to Feature refinement iteration 2 before it throws the error, which is very strange.
|
|
December 18, 2020, 18:43 |
|
#3 |
Senior Member
Abe
Join Date: May 2016
Posts: 119
Rep Power: 9 |
This is so insanely frustrating! I tried on a smaller casefile to see what would happen, and get a slightly different IO error!
Code:
[4] --> FOAM FATAL IO ERROR: [4] incorrect first token, expected '(', found on line 0: punctuation '[' [4] [4] file: IOstream at line 0. [4] [4] From Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::List<T>&) [with T = Foam::Pair<int>] [4] in file lnInclude/ListIO.C at line 153. [4] FOAM parallel run exiting Here, snappy got further along than before, I think because the mesh is smaller. Its as if something is getting overloaded, causing the crash, and then it sends out and unrelated error from whatever part of the code was currently running. It gives different behavior every time I run it! I just ran it again and snappy made it all the way through, again, and it crashes during castellated, then again and it crashes during the snap! What could possibly cause this?! |
|
December 19, 2020, 10:26 |
|
#4 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40 |
Could be mpi-related.
|
|
December 19, 2020, 21:51 |
|
#5 |
Senior Member
Abe
Join Date: May 2016
Posts: 119
Rep Power: 9 |
I had that thought, and did the brainless thing of just reinstalling it - no change. I am not an expert on MPI, so if anyone has an ideas of how to diagnose, let me know!
Thanks |
|
January 23, 2021, 23:18 |
I am having the same issue but on Fedora 34
|
#6 |
Senior Member
Sultan Islam
Join Date: Dec 2015
Location: Canada
Posts: 137
Rep Power: 10 |
It definitely seems like an mpi issue with the mpi version in fedora 33/34. Best bet is to try to purge and reinstall openmpi and then rerun Allwmake to see if it works. Or go into prefs file to tell Allwmake to use the openmpi given with the third party folder.
|
|
January 25, 2021, 14:53 |
|
#7 |
Senior Member
Abe
Join Date: May 2016
Posts: 119
Rep Power: 9 |
Thanks for the info. I ended up tearing everything down and switching to CentOS to appease IT. Hopefully it is helpful to other Fedora people out there...
|
|
January 25, 2021, 23:52 |
Seems like openmpi in F33 has bugs
|
#8 |
Senior Member
Sultan Islam
Join Date: Dec 2015
Location: Canada
Posts: 137
Rep Power: 10 |
Okay I just build myself the latest OpenMPI (v4.1.0) and it works fine with all openfoam I have (namely 7,8, 1912 and 2012). I think the OpenMPI v 4.04 is bugged
|
|
January 26, 2021, 14:02 |
|
#9 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40 |
||
February 14, 2021, 02:14 |
An update
|
#10 |
Senior Member
Sultan Islam
Join Date: Dec 2015
Location: Canada
Posts: 137
Rep Power: 10 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 5.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 11 | June 5, 2018 23:48 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 05:40 |
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days | joegi.geo | OpenFOAM Announcements from Other Sources | 0 | October 1, 2016 19:20 |
OpenFOAM Foundation Releases OpenFOAM v2.3.0 | opencfd | OpenFOAM Announcements from OpenFOAM Foundation | 3 | December 23, 2014 03:43 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 09:04 |