You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling C++ (in opt mode) /data/civet0/build/blackbear/moose/framework/build/unity_src/distributions_Unity.C...
In file included from /data/civet0/build/blackbear/contrib/neml/include/math/rotations.h:5,
from /data/civet0/build/blackbear/contrib/neml/include/elasticity.h:7,
from /data/civet0/build/blackbear/contrib/neml/include/models.h:5,
from /data/civet0/build/blackbear/contrib/neml/include/parse.h:5,
from /data/civet0/build/blackbear/moose/framework/src/utils/InputParameters.C:24,
from /data/civet0/build/blackbear/moose/framework/build/unity_src/utils_Unity.C:28:
/data/civet0/build/blackbear/contrib/neml/include/math/nemlmath.h:19:8: error: conflicting declaration of C function 'void dgetrf_(const int&, const int&, double*, const int&, int*, int&)'
19 | void dgetrf_(const int & m, const int & n, double* A, const int & lda, int* ipiv, int & info);
| ^~~~~~~
In file included from /opt/petsc/include/petscblaslapack.h:72,
from /data/civet0/build/blackbear/moose/framework/src/utils/ColumnMajorMatrix.C:19,
from /data/civet0/build/blackbear/moose/framework/build/unity_src/utils_Unity.C:9:
/opt/petsc/include/petscblaslapack_mangle.h:53:47: note: previous declaration 'void dgetrf_(const PetscBLASInt*, const PetscBLASInt*, PetscReal*, const PetscBLASInt*, PetscBLASInt*, PetscBLASInt*)'
This just happened to me in deer as well. I don’t know what changed. I’m
fine changing my definitions but I guess a better solution would be to do
something more consistent than a hard coded function signature.
It turns out that this was due to a MOOSE change that added a #include "parse.h" to pull in the framework/contrib/hit/parse.h file, which has the same name as neml/include/parse.h. That was fixed yesterday, and blackbear builds again.
These BLAS/Lapack forward declarations conflict with declaration we pull in through PETSc:
neml/include/math/nemlmath.h
Lines 17 to 29 in 65c2ee4
See compile error here: https://civet.inl.gov/job/2140682/
Ping @bwspenc
The text was updated successfully, but these errors were encountered: