howto:compile_on_windows_with_cygwin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:compile_on_windows_with_cygwin [2022/11/10 12:49] – oschuett | howto:compile_on_windows_with_cygwin [2023/12/01 00:25] (current) – krack | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | < | + | < |
+ | Check [[howto: | ||
+ | </ | ||
Line 81: | Line 83: | ||
Source codes of most prerequisities are available not only on individual supplyers but also on [[https:// | Source codes of most prerequisities are available not only on individual supplyers but also on [[https:// | ||
- | ====3a LIBINT (optional)==== | + | |
+ | ====3a | ||
+ | |||
+ | Download and extract [[https:// | ||
+ | |||
+ | Rename " | ||
+ | |||
+ | Edit the " | ||
+ | < | ||
+ | # | ||
+ | FCFLAGS | ||
+ | </ | ||
+ | |||
+ | Edit " | ||
+ | < | ||
+ | # | ||
+ | # $(FC) $(NOOPT) -c $*.f | ||
+ | blacstest.o : blacstest.f | ||
+ | $(FC) -c $(FCFLAGS) $*.f | ||
+ | </ | ||
+ | |||
+ | Change the current directory to " | ||
+ | |||
+ | After the " | ||
+ | |||
+ | ====3b | ||
Download a CP2K-configured LIBINT library from [[https:// | Download a CP2K-configured LIBINT library from [[https:// | ||
and extract the archive (e.g." | and extract the archive (e.g." | ||
Line 113: | Line 140: | ||
In the arch file of CP2K: add < | In the arch file of CP2K: add < | ||
- | ====3b LIBXC (optional)==== | + | ====3c LIBXC (optional)==== |
The version 5.1.0 (or later) of LIBXC can be downloaded from [[https:// | The version 5.1.0 (or later) of LIBXC can be downloaded from [[https:// | ||
Download and extract " | Download and extract " | ||
Line 131: | Line 158: | ||
In the arch file of CP2K: add < | In the arch file of CP2K: add < | ||
- | ====3c libxsmm(optional)===== | + | ====3d libxsmm(optional)===== |
A library for matrix operations and deep learning primitives: [[https:// | A library for matrix operations and deep learning primitives: [[https:// | ||
Line 146: | Line 173: | ||
In the arch file of CP2K: add < | In the arch file of CP2K: add < | ||
- | ====3d PEXSI (optional)==== | + | ====3e PEXSI (optional)==== |
PEXSI requires parmetis, scotch, CombBLAS_bata, | PEXSI requires parmetis, scotch, CombBLAS_bata, | ||
- | ===3d1 parmetis=== | + | ===3e1 parmetis=== |
Download and extract [[http:// | Download and extract [[http:// | ||
Line 199: | Line 226: | ||
If you have an error during the " | If you have an error during the " | ||
- | ===3d2 scotch=== | + | ===3e2 scotch=== |
Download and extract [[https:// | Download and extract [[https:// | ||
Line 220: | Line 247: | ||
</ | </ | ||
- | ===3d3 | + | ===3e3 |
Download and extract [[https:// | Download and extract [[https:// | ||
Line 258: | Line 285: | ||
</ | </ | ||
- | ===3d4 upcxx=== | + | ===3e4 upcxx=== |
Download and extract [[https:// | Download and extract [[https:// | ||
Line 270: | Line 297: | ||
The successful installation will display "UPC++ successfully installed" | The successful installation will display "UPC++ successfully installed" | ||
- | ===3d5 symPACK=== | + | ===3e5 symPACK=== |
Download and extract [[https:// | Download and extract [[https:// | ||
Line 283: | Line 310: | ||
</ | </ | ||
- | ===3d6 superLU_dist=== | + | ===3e6 superLU_dist=== |
Download and extract [[https:// | Download and extract [[https:// | ||
Line 294: | Line 321: | ||
$ export PARMETIS_BUILD_DIR=${HOME}/ | $ export PARMETIS_BUILD_DIR=${HOME}/ | ||
$ export COMBBLAS_ROOT=/ | $ export COMBBLAS_ROOT=/ | ||
- | $ export COMBBLAS_BUILD_DIR=${HOME}/ | + | $ export COMBBLAS_BUILD_DIR=${HOME}/ |
$ mkdir build | $ mkdir build | ||
$ cd build | $ cd build | ||
Line 303: | Line 330: | ||
</ | </ | ||
- | Edit the following generated files after cmake and add the "-mpi" flag at the end of the line.\\ | + | Edit the following generated files after cmake and add the "-lmpi" flag at the end of the line.\\ |
*build/ | *build/ | ||
Line 331: | Line 358: | ||
- | ===3d7 PEXSI=== | + | ===3e7 PEXSI=== |
Download and extract [[https:// | Download and extract [[https:// | ||
Line 393: | Line 420: | ||
Add < | Add < | ||
- | ====3e QUIP (optional)=== | + | ====3f QUIP (optional)=== |
Download " | Download " | ||
Line 550: | Line 577: | ||
In the arch file of CP2K: Add < | In the arch file of CP2K: Add < | ||
- | ====3f spfft(optional)==== | + | ====3g spfft(optional)==== |
Download and extract [[https:// | Download and extract [[https:// | ||
Line 565: | Line 592: | ||
</ | </ | ||
- | ====3g spla(optional)==== | + | ====3h spla(optional)==== |
Download and extract [[https:// | Download and extract [[https:// | ||
Line 580: | Line 607: | ||
</ | </ | ||
- | ====3h SIRIUS (optional)==== | + | ====3i SIRIUS (optional)==== |
SIRIUS-7.3.0 requires spglib-1.0.2 or later and gsl 2.7 or later.\\ | SIRIUS-7.3.0 requires spglib-1.0.2 or later and gsl 2.7 or later.\\ | ||
- | ===3h1 spglib=== | + | ===3i1 spglib=== |
Download and extract [[https:// | Download and extract [[https:// | ||
Line 603: | Line 630: | ||
In the arch file of CP2K: Add < | In the arch file of CP2K: Add < | ||
- | ===3h2 gsl 2.7=== | + | ===3i2 gsl 2.7=== |
If you have the following gsl-related error during building sirius (i.e. " | If you have the following gsl-related error during building sirius (i.e. " | ||
Line 629: | Line 656: | ||
The "make install" | The "make install" | ||
- | ===3h3 SIRIUS=== | + | ===3i3 SIRIUS=== |
Download and extract [[https:// | Download and extract [[https:// | ||
Line 669: | Line 696: | ||
In the arch file of CP2K: Add < | In the arch file of CP2K: Add < | ||
- | ====3i Libvori (optional)==== | + | ====3j Libvori (optional)==== |
Download and extract [[https:// | Download and extract [[https:// | ||
Line 688: | Line 715: | ||
In the arch file of CP2K: Add < | In the arch file of CP2K: Add < | ||
- | ====3j libvdwxc (optional)==== | + | ====3k libvdwxc (optional)==== |
Download and extract [[https:// | Download and extract [[https:// | ||
Line 761: | Line 788: | ||
*libxc-5.1.0/ | *libxc-5.1.0/ | ||
*sirius-7.3.0/ | *sirius-7.3.0/ | ||
+ | *pexsi_v1.2.0/ | ||
*QUIP-b4336484fb65b0e73211a8f920ae4361c7c353fd/ | *QUIP-b4336484fb65b0e73211a8f920ae4361c7c353fd/ | ||
howto/compile_on_windows_with_cygwin.1668084558.txt.gz · Last modified: 2022/11/10 12:49 by oschuett