|
[Sponsors] |
[General] Determining number of cores and/or paraview executable via python |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 9, 2014, 06:54 |
Determining number of cores and/or paraview executable via python
|
#1 |
Member
Join Date: Mar 2009
Posts: 90
Rep Power: 17 |
Hello all,
I am scripting in paraview and would like to suppress certain bits of my python scripts depending on the number of cores (namely oilflow, which often does not work in parallel.) Is there a way in paraview, via python, to access the number of cores? If not, maybe I can determine via python how paraview was launched (pvbatch, vs paraview GUI?). Many thanks! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Decomposing meshes | Tobi | OpenFOAM Pre-Processing | 22 | February 24, 2023 10:23 |
how to increase cores number when we use CFX and ansys solvers | WANGFIRE | CFX | 2 | September 30, 2015 09:56 |
[blockMesh] --> foam fatal error: | lillo763 | OpenFOAM Meshing & Mesh Conversion | 0 | March 5, 2014 11:27 |
DecomposePar unequal number of shared faces | maka | OpenFOAM Pre-Processing | 6 | August 12, 2010 10:01 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |