Hi Victor,

I don't know exactly what is causing this but I would bet that it's related to 
the fix we applied in

https://github.com/dealii/dealii/pull/10287

namely, some other package (I'm working from memory here, but I think it's 
Trilinos) defines its own LAPACK wrappers in a slightly different way (they put 
const in different places or something like that).

I don't use ASPECT but I suspect commenting out the inclusion of 
full_matrix.templates.h might resolve the issue. Someone who uses ASPECT should 
take a look.

Best,
David Wells
________________________________
From: dealii@googlegroups.com <dealii@googlegroups.com> on behalf of Victor 
Eijkhout <eijkh...@tacc.utexas.edu>
Sent: Wednesday, January 20, 2021 8:07 PM
To: deal.II User Group <dealii@googlegroups.com>
Subject: [deal.II] More than one instance of _axpy

```
[ 43%] Building CXX object 
CMakeFiles/aspect.dir/source/particle/interpolator/bilinear_least_squares.cc.o
In file included from 
/opt/apps/intel18/cray_mpich_7_7/dealii/9.2.0/include/deal.II/lac/full_matrix.templates.h(33),
                 from 
/work/00434/eijkhout/lonestar/aspect/aspect-2.2.0/source/particle/interpolator/bilinear_least_squares.cc(27):
/opt/apps/intel18/cray_mpich_7_7/dealii/9.2.0/include/deal.II/lac/lapack_templates.h(31):
 error: more than one instance of overloaded function "saxpy_" has "C" linkage
    saxpy_(const dealii::types::blas_int *n,
    ^

In file included from 
/opt/apps/intel18/cray_mpich_7_7/dealii/9.2.0/include/deal.II/lac/full_matrix.templates.h(33),
                 from 
/work/00434/eijkhout/lonestar/aspect/aspect-2.2.0/source/particle/interpolator/bilinear_least_squares.cc(27):
/opt/apps/intel18/cray_mpich_7_7/dealii/9.2.0/include/deal.II/lac/lapack_templates.h(39):
 error: more than one instance of overloaded function "daxpy_" has "C" linkage
    daxpy_(const dealii::types::blas_int *n,
    ^
```

I get this when installing Aspect on our Cray. On the Dell/intel cluster it 
works fine.

And as hard as I look at that file, I can not see how it sees more than one 
instance of those functions.


--
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<mailto:dealii+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/101a662d-44d9-404f-9ccd-b6d3ddf9ea61n%40googlegroups.com<https://groups.google.com/d/msgid/dealii/101a662d-44d9-404f-9ccd-b6d3ddf9ea61n%40googlegroups.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/BN7PR03MB4356D1BFC989F6A47E72F4FEEDA10%40BN7PR03MB4356.namprd03.prod.outlook.com.

Reply via email to