<div dir="ltr">Hi Users and Developers,<br><br>I am trying to compile and build a CUDA build of CP2K and end up getting these annoying errors.<br><br><b>dbcsr_types.f90(275): error #7747: Invalid parameter expression.   [DBCSR_MEMTYPE_TYPE]<br>  TYPE(dbcsr_memtype_type), PARAMETER :: dbcsr_memtype_default = dbcsr_memtype_type(pool=Null())<br>-----------------------------------------------------------------^<br>dbcsr_types.f90(276): error #7747: Invalid parameter expression.   [DBCSR_MEMTYPE_TYPE]<br>  TYPE(dbcsr_memtype_type), PARAMETER :: dbcsr_memtype_MPI = dbcsr_memtype_type(mpi=.TRUE., pool=Null())<br>-------------------------------------------------------------^<br>dbcsr_types.f90(303): error #7367: The data value NULL() can only be assigned to a Fortran POINTER.<br>     TYPE(dbcsr_memtype_type)                 :: memory_type = dbcsr_memtype_default</b><br><br>Here is the ARCH (Linux-x86-64-cuda.sopt) file that I used.<br><br>PERL     = perl<br>CC       = gcc<br>CPP      = cpp<br>NVCC     = nvcc<br>FC       = ifort -FR<br>LD       = ifort -i-static -openmp<br>AR       = ar -r<br>DFLAGS   = -D__INTEL -D__FFTSG -D__FFTW3 -D__FFTMKL -D__PW_CUDA -D__DBCSR_CUDA -D__SCALAPACK -D__BLACS<br>CFLAGS   =  -O2<br>CPPFLAGS = -traditional -C $(DFLAGS) -P -I/opt/intel/mkl/10.2.5.035/include/fftw<br>NVFLAGS  = $(DFLAGS) -g -arch sm_30<br>FCFLAGS  = $(DFLAGS) -O2 -xW<br>MKLPATH  = /opt/intel/mkl/10.2.5.035/lib/em64t/<br>CUDAPATH = /usr/local/cuda/lib/<br>LDFLAGS  = $(FCFLAGS)<br>LIBS     = -L$(MKLPATH)\<br>           $(MKLPATH)/libmkl_em64t.a\<br>           $(MKLPATH)/libmkl_lapack.a\<br>           $(MKLPATH)/libguide.a\<br>           $(CUDAPATH)/libcudart.so\<br>           $(CUDAPATH)/libcufft.so\<br>           $(CUDAPATH)/libcublas.so\<br>           /usr/lib64/libfftw3f.so.3\<br>           -lpthread<br><br>I am pretty sure that something might have gone wrong with the flags. It would be great, if there are any pointers that can help me to fix this issue. <br><br>Appreciate your time and effort.<br><br>Thanks,<br>Abhishek<br><br><span class="im"><div><div dir="ltr"><div><div><div><div><div><div><font size="1"><span style="font-family:georgia,serif"><span style="color:rgb(0,0,255)">------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-----------------<br>Abhishek Bagusetty<br></span></span></font></div><font size="1"><span style="font-family:georgia,serif"><span style="color:rgb(0,0,255)">PhD Student, Computational Modeling & Simulation<br></span></span></font></div><font size="1"><span style="font-family:georgia,serif"><span style="color:rgb(0,0,255)">Center for Simulation and Modeling<br></span></span></font></div><font size="1"><span style="font-family:georgia,serif"><span style="color:rgb(0,0,255)">Department of Chemical & Petroleum Engineering<br></span></span></font></div><font size="1"><span style="font-family:georgia,serif"><span style="color:rgb(0,0,255)">University of Pittsburgh</span><br><span style="color:rgb(0,0,255)">Pittsburgh, PA - 15261</span></span></font></div><font size="1"><span style="font-family:georgia,serif"><span style="color:rgb(0,0,255)">Office : 920 Benedum Hall<br></span></span></font></div><span style="font-family:verdana,sans-serif"><font><span style="color:rgb(0,0,255)"><font size="1"><span style="font-family:georgia,serif">Email : <a href="mailto:ab...@pitt.edu" target="_blank">ab...@pitt.edu</a></span></font><br></span></font></span><div><div><span style="font-family:verdana,sans-serif"><font><span style="color:rgb(0,0,255)"></span></font></span><font size="1"><span style="font-family:georgia,serif"><span style="color:rgb(0,0,255)">------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-----------------</span></span></font></div></div></div></div></span><br><br></div>