howto:compile_on_windows_with_cygwin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
howto:compile_on_windows_with_cygwin [2018/04/05 15:26] – [1.Cygwin installation:] gtocci | howto:compile_on_windows_with_cygwin [2019/04/23 18:02] – [3.Compilation with Cygwin] 89.132.74.35 | ||
---|---|---|---|
Line 28: | Line 28: | ||
</ | </ | ||
- | ===== 3.Compilation with Cygwin ===== | + | |
- | An example CP2K ARCH file for a serial build of CP2K on Cygwin is as follows: | + | |
- | < | + | |
CC = cc | CC = cc | ||
CPP = | CPP = | ||
Line 46: | Line 44: | ||
OBJECTS_ARCHITECTURE = machine_gfortran.o | OBJECTS_ARCHITECTURE = machine_gfortran.o | ||
- | </ | ||
- | Remove the -D__GFORTRAN flag if you compile CP2K 2.6.0. Save it as '' | ||
- | Launch the Cygwin Terminal (Cygwin bash) and change the working directory to '' | ||
- | < | ||
- | make ARCH=Cygwin-i686-gfortran VERSION=sopt | ||
- | </ | ||
- | It may take 1 or 2 hours until a compilation is completed. | ||
- | If you find '' | ||
===== 4.Installation CP2K on Windows PC which not installed Cygwin ===== | ===== 4.Installation CP2K on Windows PC which not installed Cygwin ===== |
howto/compile_on_windows_with_cygwin.txt · Last modified: 2023/12/01 00:25 by krack