On 6/7/21 10:35 AM, Alex Cumberworth wrote:

make[2]: *** No rule to make target '/home/ipausers/cumberworth/lib/libsacado.a', needed by 'lib/libdeal_II.g.so.9.3.0'.  Stop. make[1]: *** [CMakeFiles/Makefile2:3238: source/CMakeFiles/deal_II.g.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

There is libsacado.so in the directory I specified for trilinos libraries. I configured both trilinos and deal.ii to build shared libraries. I also have set

DEAL_II_PREFER_STATIC_LIBS       OFF

I'm not really sure why it seems to only look for the static version of the library.

I don't think that the deal.II configuration specifies this. Check the files under lib/cmake in your Trilinos installation. For example, I find there the following information that deal.II simply imports:

trilinos-12.8.1-mpi/lib> grep -r libsacado *
cmake/Sacado/SacadoTargets-release.cmake: IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libsacado.so.12.8.1" cmake/Sacado/SacadoTargets-release.cmake: IMPORTED_SONAME_RELEASE "libsacado.so.12" cmake/Sacado/SacadoTargets-release.cmake:list(APPEND _IMPORT_CHECK_FILES_FOR_sacado "${_IMPORT_PREFIX}/lib/libsacado.so.12.8.1" )
Binary file libsacado.so matches
Binary file libsacado.so.12 matches
Binary file libsacado.so.12.8.1 matches

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/59c24df0-17d6-5c39-4ef9-9ba5fb722ca8%40colostate.edu.

Reply via email to