SU2 7.1.1 Develop Branch fails to build if using Pastix support #1350
Replies: 8 comments 2 replies
-
Mpi4 is not compatible with the version of pastix we support. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the clarification! I use Mpi4 for most of my programs so that's why I built it that way. I followed this guide for pastix: https://solverstack.gitlabpages.inria.fr/pastix/md_docs_doxygen_chapters_Pastix_Runtime.html So I build pastix 6.X.X. I will check the test cases directory though for the instructions. Also how does changing openmpi change c++ command line option ? Thanks 😊 |
Beta Was this translation helpful? Give feedback.
-
Just followed the pastix instructions from the testcase directory. compilation stops at 443/1058 saying error Cannot use PaStiX with forward mode AD. So what am I missing? Also is PasTiX necessary for me to run/use all solvers needed for tutorials/test cases? |
Beta Was this translation helpful? Give feedback.
-
It is useful in the circumstances listed here: |
Beta Was this translation helpful? Give feedback.
-
Thanks for the clarification, so do you know why I got the error saying it cannot be used for forward mode AD? Is that a known limitation or am I missing something ? |
Beta Was this translation helpful? Give feedback.
-
Because it can't be used, we don't support it. |
Beta Was this translation helpful? Give feedback.
-
@pcarruscag So very good news, I compiled successfully on Fedora 34 using GCC-11.2 and OpenMPI-4.1.1 using Scotch-6.0.6 and Pastix-5.2.3. I have attached the relevant config and make-file with my relevant edits for reference. Newer openmpi works if you are willing to edit the CCFLAGS pointing to their bin, lib and include file. Currently had no issues running test cases such as fea and aeroelastic. However I don't know which one specifically uses pastix so i can test that but if you do know, let me know. I disabled forward mode ad during meson config so I didn't run into the error. I also enabled shared libraries for both scotch and pastix. Looking forward to your response =) |
Beta Was this translation helpful? Give feedback.
-
I'm glad you made it work. Like I said it's not needed for simple tutorials. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
When compiling SU2 7.1.1 Blackbird from the Develop Branch with Pastix support, the build fails at Common/src/libSU2CommonAD.a.p/wall_model.cpp.o with a c++ error saying unrecognized command-line-option '-fexceptions;-pthread'.
Here is a snip from the error message:
To Reproduce
Basically I download the develop branch from SU2 7.1.1,
extract it and configure using:
Desktop (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions