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

Fix OMP link errors in clang and icpx for cudacpp.mk #578

Closed
valassi opened this issue Dec 19, 2022 · 1 comment · Fixed by #596
Closed

Fix OMP link errors in clang and icpx for cudacpp.mk #578

valassi opened this issue Dec 19, 2022 · 1 comment · Fixed by #596
Assignees

Comments

@valassi
Copy link
Member

valassi commented Dec 19, 2022

Fix OMP link errors in clang and icpx for cudacpp.mk

I have reenable OMP in cudacpp. It works in gcc, but link fails in icpx and clang.

Note that the fortran madevent links ok on both clang and icpx instead with openmp, it is only cudacpp that gives issues.

Note that there is a choice of linkers: gcc, nvcc or gfortran are used in different targets, for instance I think the madeent uses gfortran/FC.

I have fixed icpx without cuda, but not with cuda. As for clang I am not sure (I fixed icpx with static-intel, so not a clang solution)

valassi added a commit to valassi/madgraph4gpu that referenced this issue Dec 19, 2022
valassi added a commit to valassi/madgraph4gpu that referenced this issue Dec 19, 2022
@valassi valassi self-assigned this Feb 24, 2023
valassi added a commit to valassi/madgraph4gpu that referenced this issue Feb 24, 2023
I added -lomp because "ldd check.exe" showed that libomp was used
valassi added a commit to valassi/madgraph4gpu that referenced this issue Feb 24, 2023
I added -liomp5 because "ldd check.exe" showed that libomp was used
(probably -lomp would have been ok too, but there was a risk of mixing things up...)
valassi added a commit to valassi/madgraph4gpu that referenced this issue Feb 24, 2023
@valassi
Copy link
Member Author

valassi commented Feb 24, 2023

This is fixed by MR #596

@valassi valassi closed this as completed Feb 24, 2023
valassi added a commit to valassi/madgraph4gpu that referenced this issue Feb 24, 2023
valassi added a commit to valassi/madgraph4gpu that referenced this issue Mar 9, 2023
valassi added a commit to valassi/madgraph4gpu that referenced this issue Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant