Compilation error in dealii development version (version 9.1.0-pre, shortrev 7537ea7) using intel/18.0.2 compiler

31 views
Skip to first unread message

Sambit Das

unread,
Aug 31, 2018, 2:22:48 AM8/31/18
to deal.II User Group
Dear all,

I am trying to compile the latest development version of dealii (version 9.1.0-pre, shortrev 7537ea7) using intel/18.0.2, intelmpi and cmake/3.10.2.

During compilation I get the following error:

/work/05316/dsambit/publicSharedSoftware/dealiiDevLatest/dealii/source/multigrid/mg_transfer_matrix_free.cc(356): error: expression must have a constant value
    constexpr unsigned int three_to_dim = Utilities::pow(3, dim);

I have attached the detailed.log file. 

 I am wondering if I am missing any compilation flags, or whether this is an intel compiler issue.

Thanks a lot in advance,

Best,
Sambit
detailed.log

Daniel Arndt

unread,
Aug 31, 2018, 5:41:16 AM8/31/18
to deal.II User Group
Sambit,

Thanks for reporting!
Can you try if https://github.com/dealii/dealii/pull/7134 works for you?

Best,
Daniel

Sambit Das

unread,
Aug 31, 2018, 5:39:51 PM8/31/18
to deal.II User Group
Dr. Arndt,

Thank you for creating the patch. I am now able to compile and install the patched branch with intel/18.0.2 compiler.

Best,
Sambit
Reply all
Reply to author
Forward
0 new messages