I wanted to test vasp on my new laptop.
I saw similar errors in other thread but it seems mine is different. https://www.vasp.at/forum/search.php?keywords=qdmodule
I followed the basic guide on: https://www.vasp.at/wiki/index.php/Pers ... stallation - "Building VASP 6.5.0 on Ubuntu 24.04"
Only difference is that I am using the latest version of ubuntu (unfortunately due to HW constraint this is the only distro I managed to run, I failed with both Arch and other Debian based).
Code: Select all
$ uname -a
Linux Omen 6.14.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 10:06:31 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 25.04 - Linux 6.14.0-35-generic - bash 5.2.37
$ gfortran --version
GNU Fortran (Ubuntu 14.2.0-19ubuntu2) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The packaged installed through `apt` are the following:
Code: Select all
dpkg -l | grep libopenblas-dev ; dpkg -l | grep libopenmpi ; dpkg -l | grep libscalapack; dpkg -l | grep libfftw3 ; dpkg -l | grep libhdf5 ; dpkg -l | grep g++ ; dpkg -l | grep gfort # and make added manualy
ii libopenblas-dev:amd64 0.3.29+ds-3 amd64 Optimized BLAS (linear algebra) library (dev, meta)
ii libopenmpi-dev:amd64 5.0.7-1 amd64 high performance message passing library -- header files
ii libopenmpi40:amd64 5.0.7-1 amd64 high performance message passing library -- shared library
ii libscalapack-openmpi-dev:amd64 2.2.2-1ubuntu1 amd64 Scalable Linear Algebra Package - Dev files for OpenMPI
ii libscalapack-openmpi2.2:amd64 2.2.2-1ubuntu1 amd64 Scalable Linear Algebra Package - Shared libs for OpenMPI
ii libfftw3-bin 3.3.10-2fakesync1build1 amd64 Library for computing Fast Fourier Transforms - Tools
ii libfftw3-dev:amd64 3.3.10-2fakesync1build1 amd64 Library for computing Fast Fourier Transforms - development
ii libfftw3-double3:amd64 3.3.10-2fakesync1build1 amd64 Library for computing Fast Fourier Transforms - Double precision
ii libfftw3-long3:amd64 3.3.10-2fakesync1build1 amd64 Library for computing Fast Fourier Transforms - Long precision
ii libfftw3-quad3:amd64 3.3.10-2fakesync1build1 amd64 Library for computing Fast Fourier Transforms - Quad precision
ii libfftw3-single3:amd64 3.3.10-2fakesync1build1 amd64 Library for computing Fast Fourier Transforms - Single precision
ii libhdf5-310:amd64 1.14.5+repack-3 amd64 HDF5 C runtime files - serial version
ii libhdf5-hl-310:amd64 1.14.5+repack-3 amd64 HDF5 High Level runtime files - serial version
ii libhdf5-openmpi-310:amd64 1.14.5+repack-3 amd64 HDF5 - C runtime files - OpenMPI version
ii libhdf5-openmpi-cpp-310:amd64 1.14.5+repack-3 amd64 HDF5 - C++ runtime files - OpenMPI version - unsupported
ii libhdf5-openmpi-dev 1.14.5+repack-3 amd64 HDF5 - development files - OpenMPI version
ii libhdf5-openmpi-fortran-310:amd64 1.14.5+repack-3 amd64 HDF5 Fortran runtime files - OpenMPI version
ii libhdf5-openmpi-hl-310:amd64 1.14.5+repack-3 amd64 HDF5 High Level runtime files - OpenMPI version
ii libhdf5-openmpi-hl-cpp-310:amd64 1.14.5+repack-3 amd64 HDF5 High Level C++ runtime files - OpenMPI version - unsupported
ii libhdf5-openmpi-hl-fortran-310:amd64 1.14.5+repack-3 amd64 HDF5 High Level Fortran runtime files - OpenMPI version
ii g++ 4:14.2.0-1ubuntu1 amd64 GNU C++ compiler
ii g++-14 14.2.0-19ubuntu2 amd64 GNU C++ compiler
ii g++-14-x86-64-linux-gnu 14.2.0-19ubuntu2 amd64 GNU C++ compiler for x86_64-linux-gnu architecture
ii g++-x86-64-linux-gnu 4:14.2.0-1ubuntu1 amd64 GNU C++ compiler for the amd64 architecture
ii gfortran 4:14.2.0-1ubuntu1 amd64 GNU Fortran 95 compiler
ii gfortran-14 14.2.0-19ubuntu2 amd64 GNU Fortran compiler
ii gfortran-14-x86-64-linux-gnu 14.2.0-19ubuntu2 amd64 GNU Fortran compiler for the x86_64-linux-gnu architecture
ii gfortran-x86-64-linux-gnu 4:14.2.0-1ubuntu1 amd64 GNU Fortran 95 compiler for the amd64 architecture
ii libgfortran-14-dev:amd64 14.2.0-19ubuntu2 amd64 Runtime library for GNU Fortran applications (development files)
ii libgfortran5:amd64 15-20250404-0ubuntu1 amd64 Runtime library for GNU Fortran applications
ii make 4.4.1-1 amd64 utility for directing compilation
The makefile is copied from the link mentioned above.
From the output I get the following errors:
Code: Select all
ml_ff_constant.F:9:11:
9 | USE ML_FF_PREC
| 1
Fatal Error: File ‘ml_ff_prec.mod’ opened at (1) is not a GNU Fortran module file
compilation terminated.
ml_ff_string.F:5:9:
5 | use ML_FF_PREC, only: q,qi8
| 1
Fatal Error: File ‘ml_ff_prec.mod’ opened at (1) is not a GNU Fortran module file
compilation terminated.
make[2]: *** [makefile:171: ml_ff_constant.o] Error 1
make[2]: *** Waiting for unfinished jobs....
ml_ff_mpi_help.F:9:13:
9 | USE ML_FF_CONSTANT
| 1
Fatal Error: File ‘ml_ff_constant.mod’ opened at (1) is not a GNU Fortran module file
compilation terminated.
make[2]: *** [makefile:171: ml_ff_string.o] Error 1
base.F:314:11:
314 | USE qdmodule
| 1
Fatal Error: Cannot open module file ‘qdmodule.mod’ for reading at (1): No such file or directory
compilation terminated.
make[2]: *** [makefile:171: ml_ff_mpi_help.o] Error 1
make[2]: *** Waiting for unfinished jobs....
ml_ff_constant.F:9:11:
9 | USE ML_FF_PREC
| 1
Fatal Error: File ‘ml_ff_prec.mod’ opened at (1) is not a GNU Fortran module file
compilation terminated.
ml_ff_string.F:5:9:
5 | use ML_FF_PREC, only: q,qi8
| 1
Fatal Error: File ‘ml_ff_prec.mod’ opened at (1) is not a GNU Fortran module file
compilation terminated.
make[2]: *** [makefile:171: base.o] Error 1
make[2]: Leaving directory '/home/fex/Soft/VASP/Vasp_src/build/ncl'
make[2]: *** [makefile:171: ml_ff_constant.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [makefile:171: ml_ff_string.o] Error 1
base.F:314:11:
314 | USE qdmodule
| 1
Fatal Error: Cannot open module file ‘qdmodule.mod’ for reading at (1): No such file or directory
compilation terminated.
cp: cannot stat 'vasp': No such file or directory
base.F:314:11:
314 | USE qdmodule
| 1
Fatal Error: Cannot open module file ‘qdmodule.mod’ for reading at (1): No such file or directory
The full compiling output is the following: https://pastebin.com/5WXfZtna
