Tim Edwards
09/03/2021, 5:51 PMTrilinos was not built with LOCA support in NOX.
Enable the following in the Trilinos build:
-D NOX_ENABLE_LOCA=ON
The problem is that I did add -D NOX_ENABLE_LOCA=ON
to the Trilinos build, and if I look at the configuration file for Trilinos, it seems to indicate that "loca" has been compiled in. So I have no idea what cmake for xyce is complaining about, and since I followed the instructions and got no errors, I have absolutely no idea how to proceed.Matthew Guthaus
09/03/2021, 5:52 PMTim Edwards
09/03/2021, 5:54 PMTim Edwards
09/03/2021, 6:00 PMEric Keiter
09/03/2021, 6:13 PMEric Keiter
09/03/2021, 6:14 PMTim Edwards
09/03/2021, 6:20 PM/bin/ld: //usr/local/lib/libteuchoscore.a(Teuchos_GlobalMPISession.cpp.o): in function `Teuchos::GlobalMPISession::~GlobalMPISession()':
Teuchos_GlobalMPISession.cpp:(.text+0x1b2): undefined reference to `Kokkos::finalize_all()'
/bin/ld: ./.libs/libxyce.a(N_DEV_ReactionNetwork.o): in function `Kokkos::abort(char const*)':
N_DEV_ReactionNetwork.C:(.text._ZN6Kokkos5abortEPKc[_ZN6Kokkos5abortEPKc]+0x14): undefined reference to `Kokkos::Impl::host_abort(char const*)'
collect2: error: ld returned 1 exit status
Any ideas?Eric Keiter
09/03/2021, 6:21 PMTim Edwards
09/03/2021, 6:22 PMEric Keiter
09/03/2021, 6:22 PMEric Keiter
09/03/2021, 6:26 PMEric Keiter
09/03/2021, 6:26 PMTim Edwards
09/03/2021, 8:00 PMKokkos::finalize_all()'
. This is being a persistent and unresolvable error. If there is some package I could disable to work around it, I could try that, but otherwise I have no hints as to why the failure occurs. "finalize_all" appears to be defined in /usr/local/lib/libkokkoscore.a. In the xyce Makefile, I don't see any references to kokkos in the XYCELIBS definition, although there are plenty of references to teuchos, nox, etc.Matthew Guthaus
09/03/2021, 8:01 PMTim Edwards
09/03/2021, 8:05 PMMatthew Guthaus
09/03/2021, 8:17 PMTim Edwards
09/04/2021, 12:40 AMMatthew Guthaus
09/04/2021, 1:25 AMMatthew Guthaus
09/04/2021, 1:29 AMTim Edwards
09/04/2021, 2:28 AMEric Keiter
09/05/2021, 9:24 PMTim Edwards
09/06/2021, 12:12 AM