Hello Marie-Therese,
Thank you for your reply. Could you confirm what 'changes to the precompiler flags' you're referring to. I'm thinking perhaps lines for FC and FCL, such as:
Code: Select all
FC = mpif90 -acc -gpu=cc60,cc70,cc80,cuda11.0 -mp | FC = mpif90 -acc -gpu=cc60,cc70,cc80,cuda12.6 -mp
FCL = mpif90 -acc -gpu=cc60,cc70,cc80,cuda11.0 -mp -c | FCL = mpif90 -acc -gpu=cc60,cc70,cc80,cuda12.6 -mp -c
The changes I made to these were switching cuda11.0 to cuda12.6.
My initial attempt of the vasp build was picking a template that I believed best matched the HPC cluster. Upon further investigation, it appears that fftw3_omp is not installed or available even after installing the HPC SDK. I could be wrong on the latter, but no matter what options I changed in regards to FFTW, including commenting out the OBJECTS line you mentioned, switching to a nvhpc fft related lib/include paths, I would continue to get different errors around missing items related to fftw.
I decided to switch to a different makefile.include template from arch/makefile.include.nvhpc_omp_acc to arch/makefile.include.nvhpc_acc which resulted in a build completion.
I then ran 'make test' which resulted in what appears to be a successful completion as well, noted below.
Code: Select all
==================================================================
SUCCESS: ALL SELECTED TESTS PASSED
==================================================================
make[1]: Leaving directory '/home/jgutierrez/vasp.6.4.2/testsuite'
I did get a build error with the new makefile from makefile.include.nvhpc_acc when CPP_OPTIONS+= -DVASP_HDF5 was uncommented, so I re-ran it with it commented, which was successful. The output indicated that the hdf5 include directory was being utilized. I'm not sure if having CPP_OPTIONS+= commented is a problem that needs to be addressed or not and I'm unsure if the hdf5 related portion of the vasp build is greatly impacted by the lack of -DVASP_HDF5.
The hdf5 error related to hdf5 CPP_OPTIONS+= was:
Code: Select all
mpif90 -acc -gpu=cc60,cc70,cc80,cuda12.6 -Mfree -Mbackslash -Mlarge_arrays -tp host -fast -I/cm/shared/apps/nvhpc/24.9/Linux_x86_64/24.9/compilers/extras/qd/include/qd -I/cm/shared/apps/fftw/openmpi/gcc/64/3.3.10//include -I/cm/shared/apps/hdf5/1.12.1//include -c vhdf5_base.f90
NVFORTRAN-F-0004-Corrupt or Old Module file /cm/shared/apps/hdf5/1.12.1//include/hdf5.mod (vhdf5_base.F: 9)
NVFORTRAN/x86-64 Linux 24.9-0: compilation aborted
make[2]: *** [makefile:167: vhdf5_base.o] Error 2
make[2]: Leaving directory '/home/jgutierrez/vasp.test/build/std'
cp: cannot stat 'vasp': No such file or directory
make[1]: *** [makefile:129: all] Error 1
make[1]: Leaving directory '/home/jgutierrez/vasp.test/build/std'
make: *** [makefile:17: std] Error 2
Additionally, I left the new makefile.include template (nvhcp_acc) with the OBJECTS line uncommented as it was originally. Would that be a problem even though the build is successful?
I've attached a new output and makefile.include in regards to the DVASP_HDF5 related build error.
Best Regards,
Jaime
You do not have the required permissions to view the files attached to this post.