Hi Håkon,

I think you are going in the right direction of trying to compile on the 
cluster, which should give you less headache then linker issues.

Out of interest, is the server running macOS? I never heard of such 
difficulties installing a C++ 14 conforming compiler with the 
corresponding standard library implementation.

Often compiler packages include the right standard library implementation.

The UGGrid error might be related to a missing BLAS library. However, UG 
should handle this I think. Would you post your problem on the dune 
mailing list? Or open an issue on the dune-uggrid repository with the 
error message when compiling "dune-uggrid/np/algebra/blasm.cc".

You can also try dune-alugrid if you just want an unstructured grid 
implementation.


Best wishes
Timo

On 07.03.2018 11:48, Håkon Hægland wrote:
> 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
> dune-uggrid:
>
> [...]
> [ 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
> MATRIX or VECTOR..
>
> 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
> Dumux@listserv.uni-stuttgart.de
> https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to