Dear Behrooz,
The problem here is that your Trilinos installation includes the
SEACASChaco package. We'd discovered that there's a common global symbol
that both ADOL-C and Trilinos-SEACASChaco emit, which causes some very
strange issues when using ADOL-C. Naturally, we had to make sure that
nobody runs into these troubles, because the symptoms of the issue are
not indicative of the underlying problem and are incredibly difficult to
debug. So although deal.II is picking up the ADOL-C library, deal.II
also detects that Trilinos has the SEACASChaco module enabled and
therefore is doing the safe thing by having the configuration process
fail with an error.
I'm betting that you have a slightly old version of Spack, because we
have some conflicts in place to prevent this "illegal" combination of
packages / package variants from being installed. You can see these
restrictions here:
https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/dealii/package.py#L273-L284
<https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/dealii/package.py#L273-L284>
The way to fix the problem is by recompiling Trilinos without this
package (variant, in Spack parlance) enabled. You can do this in the
following way:
spack install dealii@9.2+adol-c+trilinos ^trilinos~chaco
You'll note that it's also not possible to enable both ADOL-C and
Netcdf, for the same reason, so you actually want to be even more
restrictive:
spack install dealii@9.2+adol-c+trilinos~netcdf
^trilinos~chaco~exodus~netcdf~pnetcdf
I hope that this helps you getting deal.II installed through Spack.
Best,
Jean-Paul
On 08.01.21 08:22, Behrooz Karami wrote:
Dear Everyone,
During installation of deal.ii 9.2 through SPACK I receive the
following error on ADOL-C:
1 error found in build log:
549 -- Could not find a sufficient ADOL-C installation:
Possible symbol
clash between the ADOL-C library and Trilinos'
SEACASChaco detecte
d
550 -- Performing Test ADOLC_DOUBLE_CAST_CHECK
551 -- Performing Test ADOLC_DOUBLE_CAST_CHECK - Success
552 -- Performing Test ADOLC_ADOUBLE_OSTREAM_CHECK
553 -- Performing Test ADOLC_ADOUBLE_OSTREAM_CHECK - Success
554 -- DEAL_II_WITH_ADOLC has unmet external dependencies.
>> 555 CMake Error at
cmake/macros/macro_configure_feature.cmake:112 (MESS
AGE):
This is while 3 versions of ADOL-C are installed (separately and
through SPACK as well) and even deal.ii is detecting one of them as:
==> adol-c is already installed in
/home/behrooz/Spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.3.0/adol-c-develop-omjty56hedqyctgkyppbd5cgszby3fmv
Any idea on what I should do about that?
Thanks very much,
Behrooz
--
The deal.II project is located at http://www.dealii.org/
<http://www.dealii.org/>
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
<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
<mailto:dealii+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/CAPPKNqY0h0ZBUQ_D8tzPOuP_mz7L%3DwaPFUD%2B0dmHgqtCQMwmJA%40mail.gmail.com
<https://groups.google.com/d/msgid/dealii/CAPPKNqY0h0ZBUQ_D8tzPOuP_mz7L%3DwaPFUD%2B0dmHgqtCQMwmJA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
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/cbf82813-5bff-34fd-8da6-679baa96a34c%40gmail.com.