|
[Sponsors] |
August 23, 2019, 05:06 |
OpenFOAM Termination
|
#1 |
New Member
Raj Chaudhary
Join Date: Aug 2019
Posts: 1
Rep Power: 0 |
I have a bash script which executes OpenFOAM and later kills the Virtual Machine once OpenFOAM gets done even if OpenFOAM results in an error. But for this particular case / error, the Virtual Machine never gets killed and is stuck at OpenFOAM even though OpenFOAM logs reveal an error and OpenFOAM processing being stuck. I guess it's because OpenFOAM never exits? Not sure.
My bash script looks similar to below: echo openfoam started mpirun --allow-run-as-root -np 4 simpleFoam -parallel &>> log.txt echo openfoam ended # VM termination commands go here Also find attached log.txt which logs OpenFOAM output. What is the best way to know that OpenFOAM is stuck with some error and has stopped processing and I should go ahead and kill the Virtual Machine from bash? And why does this script work for all other cases even when they result in an error but fails with this particular case? Thanks in advance. |
|
|
|
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 Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 06:15 |
OpenFOAM Foundation releases OpenFOAM 2.2.2 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | October 14, 2013 07:18 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |
The OpenFOAM extensions project | mbeaudoin | OpenFOAM | 16 | October 9, 2007 09:33 |