Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vt build on Vortex with nvcc fails #1790

Closed
PhilMiller opened this issue May 10, 2022 · 1 comment · Fixed by #1791
Closed

vt build on Vortex with nvcc fails #1790

PhilMiller opened this issue May 10, 2022 · 1 comment · Fixed by #1791
Assignees

Comments

@PhilMiller
Copy link
Member

Describe the bug

With this:

$ module list

Currently Loaded Modules:
  1) StdEnv                        (S)   4) sparc-tools/aerotools/3       7) sparc-cmake/3.19.4            10) cuda/10.1.243                                    13) cmake/3.18.0
  2) sparc-tools/python/3.7.9            5) sparc-tools/taos/2020.09.04   8) gcc/7.3.1                     11) lapack/3.8.0-gcc-4.9.3                           14) git/2.20.0
  3) sparc-tools/exodus/2021.11.26       6) bsub-wrapper/1.0              9) spectrum-mpi/rolling-release  12) sparc-dev/cuda-10.1.243_gcc-7.3.1_spmpi-rolling  15) null

Compilation of vt fails with an ICE in GCC:

./../src/vt/vrt/collection/manager.impl.h:1586:1: internal compiler error: in maybe_undo_parenthesized_ref, at cp/semantics.c:1705

This is a known issue in which nvcc generates host code that triggers a bug in GCC.

To Reproduce
Steps to reproduce the behavior:

  1. Example/test/snippet of code that fails
  2. Compiler, platform, libraries
  3. Run command: number of processors, threading options, etc.
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):

  • Supercomputer or desktop [e.g., Trinity, Sierra)
  • Compiler environment [e.g., clang-3.9, gcc8]
  • Libraries [e.g., mpich-2, openmpi)
  • Commit ID or release of VT [e.g., vt-1.0.0]

Additional context
Add any other context about the problem here.

@PhilMiller PhilMiller self-assigned this May 10, 2022
@PhilMiller
Copy link
Member Author

I just tested that module swap gcc gcc/8.3.1 lets the build succeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant