[CP2K-user] [CP2K:20261] Re: compilation aborted for pw_methods.F90 (code 1)
Frederick Stein
f.stein at hzdr.de
Fri May 31 08:20:17 UTC 2024
Dear Luca,
Technically, this is a compiler bug (shortcuts arising from external
associate constructs are shared). What you can do locally is to add the
variable to the SHARED clause. Considering your compilers (considering the
error message, the Intel compilers are employed), you should employ a more
recent compiler if available.
Best,
Frederick
Luca schrieb am Donnerstag, 30. Mai 2024 um 23:05:43 UTC+2:
> Dear all
>
> I am trying to install cp2k-2024.1 using gcc10.3 and Intelmpi-2018 (or
> 2020) compilers, Unfortunately, I get the error:
>
> cp2k-2024.1/src/pw/pw_methods.F(1678): error #6752: Since the OpenMP*
> DEFAULT(NONE) clause applies, the PRIVATE, SHARED, REDUCTION, FIRSTPRIVATE,
> or LASTPRIVATE attribute must be explicitly specified for every variable.
> [NGPTS]
> DO gpt = 1, ngpts
> ------------------------^
> cp2k-2024.1/src/pw/pw_methods.F(1687): error #6752: Since the OpenMP*
> DEFAULT(NONE) clause applies, the PRIVATE, SHARED, REDUCTION, FIRSTPRIVATE,
> or LASTPRIVATE attribute must be explicitly specified for every variable.
> [NGPTS]
> DO gpt = 1, ngpts
> ------------------------^
> compilation aborted for pw_methods.F90 (code 1)
> make[3]: *** [pw_methods.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[2]: *** [all] Error 2
> make[1]: *** [psmp] Error 2
> make: *** [all] Error 2
>
> Could you please help to overcome this issue?
>
> Bets Regards.
> Luca
>
>
>
--
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+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/6b742b7f-20dc-41ed-80cc-778d6f48cdfdn%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20240531/2666b082/attachment.htm>
More information about the CP2K-user
mailing list