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

Last AmgX commit build issue with older nvcc version #252

Closed
pledac opened this issue Jul 5, 2023 · 2 comments
Closed

Last AmgX commit build issue with older nvcc version #252

pledac opened this issue Jul 5, 2023 · 2 comments
Assignees

Comments

@pledac
Copy link

pledac commented Jul 5, 2023

Hello, just notice that AmgX commit d234495 do not build with nvcc 11.2 version and is OK with nvcc>=11.4:

[ 10%] Building CUDA object CMakeFiles/amgx_libs.dir/src/amgx_cublas.cu.o
[ 10%] Building CUDA object CMakeFiles/amgx_libs.dir/src/amgx_cusolverDn.cu.o
[ 11%] Building CUDA object CMakeFiles/amgx_libs.dir/src/amgx_cusparse.cu.o
/scratch2/catA/pl254994/trust/amgx/ThirdPart/src/LIBAMGX/AmgX/src/amgx_cusparse.cu(1104): error: identifier "CUSPARSE_SPMV_CSR_ALG2" is undefined

/scratch2/catA/pl254994/trust/amgx/ThirdPart/src/LIBAMGX/AmgX/src/amgx_cusparse.cu(1112): error: identifier "CUSPARSE_SPMV_CSR_ALG2" is undefined

2 errors detected in the compilation of "/scratch2/catA/pl254994/trust/amgx/ThirdPart/src/LIBAMGX/AmgX/src/amgx_cusparse.cu".
make[4]: *** [CMakeFiles/amgx_libs.dir/src/amgx_cusparse.cu.o] Error 1

Probably, since the 9731858 commit.

Thanks

@mattmartineau
Copy link
Collaborator

Hopefully fixed (I tested 11.2 and 11.7 again and built / ran fine), please let me know.

@pledac
Copy link
Author

pledac commented Jul 5, 2023

Fine, it works, thanks. I close.

@pledac pledac closed this as completed Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants