CUDA aarch64 fix from German P. Barletta#1142
Merged
drroe merged 1 commit intoAmber-MD:masterfrom Jul 25, 2025
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Email from @pgbarletta :
cuda_kernels/libcpptraj_cuda_routines.a(cpptraj_cuda_routines_generated_core_kernels.cu.o): in function
__device_stub__Z25kClosestDistsToPt_NoImagePdPKdS1_diii(double*, double const*, double const*, double, int, int, int)': tmpxft_003a07b9_00000000-6_core_kernels.compute_90.cudafe1.cpp:(.text+0x1c4): relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15 against symbolkClosestDistsToPt_NoImage(double*, double const*, double const*, double, int, int, int)' defined in .text section in cuda_kernels/libcpptraj_cuda_routines.a(cpptraj_cuda_routines_generated_core_kernels.cu.o)/scratch/10321/pb777/miniforge3/envs/at25/conda-bld/ambertools-dac_1753055509953/_build_env/bin/../lib/gcc/aarch64-conda-linux-gnu/13.2.0/../../../../aarch64-conda-linux-gnu/bin/ld: tmpxft_003a07b9_00000000-6_core_kernels.compute_90.cudafe1.cpp:(.text+0x1c4): warning: too many GOT entries for -fpic, please recompile with -fPIC
collect2: error: ld returned 1 exit status
I will need to do a followup pull request to fix the configure build at some point as well.