Page 1 of 1

VASP 6.4.3 compile issue 'NVFORTRAN-S-0155-Derived type has not been declared - cusolvermpgrid'

Posted: Thu Aug 01, 2024 6:15 pm
by Andy.J
Hi,

I'm trying to compile the vasp 6.4.3 within the NVIDIA HPC-SDK version 23.5 ubuntu 20.04 docker container. The makefile.include is based on the makefile.include.nvhpc_omp_acc. I have compiled the fftw-3.3.10 within the docker container with command

Code: Select all

./configure --enable-shared  --enable-threads --enable-openmp --prefix=/install-path
and

Code: Select all

make && make install
. The nvcc --version shows the following 'Cuda compilation tools, release 12.1, V12.1.105'. The mpirun --version shows the following 'mpirun (Open MPI) 4.1.5rc2'. Could you help me figure out the reason for the error? Thanks.

Andy

Re: VASP 6.4.3 compile issue 'NVFORTRAN-S-0155-Derived type has not been declared - cusolvermpgrid'

Posted: Fri Aug 02, 2024 7:45 am
by manuel_engel1
Hi Andy,

Thanks for posting on the VASP forum. The error message you get is related to cuSOLVERMp. I think there is a version conflict with this library. When you look into the makefile.include, you will find the following block:

Code: Select all

# Use cusolvermp (optional)
# supported as of NVHPC-SDK 24.1 (and needs CUDA-11.8)
CPP_OPTIONS+= -DCUSOLVERMP -DCUBLASMP
LLIBS      += -cudalib=cusolvermp,cublasmp -lnvhpcwrapcal
The version of NVHPC-SDK you are using to compile VASP is 23.5, but we require at least version 24.1 for this feature to work. I recommend that you update the nvidia SDK to at least version 24.1 and try again. Alternatively, you can disable this feature by commenting out the two lines in the snippet above.

Re: VASP 6.4.3 compile issue 'NVFORTRAN-S-0155-Derived type has not been declared - cusolvermpgrid'

Posted: Fri Aug 02, 2024 6:23 pm
by Andy.J
That solution works for me. Thank you very much!

Andy