[CP2K-user] trying to compile any cp2k version

Victor Volkov volk... at gmail.com
Sun Jul 18 00:08:47 UTC 2021


trying to compile any cp2k version under cygwin

***************************
$ make ARCH=Cygwin-i686-gfortran Linux-x86-64-gfortran=sopt
Discovering programs ...
/cp2k-8.2.0/exts/Makefile.inc:2: *** "No DBCSR submodule available, please 
run 'git submodule update --init --recursive'".  Stop.
make[1]: *** [/cp2k-8.2.0/Makefile:126: ssmp] Error 2
make: *** [Makefile:121: all] Error 2

********************
in case  8.1

$ make ARCH=Cygwin-i686-gfortran Linux-x86-64-gfortran.ssmp=sopt
Discovering programs ...
Removing stale archives for ssmp ...
Resolving dependencies for ssmp ...
make -C /cp2k-8.1/exts/dbcsr -f .cp2k/Makefile \
   INCLUDEMAKE=/cp2k-8.1/arch/Cygwin-i686-gfortran.ssmp \
   LIBDIR=/cp2k-8.1/lib/Cygwin-i686-gfortran/ssmp/exts/dbcsr \
   OBJDIR=/cp2k-8.1/obj/Cygwin-i686-gfortran/ssmp/exts/dbcsr \
   ACC="" \
   ACCFLAGS=""
Removing stale archives ...
Resolving dependencies ...
gcc -c  /cp2k-8.1/src/grid/common/grid_library.c
/cp2k-8.1/src/grid/common/grid_library.c:28:2: error: #error "OpenMP is 
required. Please add -fopenmp to your C compiler flags."
   28 | #error "OpenMP is required. Please add -fopenmp to your C compiler 
flags."
      |  ^~~~~
make[3]: *** [/cp2k-8.1/Makefile:508: grid_library.o] Error 1
make[2]: *** [/cp2k-8.1/Makefile:144: all] Error 2
make[1]: *** [/cp2k-8.1/Makefile:126: ssmp] Error 2
make: *** [Makefile:121: all] Error 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20210717/e4411833/attachment.htm>


More information about the CP2K-user mailing list