Often you may compile the VASP code. If you modify the code, or use different compiler, you must clean the code completely and compile from the scratch.
Normally, the command to do this is
make clean.
If you use this you may get following error.
make: *** No rule to make target *** needed by 'vasp'. Stop
This error is because the vasp Makefile has been written such that you need to use "veryclean" to clean the *.o files.
TRY:
make veryclean
This will clean (remove) all the *.o files and other executable files. Be aware that a fresh compilation (compiling from scratch) will take much time.
After this, you can compile the vasp again as follow:
make all
No comments:
Post a Comment