-
Notifications
You must be signed in to change notification settings - Fork 407
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
Complete earlier TMPDIR change #3792
Conversation
Can one of the admins verify this patch? |
OK to test |
This terribly failed any idea why? |
Hmmm I'm unable to replicate the failure, though it does appear to be my fault. I'll try harder :( |
Is there any way to re-trigger the build? |
I would not expect simply retriggering would fix all the CI errors since the error messages look similar to:
Of course, you can just push another potential fix to retrigger. |
I am aware that I likely caused the error (and that it's a real error), but I'm unable to replicate it in my local testing environment. Is there any way for me to get to the CMakeFiles for this CI build, or is the workspace cleaned/inaccessible? I'll rebase it to pull in any other changes as well. |
No, the build directories are not available but you can see one of the failing configurations in Lines 293 to 331 in 897b79d
where the corresponding Docker file is https://github.com/kokkos/kokkos/blob/develop/scripts/docker/Dockerfile.nvcc.
|
Awesome, that's helpful. I'll keep trying to get this fixed up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I think the issue here lies in:
Line 94 in 1fb0c28
if [[ ! -z ${NVCC_WRAPPER_TMPDIR+x} ]]; then |
because if I run:
if [[ ! -z ${NVCC_WRAPPER_TMPDIR+x} ]]; then
temp_dir=${TMPDIR:-/tmp}
else
temp_dir=${NVCC_WRAPPER_TMPDIR+x}
fi
in my terminal with no env variables set, echo $temp_dir
is empty. I think it is supposed to be if [[ -z ${NVCC_WRAPPER_TMPDIR+x} ]]
instead of if [[ ! -z ${NVCC_WRAPPER_TMPDIR+x} ]]
because if I change the ! -z
(which really should be -n
) to -z
, then I have $temp_dir
set to $TMPDIR
in my environment and it looks like you are expecting $temp_dir
to always be set.
Retest this please. |
1 similar comment
Retest this please. |
This needs to target the develop branch |
This PR needs to be rebased on develop. That should fix the conflicts. |
I forgot to actually set TMPDIR on the invocation of the compiler (the other change just set it for the nvcc_wrapper temp_dir that it uses for some preprocessing).
User Support Ticket(s) or Story Referenced: N/A
I took care of that. |
I forgot to actually set TMPDIR on the invocation of the compiler (the
other change just set it for the nvcc_wrapper temp_dir that it uses for
some preprocessing).
See #3479