Undefined Reference Errors When Using Demo #13195
-
When making sample code with the files provided in the simpleBuildAgainstTrilinos folder, I ran into undefined reference errors on compilation. Manually inserting |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@bartlettroscoe @sebrowne Any ideas/suggestions for Ian? |
Beta Was this translation helpful? Give feedback.
-
@NyquilDreams, there are automated Trilinos tests that install Trilinos and then build the simpleBuildAgainstTrilinos CMake project against it. You can see these tests at: Trilinos/packages/TrilinosInstallTests/CMakeLists.txt Lines 226 to 261 in d2ba0c3 I wish I could show you the results of that test running on CDash but Trilinos does not currently have public CDash site to submit results to (so you will have to take my word for it that this test passes in all of the automated Trilinos builds). Can you please attach your Trilinos configure script calling cmake, the STDOUT+STDERR output from the |
Beta Was this translation helpful? Give feedback.
-
It turns out that CMakeLists.txt was simply missing MueLu and Xpetra in the list of components. Editing this line fixed the issue. |
Beta Was this translation helpful? Give feedback.
It turns out that CMakeLists.txt was simply missing MueLu and Xpetra in the list of components. Editing this line fixed the issue.
find_package(Trilinos REQUIRED COMPONENTS Teuchos Tpetra MueLu Xpetra)