Issues with compiling

26 views
Skip to first unread message

daniele.barbera86

unread,
Nov 16, 2021, 11:04:58 AM11/16/21
to MoFEM Q&A
Dear all,

I am experiencing difficulties in compiling the latest version of User Modules. I am working on Lukas/Develop for both UM and Core. I compiled core and installed it without any issue, however when I try to compile UM it gave me this error, which does not end the compiling immediately but after a bit:

/Users/danielebarbera/mofem_install/spack/opt/spack/darwin-bigsur-skylake/apple-clang-11.0.0/mofem-cephas-develop-4mjykge5cdksd62edfydnpykbqxu3jh7/include/finite_elements/BiLinearFormsIntegrators.hpp:544:10: note: 

      candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 4 were provided

  struct OpMixTensorTimesGrad

         ^

/Users/danielebarbera/mofem_install/spack/opt/spack/darwin-bigsur-skylake/apple-clang-11.0.0/mofem-cephas-develop-4mjykge5cdksd62edfydnpykbqxu3jh7/include/finite_elements/BiLinearFormsIntegrators.hpp:544:10: note: 

      candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 4 were provided

/Users/danielebarbera/mofem_install/spack/opt/spack/darwin-bigsur-skylake/apple-clang-11.0.0/mofem-cephas-develop-4mjykge5cdksd62edfydnpykbqxu3jh7/include/finite_elements/BiLinearFormsIntegrators.hpp:544:10: note: 

      candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 4 were provided

1 warning and 2 errors generated.

make[2]: *** [multifield_plasticity/CMakeFiles/multifield_plasticity.dir/multifield_plasticity.cpp.o] Error 1


I pulled all the branches and then run first the installation of the updated core, as did in the past then compiled the UM. But does not matter what I do, I get this error. Could someone help me, since this looks like something I am not getting it right?

Many thanks!

Regards


Daniele

Karol Lewandowski

unread,
Nov 16, 2021, 11:23:08 AM11/16/21
to MoFEM Q&A
The issue is clearly related to the multifield plasticity module, you need to make sure that your branch uses the function that is installed with your lib. It is possible that multifield was not updated to the recent changes, if you check in the source files what those are, you can update the module yourself I believe.
Are you 100% positive that you compiled AND installed your libraries? 

daniele.barbera86

unread,
Nov 16, 2021, 11:49:48 AM11/16/21
to MoFEM Q&A
I think I did but will check it again. For sure I did the core, then did the UM as I usually do... will check again
Reply all
Reply to author
Forward
0 new messages