|
[Sponsors] |
June 5, 2023, 14:37 |
how to use ProfilingSummary
|
#1 |
New Member
Kate Wilson
Join Date: Jun 2023
Posts: 2
Rep Power: 0 |
Hi, I want to do profiling for solver and assembler. I found that in OpenFOAM v2212, there is a post processing command called profilingSummary. The document is attached.
I am using it like this: (1) copy one example to my path: cd $FOAM_RUN cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDaily . (2) add the following key words in controlDict: profiling { active true; cpuInfo true; memInfo true; sysInfo true; } (3) run the following command: cd pitzDaily blockMesh simpleFoam profilingSummary The profilingSummary is supposed to generate profiling information at the time step marked with writeInterval. If it works, it should generate profiling files in postProcessing/profiling/[YourTimeStep]/profiling. But using my command above, it did not work. I am new to openFOAM, has anyone used profilingSummary before and know how to use it? By the way, where can I check which time steps are marked with writeInterval? |
|
Tags |
profiling, profilingsummary |
|
|