<div dir="ltr">Dear matthias,<div><br></div><div>After your suggestion I added a flag to FCFLAGS. But this time after a long time of compilation, I got an error again. Error is as follows:</div><div><br></div><div>gfortran -c -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -fallow-argument-mismatch -D__FFTSG -D__COMPILE_ARCH="\"Cygwin-i686-gfortran\"" -D__COMPILE_DATE="\"Wed, Oct 14, 2020 3:28:01 PM\"" -D__COMPILE_HOST="\"DESKTOP-RGFVIHK\"" -D__COMPILE_REVISION="\"git:e635599\"" -D__DATA_DIR="\"/cp2k-7.1/data\"" -D__SHORT_FILE__="\"environment.F\"" -I'/cp2k-7.1/src/' -I'/cp2k-7.1/obj/Cygwin-i686-gfortran/sopt/exts/dbcsr' environment.F90<br>/cp2k-7.1/src/environment.F:223:2:<br><br> 223 | #error -ffast-math (GCC) or -hfpN (N>0, Cray) can lead to wrong results and numerical instabilities and are therefore no longer supported<br> | 1~~~~<br>Error: #error -ffast-math (GCC) or -hfpN (N>0, Cray) can lead to wrong results and numerical instabilities and are therefore no longer supported<br>make[3]: *** [/cp2k-7.1/Makefile:466: environment.o] Error 1<br>make[2]: *** [/cp2k-7.1/Makefile:134: all] Error 2<br>make[1]: *** [/cp2k-7.1/Makefile:123: sopt] Error 2<br>make: *** [Makefile:118: all] Error 2<br><br>User@DESKTOP-RGFVIHK /cp2k-7.1<br></div><div><br></div><div>I have attached the arch file of cp2k.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 14, 2020 at 3:18 PM Krack Matthias (PSI) <<a href="mailto:matthi...@psi.ch">matthi...@psi.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-3983098746807543763WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">In that arch file, add the flag to FCFLAGS.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Matthias<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> <a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a> <<a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>>
<b>On Behalf Of </b>sumit agrawal<br>
<b>Sent:</b> Mittwoch, 14. Oktober 2020 09:37<br>
<b>To:</b> <a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a><br>
<b>Subject:</b> Re: [CP2K:14039] Hi...while instaling cp2k via cygwin getting error<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Dear Matthias,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks for the help. I added to CFLAGS in the Cygwin-i686-gfortran.sopt file. I again get errors as follows:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">/cp2k-7.1/src/pw/realspace_grid_types.F:921:27:<br>
<br>
910 | CALL dcopy(nn, sendbuf, 1, pw%cr3d, 1)<br>
| 2<br>
......<br>
921 | CALL dcopy(nn, pw%cc3d, 2, sendbuf, 1)<br>
| 1<br>
Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)).<br>
make[3]: *** [/cp2k-7.1/Makefile:466: realspace_grid_types.o] Error 1<br>
make[2]: *** [/cp2k-7.1/Makefile:134: all] Error 2<br>
make[1]: *** [/cp2k-7.1/Makefile:123: sopt] Error 2<br>
make: *** [Makefile:118: all] Error 2<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have attached the arch file of cp2k which I am using to compile. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Wed, Oct 14, 2020 at 2:05 PM vasanth kumar <<a href="mailto:vasan...@gmail.com" target="_blank">vasan...@gmail.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal">hi<u></u><u></u></p>
<div>
<p class="MsoNormal">I am following this to install cp2k, but getting error like I said in previous email<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://www.cp2k.org/exercises:2019_uzh_acpc2:installation" target="_blank">https://www.cp2k.org/exercises:2019_uzh_acpc2:installation</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Wed, 14 Oct 2020 at 12:48, Krack Matthias (PSI) <<a href="mailto:matthi...@psi.ch" target="_blank">matthi...@psi.ch</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">If you are using a recent GNU compiler version like 10.2 then adding the compiler flag “–fallow-argument-mismatch”
might help.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">HTH</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Matthias</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif">
<a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a> <<a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>>
<b>On Behalf Of </b>sumit agrawal<br>
<b>Sent:</b> Mittwoch, 14. Oktober 2020 07:36<br>
<b>To:</b> <a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a><br>
<b>Subject:</b> Re: [CP2K:14034] Hi...while instaling cp2k via cygwin getting error</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">Hii, <u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I also tried with cp2k version 7.1, but in this case the errors were as following:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> /cp2k-7.1/src/pw/realspace_grid_types.F:921:27:<u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
910 | CALL dcopy(nn, sendbuf, 1, pw%cr3d, 1)<br>
| 2<br>
......<br>
921 | CALL dcopy(nn, pw%cc3d, 2, sendbuf, 1)<br>
| 1<br>
Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)).<br>
make[3]: *** [/cp2k-7.1/Makefile:466: realspace_grid_types.o] Error 1<br>
make[2]: *** [/cp2k-7.1/Makefile:134: all] Error 2<br>
make[1]: *** [/cp2k-7.1/Makefile:123: sopt] Error 2<br>
make: *** [Makefile:118: all] Error 2<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Please help me.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">On Tue, Oct 13, 2020 at 8:50 PM Amir Said <<a href="mailto:amirsa...@gmail.com" target="_blank">amirsa...@gmail.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<div>
<p class="MsoNormal">Dear V<span style="font-family:Helvetica,sans-serif;color:rgb(32,33,36);letter-spacing:0.15pt">asanth kumar,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Helvetica,sans-serif;color:rgb(32,33,36);letter-spacing:0.15pt">I also have the same problem i'm trying from last two weeks but it make the problem as same like
you</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">On Tue, Oct 13, 2020 at 5:11 PM vasanth kumar <<a href="mailto:vasan...@gmail.com" target="_blank">vasan...@gmail.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<div>
<p class="MsoNormal">Hi <u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I am unable to install cp2k in my windows-10 , it showing the error....copied below<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">VASANTH@LAPTOP-UL1N39OG ~/cp2k-7.1/makefiles<br>
$ make ARCH=Cygwin-i686-gfortran VERSION=sopt<br>
Discovering programs ...<br>
Removing stale archives for sopt ...<br>
Resolving dependencies for sopt ...<br>
makedep error: Module filename format must be either of "lower", "upper", or "no".<br>
make[2]: *** [/home/VASANTH/cp2k-7.1/makefiles/Makefile:389: makedep] Error 1<br>
make[1]: *** [/home/VASANTH/cp2k-7.1/makefiles/Makefile:118: sopt] Error 2<br>
make: *** [makefile:113: all] Error 2<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">pl suggest the solution<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">thanks in advance<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal">--
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">With Regards<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Dr. V. Vasantha Kumar<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Assoc. Prof. of Physics<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Vignan Institute of Technology and Science<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Hyderabad.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Mob:9959363113<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal">--
<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:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/CAJeL8MYipFxQDpJrU4%2BNZqARiPrT31OVrcW3CXsA%3D7LApTDQOw%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">
https://groups.google.com/d/msgid/cp2k/CAJeL8MYipFxQDpJrU4%2BNZqARiPrT31OVrcW3CXsA%3D7LApTDQOw%40mail.gmail.com</a>.<u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal">--
<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:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/CAPX-aTnnFrj1LH5hXs1q%2BK1FHaBmo-ubztcGi%3DFP-gDrhest1g%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">
https://groups.google.com/d/msgid/cp2k/CAPX-aTnnFrj1LH5hXs1q%2BK1FHaBmo-ubztcGi%3DFP-gDrhest1g%40mail.gmail.com</a>.<u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal">--
<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:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/CALSDoYYdpbDdX-BMBGE4QURvd_gF6HPGPcNAU5vAoNBdarr66w%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">
https://groups.google.com/d/msgid/cp2k/CALSDoYYdpbDdX-BMBGE4QURvd_gF6HPGPcNAU5vAoNBdarr66w%40mail.gmail.com</a>.<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">-- <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:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/453b7702d5964b0aae64e43ab0e591be%40psi.ch?utm_medium=email&utm_source=footer" target="_blank">
https://groups.google.com/d/msgid/cp2k/453b7702d5964b0aae64e43ab0e591be%40psi.ch</a>.<u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">With Regards<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Dr. V. Vasantha Kumar<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Assoc. Prof. of Physics<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Vignan Institute of Technology and Science<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Hyderabad.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Mob:9959363113<u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal">-- <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:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/CAJeL8MZDPHY3Sjby1nhHrdHOHkgCLN2Ti6vWgL-_4vm95E2kbQ%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">
https://groups.google.com/d/msgid/cp2k/CAJeL8MZDPHY3Sjby1nhHrdHOHkgCLN2Ti6vWgL-_4vm95E2kbQ%40mail.gmail.com</a>.<u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal">-- <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:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/CALSDoYbJQDkyVVMaKQqn1JtbrE%2BzUy3JqSsjzdS8q4XUofbO9w%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">
https://groups.google.com/d/msgid/cp2k/CALSDoYbJQDkyVVMaKQqn1JtbrE%2BzUy3JqSsjzdS8q4XUofbO9w%40mail.gmail.com</a>.<u></u><u></u></p>
</div>
</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:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/3223c82112bc42e08342bf052459fef2%40psi.ch?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/cp2k/3223c82112bc42e08342bf052459fef2%40psi.ch</a>.<br>
</blockquote></div>