Aalto-CFD / DLBFoam

DLBFoam: An open-source dynamic load balancing model for fast reacting flow simulations in OpenFOAM. https://doi.org/10.1016/j.cpc.2021.108073, https://doi.org/10.1063/5.0077437
GNU General Public License v3.0
76 stars 27 forks source link

"FAQ" part to README #4

Closed kahilah closed 3 years ago

kahilah commented 3 years ago

There should be a FAQ part in the README.

For example, from experience I know that when using pyjac, it is very easy to get an error:

/path/to/user/OpenFoam/linux64GccDPInt32Opt/lib/libchemistryModel_DLB.so:
 undefined symbol: eval_h

README should state that in this occasion you pyjac library linkin is not established. Fix it like ....

blttkgl commented 3 years ago

Hey folks, please comment here the most common error/warning messages you encounter when you forget to set something properly. @drhcelik perhaps you can get the ball rolling? For instance one common issue is the tutorial hanging in parallel because the user have both openblas and lapacke installed.

Can we assign this (and other tickets) to individuals and set deadlines if possible? We should be clearing tickets as they come to avoid becoming legacy code in a year or so.

Bulut

drhcelik commented 3 years ago

Well, in addition to your comments, I can add this warning: could not open file mkl_lapack.h for source file ODESolvers/seulex_LAPACK/seulex_LAPACK.C due to No such file or directory

moreff commented 3 years ago

Hi, thank you for your comments. I'll reproduce these warnings on my machine and add these to the readme. We will handle this issue along with others as soon as possible

blttkgl commented 3 years ago

@drhcelik that is not exactly a warning. There is a if else statement in the ODE class looking to see if you want to compile MKL or non-MKL. If you compile non-MKL, everything is fine but it still tries to find the mkl_lapack.h file within the if statement. I'm pretty sure there is a more elegant way to solve this. Maybe @kahilah can suggest something.

drhcelik commented 3 years ago

Exactly @blttkgl, but maybe it can be ignored by a DLBFoam beginner level user safely till we find a better solution.

I was trying to get rid of that warning when I compiled DLBFoam for the first time as I didn't know this and I realized that if statement a bit later.

kahilah commented 3 years ago

It boils down to OpenFoam's wmake system (not the best one around) which produces this "feature".

moreff commented 3 years ago

FAQ section is now added to readme