Difference between revisions of "Benchmarking: VASP5.3"

From Define Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
==  VASP 5.3 ==
 
==  VASP 5.3 ==
 +
* Download from  http://www.vasp.at
 +
* Note: not publicly available. Its a licensed product.
  
Download from  www.vasp.atv
+
== Standard Build ==
 
+
=== Compilation ===
 
 
== Compilation ==
 
  
 
In the source directory you will find two tar files.  Untar both of them.
 
In the source directory you will find two tar files.  Untar both of them.
Line 26: Line 26:
  
  
=== Intel Compilation ==
+
== Intel Compilation ==
  
 +
=== Build FFTW wrapper library for Intel MKL ===
 +
* Build the libfftw3xf_intel.a lib
 +
<syntaxhighlight>
 +
[root@head-boston ~]# cd /cm/shared/apps/intel/composer_xe/2013_sp1.3.174/mkl/interfaces/fftw3xf
 +
[root@head-boston fftw3xf]# make libintel64 compiler=intel
 +
make -f  makefile lib _IA=intel64
 +
...
 +
[root@head-boston fftw3xf]# ls
 +
fftw3xf.lst  libfftw3xf_intel.a  makefile  wrappers
 +
</syntaxhighlight>
 +
 +
=== Build libdmy.a ===
 +
* Unpack the vasp.5.lib.tar.gz file
 +
<syntaxhighlight>
 +
[ccfe@haswell5 vasp.5.lib]$ pwd
 +
/home/ccfe/vasp/vasp.5.lib
 +
[ccfe@haswell5 vasp.5.lib]$ cp makefile.linux_ifc_P4 makefile
 +
[ccfe@haswell5 vasp.5.lib]$ vi makefile
 +
[ccfe@haswell5 vasp.5.lib]$ diff makefile.linux_ifc_P4 makefile
 +
19c19
 +
< FC=ifc
 +
---
 +
> FC=ifort
 +
[ccfe@haswell5 vasp.5.lib]$ make -f makefile
 +
[ccfe@haswell5 vasp.5.lib]$ ls libdmy.a
 +
libdmy.a
 +
</syntaxhighlight>
 
Replace -lguide with -liomp5
 
Replace -lguide with -liomp5

Revision as of 22:19, 13 October 2014

VASP 5.3

Standard Build

Compilation

In the source directory you will find two tar files. Untar both of them.

vasp.X.tar.gz  
vasp.X.lib.tar.gz


In each directory copy one of the makefiles to 'makefile' and change the compilers to the ones. (ifc -> ifort)

cd vasp.5.3
cp makefile.linux_ifc_P4 makefile
make
cd vasp.5.lib
cp makefile.linux_ifc_P4 makefile
make


Intel Compilation

Build FFTW wrapper library for Intel MKL

  • Build the libfftw3xf_intel.a lib
[root@head-boston ~]# cd /cm/shared/apps/intel/composer_xe/2013_sp1.3.174/mkl/interfaces/fftw3xf
[root@head-boston fftw3xf]# make libintel64 compiler=intel
make -f  makefile lib _IA=intel64
...
[root@head-boston fftw3xf]# ls
fftw3xf.lst  libfftw3xf_intel.a  makefile  wrappers

Build libdmy.a

  • Unpack the vasp.5.lib.tar.gz file
[ccfe@haswell5 vasp.5.lib]$ pwd
/home/ccfe/vasp/vasp.5.lib
[ccfe@haswell5 vasp.5.lib]$ cp makefile.linux_ifc_P4 makefile
[ccfe@haswell5 vasp.5.lib]$ vi makefile
[ccfe@haswell5 vasp.5.lib]$ diff makefile.linux_ifc_P4 makefile
19c19
< FC=ifc
---
> FC=ifort
[ccfe@haswell5 vasp.5.lib]$ make -f makefile
[ccfe@haswell5 vasp.5.lib]$ ls libdmy.a 
libdmy.a

Replace -lguide with -liomp5