You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Up to now I managed to compile H2Opus on a laptop running Ubuntu 22.04 LTS with Cuda 11.5 and with a Quadro RTX 5000 (16 GB). However, when trying to compile the examples, there are some missing functions or other bugs.
test_hara.cpp(189): error: identifier "gpu_reconstruct_sampler" is undefined
For spatialstatistics:
spatial_statistics.cpp(73): error: identifier "MatCreateH2OpusFromKernel" is undefined
spatial_statistics.cpp(95): error: identifier "MatH2OpusCompress" is undefined
spatial_statistics.cpp(125): error: identifier "MatH2OpusSetNativeMult" is undefined
For tlr:
$ test_tlr
Tile Size = 512. ARA Block size = 32
Construction threshold = 1.000000e-06. Cholesky threshold = 1.000000e-06. Diagonal shift s = 0.000000e+00
Erreur de segmentation (core dumped)
Where could I get the missing functions which are not included in the repository files ?
Thanks a lot for any help,
Gilles
The text was updated successfully, but these errors were encountered:
GBZH
changed the title
Example compilation missing files
Example compilation missing functions
Aug 4, 2022
@GBZH Sorry for taking so long to respond. I had notifications turned down for some reason. Here are the fixes to the issue you reported. Let me know if they work for you, and thanks for reporting.
The missing PETSc API needs PETSc compiled with h2opus support since the MATH2OPUS type is defined in the PETSc source code.
Hi,
Up to now I managed to compile H2Opus on a laptop running Ubuntu 22.04 LTS with Cuda 11.5 and with a Quadro RTX 5000 (16 GB). However, when trying to compile the examples, there are some missing functions or other bugs.
For eig:
/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda//bin/nvcc -I/home/quemener/local/h2opus/include -I/opt/intel/oneapi/mkl/include -I/include -I/home/quemener/local/kblas-gpu/include -I/home/quemener/local/magma-2.6.0/include -I//include -I/include -I/home/quemener/install/include -I/home/quemener/PETSc/petsc//include -I/home/quemener/PETSc/petsc/include -x cu -m64 -O3 -std=c++14 --expt-relaxed-constexpr -ccbin g++ -gencode arch=compute_75,code=sm_75 -Xcompiler -Wall -Xcompiler -fPIC -Xcompiler -fopenmp -Xcompiler -O3 -Xcompiler -std=c++14 -Xcompiler -pthread -Xcompiler -DH2OPUS_PROFILING_ENABLED -o obj/test_eig_slepc.o -c test_eig_slepc.cpp
test_eig_slepc.cpp(64): error: identifier "MatCreateH2OpusFromKernel" is undefined
test_eig_slepc.cpp(72): error: identifier "MatH2OpusSetNativeMult" is undefined
For hara:
/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda//bin/nvcc -I/home/quemener/local/h2opus/include -I/opt/intel/oneapi/mkl/include -I/include -I/home/quemener/local/kblas-gpu/include -I/home/quemener/local/magma-2.6.0/include -x cu -m64 -O3 -std=c++14 --expt-relaxed-constexpr -ccbin g++ -gencode arch=compute_75,code=sm_75 -Xcompiler -Wall -Xcompiler -fPIC -Xcompiler -fopenmp -Xcompiler -O3 -Xcompiler -std=c++14 -Xcompiler -pthread -Xcompiler -DH2OPUS_PROFILING_ENABLED -o obj/test_hara.o -c test_hara.cpp
test_hara.cpp(189): error: identifier "ReconstructSampler" is undefined
test_hara.cpp(189): error: identifier "gpu_reconstruct_sampler" is undefined
For spatialstatistics:
spatial_statistics.cpp(73): error: identifier "MatCreateH2OpusFromKernel" is undefined
spatial_statistics.cpp(95): error: identifier "MatH2OpusCompress" is undefined
spatial_statistics.cpp(125): error: identifier "MatH2OpusSetNativeMult" is undefined
For tlr:
$ test_tlr
Tile Size = 512. ARA Block size = 32
Construction threshold = 1.000000e-06. Cholesky threshold = 1.000000e-06. Diagonal shift s = 0.000000e+00
Erreur de segmentation (core dumped)
Where could I get the missing functions which are not included in the repository files ?
Thanks a lot for any help,
Gilles
The text was updated successfully, but these errors were encountered: