omp_simd error in step-67 when installing deal.ii 9.2.0 with spack

62 views
Skip to first unread message

Ester Comellas

unread,
Jul 22, 2020, 7:38:52 AM7/22/20
to deal.II User Group
Hi,

I successfully installed the latest deal.ii version on my laptop (MacOSX) and my office computer (Debian GNU/Linux on a WinOS). However, I'm running into issues when trying to install it in the cluster at my university using spack (https://rc.northeastern.edu/systems/hardware-2/).

Looking at the spack build log, the error points to "omp_simd" in line cc:1516 of step-67. I attach a summary of the installation process I followed and the complete build log. Here is an excerpt of the log, where the error is described:

/tmp/ecomellas/spack-stage/spack-stage-dealii-9.2.0-tplhihkkvrmlg5zyapdbsgbxebll4bvq/spack-src/examples/step-67/step-67.cc: In lambda function:
/tmp/ecomellas/spack-stage/spack-stage-dealii-9.2.0-tplhihkkvrmlg5zyapdbsgbxebll4bvq/spack-src/examples/step-67/step-67.cc:1516:9: sorry, unimplemented: unexpected AST of kind omp_simd
         });
         ^
/tmp/ecomellas/spack-stage/spack-stage-dealii-9.2.0-tplhihkkvrmlg5zyapdbsgbxebll4bvq/spack-src/examples/step-67/step-67.cc:1516: confused by earlier errors, bailing out
make[2]: *** [examples/CMakeFiles/step-67.debug.dir/step-67/step-67.cc.o] Error 1

I suppose it is a problem with the packages I'm loading in spack, which aren't compatible with the omp_simd command, but I've already tried everything I could think of. I'd appreciate if someone could point me in the right direction towards solving this issue.

Thanks!
Ester

my-terminal-transcript.rtf
spack-build-out.txt

Jean-Paul Pelteret

unread,
Jul 22, 2020, 12:21:57 PM7/22/20
to dea...@googlegroups.com
Hi Ester,

There’s a quick workaround for this. You should just edit this line of the deal.II spack package:
i.e. make it '-DDEAL_II_COMPONENT_EXAMPLES=OFF’

I’ve also found that unconditionally building the examples might not be the best thing for the spack package, and its a bit frustrating to find a problem right at the end of the build too. So I’ll be pushing a patch to make this an option/variant that will allow one to dynamically control in the future.

I hope that this “solves” the issue for you!

Best,
J-P

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/a9f1b832-2e48-4959-b243-f8da0dd0b32bn%40googlegroups.com.
<my-terminal-transcript.rtf><spack-build-out.txt>

Ester Comellas

unread,
Jul 22, 2020, 2:11:11 PM7/22/20
to deal.II User Group
Thanks, J-P. It worked like a charm! My deal.ii code is now up and running. Thanks once again!

Ester

El dia dimecres, 22 de juliol de 2020 a les 18:21:57 UTC+2, Jean-Paul Pelteret va escriure:
Reply all
Reply to author
Forward
0 new messages