I need to compile VASP 5.3.5 on a Cray XC MPP machine. The system has the Gnu, Intel and Cray compiling environments available. There is also a choice of Intel MKL or Cray LibSci for BLAS, LAPACK, ScaLAPCK.
Which is the best compiler to use, the best numerical library to use and the Makefile options to use?
Tests on ARCHER (http://www.archer.ac.uk) have shown that using the Intel compiler with Intel MKL and FFTW produce the best performance and the most stable build of VASP 5.3.5 on the Cray XC30 system.
Full compilation instructions can be found at:
http://www.archer.ac.uk/documentation/software/vasp/compiling_5-3-5-phase2.php
Briefly, the procedure is:
Modify the library makefile to have the following options:
Build the library (assuming makefile is called "makefile.cray_xc_intel.lib"):
Move to the main source code directory:
Setup the preprocessor options in the Makefile (this is for the multiple K-points version):
Set the makefile compilation options:
Set the makefile linear algebra library options for Intel MKL:
Finally, set the makefile options for linking FFTW:
Now build the code (assuming makefile is called "makefile.cray_xc_intel"):