|
[Sponsors] |
Computational resource requirements of file updates |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 6, 2019, 10:05 |
Computational resource requirements of file updates
|
#1 |
New Member
Martin E.
Join Date: May 2019
Posts: 12
Rep Power: 7 |
Hello everyone!
Before I start explaining, I just want to clarify that this is not technically about a problem I am having, but rather something interesting I have noticed. How I came across this (can be skipped (I want to put this into a spoiler wrapper but do not know if that works here)) I run a MATLAB script that executes SU2 in a loop, (several instances at the same time, starting a new one when a previous one finishes). This led to many command prompts being open and idling after finishing. To avoid that, I decided to have MATLAB execute a batch script that runs SU2 and exits when it finishes. In doing so, I noticed that SU2 was actually about 30% faster (0.37 instead of 0.52 seconds per iteration). However, I ran into the problem that the history file was not being written (and actually, no other file that I was aware of), meaning that it did not work properly. Upon closer examination, I found that my COMODO Internet Security was actually sandboxing the batch script, preventing it from writing to any real location on my computer. After setting up an exception, everything worked, but the computation time was also roughly the same as without the batch script, so no gains there. To summarise: a sandboxed SU2 is much faster than a normal SU2, but does not write any of the vital files. Further investigation
Questions
I am curious to read what more experienced and knowledgeable people think about this. |
|
October 16, 2019, 13:03 |
|
#2 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13 |
The last time I profiled the code (few months back) the output routines barely register (<< 1%)
Is it possible you are writing the output files on every iteration? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using PengRobinsonGas EoS with sprayFoam | Jabo | OpenFOAM Running, Solving & CFD | 36 | July 16, 2024 03:52 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 10:03 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 21:53 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 19:43 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 11:44 |