Friday, 17 August 2018

make: *** No rule to make target *** needed by 'vasp'. Stop - How to resolve it?

make: *** No rule to make target `/ClusterName/intel/Compiler/11.1/046/mkl/interfaces/fftw3xf/libfftw3xf_intel.a', needed by `vasp'.  Stop.

This is because, the compilation of vasp requires a library file libfftw3xf_intel.a. But, the shell could not link to it.

First to see the path.

echo $PATH

To list the path one by one (i.e.,create a new line when ":" comes)

echo "${PATH//:/$'\n'}"
echo "${LD_LIBRARY_PATH//:/$'\n'}"


If the library libfftw3xf_intel.a is not present inside $MKL_ROOT directory (i.e. /ClusterName/intel/Compiler/11.1/046/mkl/ directory), then you need to compile the specific library using the make file present inside the specific library wrapper.

For example, to compile library libfftw3xf_intel.a, you need to go to $MKL_ROOT/interfaces/fftw3xf/

and then make using the makefile there.

"You can create the interface libraries and modules using the respective makefiles located in the interfaces directory" see this page in Intel Website.

If you find it difficult to compile this library inside $MKL_ROOT directory, you can follow the procedure in this link to compile in any other directory.





No comments:

Post a Comment

Reason for the Maximum index for Augmentation-charges (SET IRDMAX)" error in OUTCAR file: VASP Calculation.

 "The Maximum index for Augmentation-charges (SET IRDMAX)" error is most-likely due to parallelization issues.  To check this, try...