Comments (4)
Then, errors during example builds:
VERBOSE=1 make
cd /ccc/scratch/cont002/den/ledacp/trust/amgx_openmp_int64/ThirdPart/src/LIBAMGX/AmgX/build/examples && /ccc/products2/cmake-3.22.2/Rhel_8__x86_64/system/default/bin/cmake -E cmake_link_script CMakeFiles/amgx_mpi_capi_agg.dir/link.txt --verbose=1
/ccc/products/gcc-8.3.0/system/default/bin/gcc -DRAPIDJSON_DEFINED -DAMGX_WITH_MPI -O3 -DNDEBUG -L/ccc/products2/openmpi-4.1.4.6/Rhel_8__x86_64/gcc--8.3.0/default/lib -L/ccc/products2/hwloc-2.5.0/Rhel_8__x86_64/system/cuda-11.6/lib -L/ccc/products2/openmpi-4.1.4.6/Rhel_8__x86_64/gcc--8.3.0/default/lib -L/ccc/products2/hwloc-2.5.0/Rhel_8__x86_64/system/cuda-11.6/lib CMakeFiles/amgx_mpi_capi_agg.dir/amgx_mpi_capi_agg.c.o -o amgx_mpi_capi_agg /ccc/products/openmpi-4.1.4/gcc--8.3.0/default/lib/libmpi.so ../libamgxsh.so -lrt -ldl /ccc/products/nvhpc-22.7/system/default/Linux_x86_64/22.7/cuda/11.0/lib64/libcudart_static.a /ccc/products/nvhpc-22.7/system/default/Linux_x86_64/22.7/cuda/11.0/../../math_libs/11.0/lib64/libcublas.so /ccc/products/nvhpc-22.7/system/default/Linux_x86_64/22.7/cuda/11.0/../../math_libs/11.0/lib64/libcusolver.so /ccc/products/nvhpc-22.7/system/default/Linux_x86_64/22.7/cuda/11.0/../../math_libs/11.0/lib64/libcublas.so /ccc/products/nvhpc-22.7/system/default/Linux_x86_64/22.7/cuda/11.0/../../math_libs/11.0/lib64/libcusparse.so /ccc/products/nvhpc-22.7/system/default/Linux_x86_64/22.7/cuda/11.0/lib64/libnvToolsExt.so -lm -lpthread /ccc/products/openmpi-4.1.4/gcc--8.3.0/default/lib/libmpi_cxx.so /ccc/products/openmpi-4.1.4/gcc--8.3.0/default/lib/libmpi.so -ldl -lpthread /usr/lib64/librt.so
CMakeFiles/amgx_mpi_capi_agg.dir/amgx_mpi_capi_agg.c.o:amgx_mpi_capi_agg.c:function main: error: undefined reference to 'cudaMallocAsync'
CMakeFiles/amgx_mpi_capi_agg.dir/amgx_mpi_capi_agg.c.o:amgx_mpi_capi_agg.c:function main: error: undefined reference to 'cudaMallocAsync'
CMakeFiles/amgx_mpi_capi_agg.dir/amgx_mpi_capi_agg.c.o:amgx_mpi_capi_agg.c:function main: error: undefined reference to 'cudaMallocAsync'
CMakeFiles/amgx_mpi_capi_agg.dir/amgx_mpi_capi_agg.c.o:amgx_mpi_capi_agg.c:function main: error: undefined reference to 'cudaMallocAsync'
CMakeFiles/amgx_mpi_capi_agg.dir/amgx_mpi_capi_agg.c.o:amgx_mpi_capi_agg.c:function main: error: undefined reference to 'cudaFreeAsync'
CMakeFiles/amgx_mpi_capi_agg.dir/amgx_mpi_capi_agg.c.o:amgx_mpi_capi_agg.c:function main: error: undefined reference to 'cudaFreeAsync'
CMakeFiles/amgx_mpi_capi_agg.dir/amgx_mpi_capi_agg.c.o:amgx_mpi_capi_agg.c:function main: error: undefined reference to 'cudaFreeAsync'
CMakeFiles/amgx_mpi_capi_agg.dir/amgx_mpi_capi_agg.c.o:amgx_mpi_capi_agg.c:function main: error: undefined reference to 'cudaFreeAsync'
cudaMallocAsync & cudaFreeAsync appears with Cuda 11.2. So probably, that's the reason there. AmgX v2.4.0 don't build with Cuda<11.2
from amgx.
Thanks for reporting this. I changed our internal testing to include CUDA 11.0 (we previously had just 11.2, 11.8). I'll push a fix to main shortly.
from amgx.
Hopefully should be fixed in main.
from amgx.
Thanks Matt.
from amgx.
Related Issues (20)
- how to load library in a standard way HOT 1
- Link error while building amgx_tests_launcher HOT 2
- Can I use MPICH to build it on linux? HOT 1
- [MultiGPU] No convergence for Classical AMG with Cuda version>11.2 in my code when linked with AmgX (not reproduced in AmgX standalone) HOT 12
- Last AmgX commit build issue with older nvcc version HOT 2
- Build issue with OMP requirement HOT 1
- AMGX 2.3.0 still indicates 2.2.0.132-opensource HOT 1
- Mixed precision modes not currently supported for CUDA 10.1 or later? HOT 2
- CMAKE [Build] error HOT 1
- Benchmarking HOT 1
- [Build] HOT 4
- Is there a way to reduce solve setup time? HOT 2
- [Build] Build Error with MVAPICH2-GDR HOT 5
- Seeking Advice on Configuring AMGX for Solving a Poorly-Conditioned Matrix Equation
- Seeking Advice on Configuring AMGX for Solving a Poorly-Conditioned Matrix Equation HOT 2
- [Issue] Recovering from out of memory error
- [Build] OKay to ENABLE NvToolsExt for Windows? HOT 2
- [Build] CMake Error in Windows with GCC HOT 3
- [Build] _NV_IF__NV_TARGET_BOOL_NV_PROVIDES_SM_90 is undefined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amgx.