Dear <span style="color: rgb(32, 33, 36); font-family: Roboto, Arial, sans-serif; letter-spacing: 0.25px; text-wrap: nowrap;">Frederick</span><div>Thank you again for your prompt reply. Unfortunately, I only have access to older versions of the Intel compiler than those you mentioned. </div><div>I will try to compile the code without Intel support.<br /></div><div><font color="#202124" face="Roboto, Arial, sans-serif"><span style="letter-spacing: 0.25px; text-wrap: nowrap;"><br /></span></font></div><div><font color="#202124" face="Roboto, Arial, sans-serif"><span style="letter-spacing: 0.25px; text-wrap: nowrap;">Best Regards.</span></font></div><div><font color="#202124" face="Roboto, Arial, sans-serif"><span style="letter-spacing: 0.25px; text-wrap: nowrap;">Luca <br /></span></font><br /></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">Il giorno venerdì 31 maggio 2024 alle 13:04:20 UTC+2 Frederick Stein ha scritto:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Dear Luca,</div><div>I do not know what the compiler does in your case. To me, it seems like a bug. Which compiler version do you use? We are currently testing 22.2 and OneAPI 2024.1.</div><div>Best regards,</div><div>Frederick<br></div><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">Luca schrieb am Freitag, 31. Mai 2024 um 12:11:13 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 Frederick<div><br></div><div>thank you for your reply.</div><div>I followed your advice, however, now there is a new issue :</div><div><br></div><div>cp2k-2024.1/src/motion/mc/mc_types.F(528): error #6795: The target must be of the same type and kind type parameters as the pointer.   [MC_INPUT_FILE]<br>      IF (PRESENT(mc_input_file)) mc_input_file => mc_par%mc_input_file<br>----------------------------------^<br>cp2k-2024.1/src/motion/mc/mc_types.F(750): error #6795: The target must be of the same type and kind type parameters as the pointer.   [MC_INPUT_FILE]<br>      IF (PRESENT(mc_input_file)) mc_par%mc_input_file => mc_input_file<br>-----------------------------------------^<br>/cp2k-2024.1/src/motion/mc/mc_types.F(142): error #6404: This name does not have a type, and must have an explicit type.   [MC_INPUT_FILE]<br>         mc_input_file => NULL(), mc_bias_file => NULL()<br>---------^<br>compilation aborted for mc_types.F90 (code 1)<br>make[3]: *** [mc_types.o] Error 1</div><div><br>make[3]: *** Waiting for unfinished jobs....<br></div><div></div><div><br></div><div><br></div><div>Could you please help ? Is this easily fixable like before? </div><div><br></div><div>Best regards.</div><div>Luca </div><div><br></div><div><br></div><div><br></div><div>  <br><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">Il giorno venerdì 31 maggio 2024 alle 10:20:17 UTC+2 Frederick Stein ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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></blockquote></div></blockquote></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/4465963e-798a-4b19-910b-ab621412507en%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/4465963e-798a-4b19-910b-ab621412507en%40googlegroups.com</a>.<br />