User Tools

Site Tools


exercises:2019_uzh_acpc2:installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
exercises:2019_uzh_acpc2:installation [2019/04/03 21:07] – [0.2a CP2K Installation on Windows] jglanexercises:2019_uzh_acpc2:installation [2019/04/03 21:09] – [0.2a CP2K Installation on Windows] jglan
Line 77: Line 77:
 ===== 0.2a CP2K Installation on Windows ===== ===== 0.2a CP2K Installation on Windows =====
  
-Download CP2K using git command or from [[github website|https://github.com/cp2k/cp2k.git]]:\\+Download CP2K using git command or from [[https://github.com/cp2k/cp2k.git | github website]]:\\
 <code> <code>
 git clone --recursive https://github.com/cp2k/cp2k.git cp2k git clone --recursive https://github.com/cp2k/cp2k.git cp2k
 </code> </code>
  
-After downloading you will find it in the directory ''cp2k''.+After downloading using git or extract the zip file from [[https://github.com/cp2k/cp2k.git | CP2K-github]] you will find it in the directory ''cp2k''.
  
 In order to compile cp2k one has to specify an arch file to indicate which compilers and libraries to use. In order to compile cp2k one has to specify an arch file to indicate which compilers and libraries to use.
-Change directory to ''cp2k-2.6.2/arch''. Once you are in this directory open a new file called ''Cygwin-i686-gfortran.sopt''+Change directory to ''cp2k/arch''. Once you are in this directory open a new file called ''Cygwin-i686-gfortran.sopt''
  
 Copy the following lines and paste into the newly opened ''Cygwin-i686-gfortran.sopt'' file:\\ Copy the following lines and paste into the newly opened ''Cygwin-i686-gfortran.sopt'' file:\\
Line 106: Line 106:
 </file> </file>
 Save this file (again if you use vim type ''ESC'' and then ':wq').\\ Save this file (again if you use vim type ''ESC'' and then ':wq').\\
-Finally change directory to ''cp2k-2.6.2/makefiles''Run the ''make'' command as follows in order to compile cp2k:\\+Run the ''make'' command as follows in order to compile cp2k:\\
 <code> <code>
 make ARCH=Cygwin-i686-gfortran VERSION=sopt make ARCH=Cygwin-i686-gfortran VERSION=sopt
 </code> </code>
  
-If you find ''cp2k.sopt'' in ''cp2k-2.6.2/exe'' directory, then compilation is successfully done.+If you find ''cp2k.sopt'' in ''cp2k/exe'' directory, then compilation is successfully done.
 ===== 0.2b CP2K Installation on Mac OS X ===== ===== 0.2b CP2K Installation on Mac OS X =====
  
exercises/2019_uzh_acpc2/installation.txt · Last modified: 2020/08/21 10:15 by 127.0.0.1