|
[Sponsors] |
Running a simulation in parallel hangs and never starts |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 17, 2022, 14:49 |
Running a simulation in parallel hangs and never starts
|
#1 |
New Member
Benjamin Norris
Join Date: Oct 2020
Location: California
Posts: 17
Rep Power: 6 |
Hi FOAM-ers,
I have a problem that I have not been able to solve through experimentation or google-searching... perhaps someone here has run into this same issue? I have been automating some OpenFOAM runs using a Bash script, which essentially changes directories to a model, and then calls a secondary Bash script to set up the model files and run the model in parallel. I have included example scripts below. The "AutoModelRun" script calls "RunModel" located inside each model folder. (Note these scripts are saved as .txt to be uploaded here). Sometimes, but not every time, the RunModel script will complete the decomposition step and will create the log file for my solver, the CPU load will increase, but the run will not begin and the solver will "hang" in place. I then have to cancel the AutoModelRun script (command+C in Bash), and reset the run. This issue has totally stumped me; I have tried reinstalling OpenFOAM and changing the Windows Firewall settings for MPI, interFoam, and so on. I am using OpenFOAM v-1912 on Ubuntu 18.04 on Windows Subsystem for Linux 2 on a Desktop running Windows 10 Pro, OS Build 19043.1526. Thank you for any and all insight! Ben Last edited by bknorris; March 17, 2022 at 14:52. Reason: Minor edits for clarity. |
|
Tags |
hangs, mpi, parallel |
|
|