<div>Dear Luca,</div><div>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.</div><div>Best,</div><div>Frederick<br /></div><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">Luca schrieb am Donnerstag, 30. Mai 2024 um 23:05:43 UTC+2:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Dear all<div><br></div><div>I am trying to install cp2k-2024.1 using gcc10.3 and Intelmpi-2018 (or 2020) compilers, Unfortunately, I get the error:</div><div><br></div><div> 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]</div>            DO gpt = 1, ngpts<br>------------------------^<br>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]<br>            DO gpt = 1, ngpts<br>------------------------^<br>compilation aborted for pw_methods.F90 (code 1)<br>make[3]: *** [pw_methods.o] Error 1<br>make[3]: *** Waiting for unfinished jobs....<br>make[2]: *** [all] Error 2<br>make[1]: *** [psmp] Error 2<br>make: *** [all] Error 2<br><div><br></div><div>Could you please help to overcome this issue?</div><div><br></div><div>Bets Regards.</div><div>Luca</div><div><br></div><div><br></div></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/6b742b7f-20dc-41ed-80cc-778d6f48cdfdn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/6b742b7f-20dc-41ed-80cc-778d6f48cdfdn%40googlegroups.com</a>.<br />