I installed the OpenFoam plugin with OpenFoam 5.0. I compiled it with OpenMP support enabled (-fopenmp).
So far I have not been able to run a case. I included the created paralutionsSolver.so (including paralution_PCG, paralution_AMG, paralution_PBiCG, paralution_PGMRES in the controlDict, and updated the fvSolution file according to the examples, paralution_PCG for p (symmetric matrix), U etc. paralution_PBiCG or paralution_AMG (asymmetric matrices).
It’s a steady state (simplefoam) case. I’ve never used OpenMP before and read, that I have to export the number of threads to be used?!
What’s the syntax / what are the steps (including to trigger OpenMP) to run a case using the 8 threads of the CPU through OpenMP?