[CP2K-user] [CP2K:11360] Install CP2K locally on cluster

Tiziano Müller tiziano... at chem.uzh.ch
Sun Mar 3 11:47:17 UTC 2019


Hi Mohammad,

removing all "-Werror=..." flags should make it compile, see

  https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

for a description of the diagnostic flags for GCC.

Best regards,
Tiziano

Am 02.03.19 um 20:04 schrieb Mohammad Shakiba:
> Hello everyone,
> 
> I have an account on a cluster and I want to install CP2K locally in my
> own account. I used the following commands and got the following error:
> 
> 
> 1- cd /tools/toolchain
> 
> 
> 2- ./install_cp2k_toolchain.sh
> 
> 
> 3- copying the create arch files like 'local.ssmp' to arch folder in
> cp2k path
> 
> 
> 4- source the setup file in the 'toolchain' folder
> 
> 
> 5- make -j 30 ARCH=local VERSION=ssmp
> 
> 
> Now, when I want to make the executable file this error occurs (the
> first one happens multiple times for many functions):
> 
> 
> ../cp2k-6.1.0/src/common/spherical_harmonics.F:1205: error: ‘plm’ may be
> used uninitialized in this function
> ....
> ....
> f951: warning: unrecognized command line option "-Wno-maybe-uninitialized"
> 
> 
> I don't know what to do with it. Also, when I remove the
> "-Wno-maybe-uninitialized" from the arch file I get the error of '
> 'variable' may be used uninitialized in this function'.
> 
> Please help me to solve this.
> 
> Thanks in advance.
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "cp2k" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to cp2k+uns... at googlegroups.com
> <mailto:cp2k+uns... at googlegroups.com>.
> To post to this group, send email to cp... at googlegroups.com
> <mailto:cp... at googlegroups.com>.
> Visit this group at https://groups.google.com/group/cp2k.
> For more options, visit https://groups.google.com/d/optout.

-- 
Tiziano Müller
University of Zurich
Department of Chemistry
Winterthurerstrasse 190
CH-8057 Zürich

Tel: +41 44 63 54234
www.chem.uzh.ch
tiziano... at chem.uzh.ch



More information about the CP2K-user mailing list