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

Build failures when link MFMG/no CUDA against DealII/CUDA #65

Open
aprokop opened this issue May 3, 2018 · 2 comments
Open

Build failures when link MFMG/no CUDA against DealII/CUDA #65

aprokop opened this issue May 3, 2018 · 2 comments

Comments

@aprokop
Copy link
Collaborator

aprokop commented May 3, 2018

<snip>
/usr/local/cuda-8.0/lib64/libcusolver.so: undefined reference to `GOMP_parallel_start'
/usr/local/cuda-8.0/lib64/libcusolver.so: undefined reference to `GOMP_critical_end'
<snip>

-fopenmp flag is present in the link, and is after cusolver. DealII was installed through spack. This does not happen when DealII is installed independently.

Enabling CUDA in MFMG leads to successful linking.

@Rombur
Copy link
Collaborator

Rombur commented May 3, 2018

Yeah there is a bug with the current development version of dealii where -fopenmp is not passed correctly when cusolver is used https://cdash.kyomu.43-1.org/testDetails.php?test=8527129&build=1390 I am hoping to fix it this week end.

@masterleinad
Copy link
Collaborator

I am seeing similar issues if deal.II is built with CUDA support, but mfmg isn't.

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

No branches or pull requests

3 participants