Hi Timo,

here follows a short update on my previous post.

By investigating the the cmake module CheckCXXFeatures.cmake, it was found that libc++abi was missing on the server. After installing the package libc++abi-dev on the server, dune-control actually made some progress in the build-process.

It was able to build the dune-common module, then it started on

[ 83%] Building CXX object np/algebra/CMakeFiles/algebra2.dir/blasm.cc.o
/scratch/fcihh/dune/dune-uggrid/np/algebra/blasm.cc:408:19: warning: cast from 'char *' to 'DOUBLE *' (aka 'double *') increases required alignment from 1 to 8 [-Wcast-align]
          M_ptr = (DOUBLE *) ((char *) mat + M_start_off_D);
/scratch/fcihh/dune/dune-uggrid/np/algebra/blasm.cc:1237:36: error: unexpected type name 'MATRIX': expected expression
      M_start_off[type] = offsetof(MATRIX, value)

And there follows several errors regarding unexpected type name for

Then dune control aborts with the message:

61 warnings and 14 errors generated.
make[2]: *** [np/algebra/CMakeFiles/algebra2.dir/blasm.cc.o] Error 1
make[1]: *** [np/algebra/CMakeFiles/algebra2.dir/all] Error 2
make: *** [all] Error 2
--- Failed to build dune-uggrid ---
Terminating dunecontrol due to previous errors!

Best regards,
Håkon Hægland

Dumux mailing list

Reply via email to