Alex,

I think this is a problem related to the cluster's OS. On Cray XC50, I had
to explicitly set the link type to dynamic before installation, because by
default Cray does a static link. I had to set

export XTPE_LINK_TYPE=dynamic
export CRAYPE_LINK_TYPE=dynamic

before the installation. You can try and see if anything similar is
happening.

Regards,
Vachan

On Mon, 7 Jun 2021 at 22:34, Wolfgang Bangerth <[email protected]>
wrote:

> 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:                 [email protected]
>                             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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/59c24df0-17d6-5c39-4ef9-9ba5fb722ca8%40colostate.edu
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CALAVa_yf8y1_7Q9i5K2uZv-%2BO6%3DLwFa9tVwxg88C8f%2BPM8HEkw%40mail.gmail.com.

Reply via email to