Does GAMG solver have something to do with CGAL or boost?
Dear mates,
I have tried to install both OF1812 and the recently released OF1906 on a cluster. However, I cannot manage to use GAMG solver in either versions, not even in the tutorial cases. It gives me error that I cannot understand. Now, my question here, is there a connection between CGAL/boost installation and proper compilation of GAMG solver? I ask because I could not manage to install CGAL/boost. However, OpenFOAM still has remained functional and I can use PCG algorithm and other stuff. Kind Regards, Syavash |
Quick answer: GAMG should not depend on CGAL nor Boost. And if it did, you would likely never been able to run the solver, since it would not have compiled either.
Without being able to see the error message you are seeing, there isn't much we can suggest. My best guess is that perhaps it fails if you try to decompose a 100000 cell case with 200 cores, which results in 500 cells per subdomain, which can easily result in the default GAMG settings for minimum cells in the sub-matrix being larger then the number of faces on a patch. |
Quote:
I agree that I did not provided enough info. Here is the error message I get from executing ./Allrun in tutorial "airfoil2D" from simpleFoam: Code:
Reading field p Regards, Syavash |
Quick answer: I remember seeing this problem in the past and I have a very vague memory that the issue was due to a compiler version problem...
Questions:
|
Quote:
Thanks Bruno, I guess we are in the right track. In response to your questions: 1-The distribution is CentOS 7. 2-I have used Intel compiler/2018a-eb to compile the foam. 3-Yes! I have added the following flags to the "c++" file under 'wmake/rules/linux64Icc': Code:
-Nmpi -Nmkl -xCORE-AVX512 https://www.cfd-online.com/Forums/op...tml#post726627 The other flags I added were recommended by HPC webpage. I had included them also in foam-2.3.1 installation but it was fine there! 4-Well, I have provided the alias I use to call foam 1906 below. There are some other modules but I cannot say that they use compiler options (honestly not sure!). Code:
alias OF19='export FOAM_INST_DIR=/.../.../.../.../Ehsan ; module load buildenv-intel/2018a-eb; module load ParaView/5.4.1-nsc1-gcc-2018a-eb; module load HDF5/1.8.19-nsc1-intel-2018a-eb; export MPI_ROOT=$I_MPI_ROOT; source /.../.../.../.../Ehsan/OpenFOAM-v1906/etc/bashrc WM_NCOMPPROCS=4 WM_COMPILER=Icc WM_MPLIB=INTELMPI' Regards, Syavash |
Quick answers:
|
Quote:
I will recompile foam without those two flags and then report back! Regards, Syavash |
Quote:
Thanks to your help, the issue resolved! I removed those flags and compiled foam from scratch. Now, GAMG works. Regards, Syavash |
🥳 I'm glad that solved out the issue! (Nice, emoji characters seem to work!)
|
All times are GMT -4. The time now is 09:28. |