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 compilation issue on Mac and unused variable warning. #28

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

rhornung67
Copy link
Member

@rhornung67 rhornung67 commented Aug 13, 2024

Fixes #27

and squashes a build warning...

Ping @cyrush (I can't add you as a reviewer 😢 )

@cyrush
Copy link
Member

cyrush commented Aug 13, 2024

[Intermediate_Tutorial/01-SEQ/fractal-ex1-RAJA-seq.cpp](https://github.com/LLNL/raja-suite-tutorial/pull/28/files#diff-be9457cf8237dffb6451e915d799fe185a180824262a89ab86fe87d3e74744e9)

Also has a malloc at the top.

@cyrush
Copy link
Member

cyrush commented Aug 13, 2024

Here is a patch that fixes the remaining issues on macOS:

macos.patch

The cuda issue:

linux doesn't care if you try to link arbitrary libs and they aren't found - but macOS (and windows) won't allow this.
Explains why it is not an issue on linux HPC systems even when cuda is off.

Copy link
Member

@artv3 artv3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rhornung67 !

@artv3 artv3 merged commit cc2cf52 into main Sep 1, 2024
1 check passed
@artv3 artv3 deleted the task/rhornung67/compile-fixes branch September 1, 2024 20:30
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

Successfully merging this pull request may close these issues.

macOS build issues
3 participants