Magma with NVHPC

39 views
Skip to first unread message

Alexandre Strube

unread,
Mar 7, 2022, 10:31:16 AMMar 7
to MAGMA User
Hi,

I would like to compile magma with NVHPC and intel MKL. It seems there's no provision for NVHPC yet on it, and I can't set the makefile to work properly with it.

Seems that nvcc doesn't like nvc, and I can't set it otherwise.

What I get is 

-- Generating dependency file: /dev/shm/strube1/juwelsbooster/magma/2.6.1/NVHPC-22.1-CUDA-11.5/easybuild_obj/CMakeFiles/magma.dir/magmablas/magma_generated_ztrtri_upper_batched.cu.o.NVCC-depend

/p/software/juwelsbooster/stages/2022/software/CUDA/11.5/bin/nvcc -M -D__CUDACC__ /dev/shm/strube1/juwelsbooster/magma/2.6.1/NVHPC-22.1-CUDA-11.5/magma-2.6.1/magmablas/ztrtri_upper_batched.cu -o /dev/shm/strube1/juwelsbooster/magma/2.6.1/NVHPC-22.1-CUDA-11.5/easybuild_obj/CMakeFiles/magma.dir/magmablas/magma_generated_ztrtri_upper_batched.cu.o.NVCC-depend -ccbin /p/software/juwelsbooster/stages/2022/software/NVHPC/22.1/Linux_x86_64/22.1/compilers/bin/nvc -m64 --std c++11 -Dmagma_EXPORTS -DMAGMA_HAVE_CUDA=1 -DMAGMA_CUDA_ARCH_MIN=800 -DMAGMA_WITH_MKL -Xcompiler ,\"-O2\",\"-tp=host\",\"-Mflushz\",\"-mp\",\"-fPIC\",\"-mp\",\"-Wall\",\"-Wno-unused-function\",\"-fPIC\",\"-fast\",\"-O3\",\"-DNDEBUG\" -Xcompiler -fPIC -gencode arch=compute_80,code=sm_80 -gencode arch=compute_80,code=compute_80 -DNVCC -I/p/software/juwelsbooster/stages/2022/software/CUDA/11.5/include -I/p/software/juwelsbooster/stages/2022/software/imkl/2021.4.0/mkl/2021.4.0/include -I/dev/shm/strube1/juwelsbooster/magma/2.6.1/NVHPC-22.1-CUDA-11.5/easybuild_obj/include -I/dev/shm/strube1/juwelsbooster/magma/2.6.1/NVHPC-22.1-CUDA-11.5/magma-2.6.1/include -I/dev/shm/strube1/juwelsbooster/magma/2.6.1/NVHPC-22.1-CUDA-11.5/magma-2.6.1/control -I/dev/shm/strube1/juwelsbooster/magma/2.6.1/NVHPC-22.1-CUDA-11.5/magma-2.6.1/magmablas -I/dev/shm/strube1/juwelsbooster/magma/2.6.1/NVHPC-22.1-CUDA-11.5/magma-2.6.1/sparse/include -I/dev/shm/strube1/juwelsbooster/magma/2.6.1/NVHPC-22.1-CUDA-11.5/magma-2.6.1/sparse/control -I/dev/shm/strube1/juwelsbooster/magma/2.6.1/NVHPC-22.1-CUDA-11.5/magma-2.6.1/testing

nvcc fatal   : Unsupported NVHPC compiler found. nvc++ is the only NVHPC compiler that is supported.

CMake Error at magma_generated_ztrtri_upper_batched.cu.o.Release.cmake:220 (message):

  Error generating

  /dev/shm/strube1/juwelsbooster/magma/2.6.1/NVHPC-22.1-CUDA-11.5/easybuild_obj/CMakeFiles/magma.dir/magmablas/./magma_generated_ztrtri_upper_batched.cu.o


Reply all
Reply to author
Forward
0 new messages