Same compilation problem on various machines

Kirill Zinovjev kirill.... at gmail.com
Sat Sep 23 13:12:13 UTC 2017


Dear all,
I'm trying to compile cp2k using toolchain:

$svn checkout svn://svn.code.sf.net/p/cp2k/code/branches/cp2k-2_4-branch 
cp2k-2.4
$cd cp2k-2.4/cp2k/tools
$svn checkout 
https://svn.code.sf.net/p/cp2k/code/trunk/cp2k/tools/toolchain toolchain
$cd toolchain
$./install_cp2k_toolchain.sh --install-all

The toolchain finishes successfully, but when compiling cp2k

$cp install/arch/* ../../arch/
$source install/setup
$cd ../../makefiles
$make -j 4 ARCH=local VERSION=sopt

the following error is thrown:

/ssd/cp2k-2.4/cp2k/makefiles/../src/f77_blas_poison.F:139:1:

  FUNCTION SDOT()
 1
Error: Function result ‘sdot’ at (1) has no IMPLICIT type

and many more of the same kind, all from "f77_blas_poison.F". 
Additionally, when I am trying to compile several versions with 

$make -j 4 ARCH=local VERSION="sopt sdbg ssmp popt pdbg psmp"

I get:

Makefile:176: sdbg: No such file or directory
Makefile:176: ssmp: No such file or directory
Makefile:176: popt: No such file or directory
Makefile:176: pdbg: No such file or directory
Makefile:176: psmp: No such file or directory
Makefile:318: warning: overriding recipe for target 'sdbg'
Makefile:158: warning: ignoring old recipe for target 'sdbg'
Makefile:318: warning: overriding recipe for target 'ssmp'
Makefile:158: warning: ignoring old recipe for target 'ssmp'
Makefile:318: warning: overriding recipe for target 'popt'
Makefile:158: warning: ignoring old recipe for target 'popt'
Makefile:318: warning: overriding recipe for target 'pdbg'
Makefile:158: warning: ignoring old recipe for target 'pdbg'
Makefile:324: warning: overriding recipe for target 
'/ssd/cp2k-2.4/cp2k/makefiles/../lib/local/sopt'
Makefile:318: warning: ignoring old recipe for target 
'/ssd/cp2k-2.4/cp2k/makefiles/../lib/local/sopt'
...
/ssd/cp2k-2.4/cp2k/makefiles/../src/admm_types.F:13:6:

   USE bibliography,                    ONLY: Guidon2010,&
      1
Fatal Error: Can't open module file ‘bibliography.mod’ for reading at (1): 
No such file or directory

Exactly the same happens on my home laptop, my desktop (both Ubuntu 16.04) 
and our cluster (openSUSE 11.4). What am I missing?
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20170923/47102754/attachment.htm>


More information about the CP2K-user mailing list