[CP2K-user] [CP2K:12793] Problem with compilation at cluster

Tiziano Müller tiziano... at chem.uzh.ch
Tue Jan 21 07:44:13 UTC 2020


Hi Carlos,

please check your compiler version, a list of supported/unsupported 
compilers can be found here:

   https://www.cp2k.org/dev:compiler_support

You can also try to remove `-Wuse-without-only` from the arch-files in 
`arch/local.*`.

Please note that on a cluster you most likely need only `popt` (MPI, no 
OpenMP) or `psmp` (MPI, OpenMP) and maybe `sopt` for testing.

Best regards,
Tiziano

On 20.01.20 17:56, Carlos Bornes wrote:
> Hi there CP2K users
> 
> I've tried to compile CP2K at my University's cluster. After running the 
> toolchain script I've followed the instruction and copied the files to 
> /cp2k-7.1/arch/ and ran
> 
> |
> make -j 4ARCH=localVERSION="sopt sdbg ssmp popt pdbg psmp"
> |
> 
> but I'm getting the following error
> 
> |
> gfortran:error:unrecognized command line option ‘-Wuse-without-only’
> make[4]:***[dbcsr_kinds.o]Error1
> make[3]:***[libdbcsr]Error2
> make[2]:***[dbcsr]Error2
> make[1]:***[popt]Error2
> make[1]:***Waitingforunfinished jobs....
> Resolvingdependencies forssmp ...
> Resolvingdependencies forsopt ...
> Resolvingdependencies forsdbg ...
> echo git:e635599 >"/scratch_p/cbornes/cp2k-7.1/obj/git-ref.tmp"
> echo git:e635599 >"/scratch_p/cbornes/cp2k-7.1/obj/git-ref.tmp"
> echo git:e635599 >"/scratch_p/cbornes/cp2k-7.1/obj/git-ref.tmp"
> make:***[all]Error2
> |
> 
> Any idea what is the error? Or where I can find an error log describing 
> the error in more detail?
> 
> 
> -- 
> 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 cp... at googlegroups.com 
> <mailto:cp... at googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/cp2k/ecd80df4-2649-45b5-93b9-f5ee9afbe741%40googlegroups.com 
> <https://groups.google.com/d/msgid/cp2k/ecd80df4-2649-45b5-93b9-f5ee9afbe741%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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