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

Expose nvcc --objdir-as-tempdir? #4245

Open
timrlaw opened this issue Nov 24, 2024 · 0 comments · May be fixed by #4246
Open

Expose nvcc --objdir-as-tempdir? #4245

timrlaw opened this issue Nov 24, 2024 · 0 comments · May be fixed by #4246

Comments

@timrlaw
Copy link

timrlaw commented Nov 24, 2024

Hi,

I was wondering if there was any appetite for exposing nvcc's --objdir-as-tempdir option as an AMReX CMake option. We'd quite like to use this option in our project, as the default puts things in /tmp which is open to clashes between users compiling the same code on a shared node, and also liable to fill up /tmp as nvcc doesn't always clean up when Ctrl-C'ing builds.

It would seem cleanest to add this option at the AMReX level so it is applied consistently across the whole code.

I've made an accompanying PR that implements this.

@timrlaw timrlaw linked a pull request Nov 24, 2024 that will close this issue
5 tasks
@WeiqunZhang WeiqunZhang linked a pull request Nov 25, 2024 that will close this issue
5 tasks
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 a pull request may close this issue.

1 participant