As I do with the make command for all software on my 4 CPUs system,
I also wanted to use the "make -j4" to speed up the compilation of VASP.
However, the make process ends with an error in that case:
Code: Select all
$ make -j4
[...snip...]
gfortran -O3 -c pseudo.f
In file pseudo.f:40
USE radial
1
Fatal Error: Can't open module file 'radial.mod' for reading at (1):
No such file or directory
the make process. I bet this is the problem in the bottom part of all the
example makefiles provided in the vasp sources directory.
For example, in this case one needs to change the Makefile to have:
pseudo.o: pseudo.inc pseudo.F radial.o
But many more are needed to support the -j flag in make.
Being able to us "make -j" speeds up compilation considerably!
Regards,
Rob.