<div dir="ltr"><div dir="auto"><div dir="ltr"><div>Dear Professor Giannozzi and dear Experts,</div><div>Thank You for Your kind reply.</div><div>I tried what you suggested at point 1. and tried then "make run-tests" in the directory "test-suite", but I still got the "Segmentation fault" error messages as before and again 157 tests out 234 passed (I'm working for the time being with the 7.1 version since I made "veryclean" for the 7.2 version).</div><div><br></div><div>As for point 2., in the path
"$(TOPDIR)/external/lapack/" I have neither
libblas.a
nor liblapack.a (in the 7.1 version I have only two files .yml: .appveyor.yml and .travis.yml; in the 7.2 version I have instead the directories and files showed in this snapshot <a href="https://drive.google.com/file/d/1W1o0iC67fUTLtQiEo3AZINpPcKStDeOe/view?usp=share_link">https://drive.google.com/file/d/1W1o0iC67fUTLtQiEo3AZINpPcKStDeOe/view?usp=share_link</a> ) and I did not modified such directory for both versions. What should I do?<br></div><div>As for blas I'm using the newest version of libblas3 (3.9.0-1build1), while for lapack I'm using the newest version of
liblapack-dev (3.9.0-1build1): is the problem (as I guess) related to them? <br></div><div>Are they not suitable? Should I autoremove and reinstall other versions or types?</div><div><br></div><div>I will proceed as You kindly suggested in point 3. once this problem has been solved.</div><div><br></div><div><br></div><div>A side question: since now I'm trying to find from where the error arises with these two versions in my PC, can I work at the same time with both the two versions 7.1 and 7.2 configured and "made all" in two different directories (at the same level) or should I (as I am doing now) work with only one configured and "made all" (with the other one "made veryclean") at a time?<br></div><div><br></div><div>Thank You again in advance.</div><div><br></div><div>Best regards, <span><br></span></div><div><span>Niccolò Damian<br>
Physics Master student at University of Padua</span> <br></div><div><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno sab 20 mag 2023 alle ore 21:56 Paolo Giannozzi <<a href="mailto:paolo.giannozzi@uniud.it" rel="noreferrer" target="_blank">paolo.giannozzi@uniud.it</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">0. I use since several years the Windows Subsystem for Linux as my main <br>
develop platform, so it works, no doubts.<br>
<br>
1. Please verify whether this explains your problem:<br>
<a href="https://gitlab.com/QEF/q-e/-/wikis/Support/Segfault-with-gfortran-and-WSL" rel="noreferrer noreferrer" target="_blank">https://gitlab.com/QEF/q-e/-/wikis/Support/Segfault-with-gfortran-and-WSL</a><br>
<br>
2. "configure" no longer recognizes options "--with-internal-blas" and <br>
"--with-internal-lapack". If you want to try whether the problem arises <br>
from pre-(badly-)compiled blas and lapack, edit make.inc as follows:<br>
BLAS_LIBS = $(TOPDIR)/external/lapack/libblas.a<br>
LAPACK = liblapack<br>
LAPACK_LIBS = $(TOPDIR)/external/lapack/liblapack.a<br>
<br>
3. You may also try "./configure --enable-debug". It should at least say <br>
something more about the place where the code crashes.<br>
<br>
Paolo<br>
<br>
<br>
On 20/05/2023 13:23, Niccolò Damian wrote:<br>
> <br>
> You don't often get email from <a href="mailto:niccolo.damian@studenti.unipd.it" rel="noreferrer" target="_blank">niccolo.damian@studenti.unipd.it</a>. Learn <br>
> why this is important <<a href="https://aka.ms/LearnAboutSenderIdentification" rel="noreferrer noreferrer" target="_blank">https://aka.ms/LearnAboutSenderIdentification</a>><br>
> <br>
> <br>
> Dear Experts,<br>
> In the previous days I have tried to install Quantum espresso version <br>
> 7.2 in Ubuntu 20.04.6 LTS app in my Windows PC (I have Windows 10) <br>
> through Windows Subsystem for Linux.<br>
> There I have the version 9.4.0 of gfortran.<br>
> <br>
> I have followed the instructions and, when I tried to check whether the <br>
> installation was successful or not (no error messages were printed <br>
> before), only two thirds of the tests passed, and those that failed were <br>
> regarding (more than half of) the "pw" directories. The errors where all <br>
> of the following form:<br>
> <br>
> /home/nick/Quantum_espresso/qe-7.2/test-suite/..//test-suite/run-pw.sh: <br>
> line 52: 4169 Segmentation fault (core dumped) ${PARA_PREFIX} <br>
> ${ESPRESSO_ROOT}/bin/pw.x ${PARA_SUFFIX} -input $1 > $2 2> $3<br>
> pw_dipole - <a href="http://2dcutoff.in" rel="noreferrer noreferrer" target="_blank">2dcutoff.in</a> <br>
> <<a href="http://2dcutoff.in/" rel="noreferrer noreferrer" target="_blank">http://2dcutoff.in/</a>>: **FAILED**.<br>
> Different sets of data extracted from benchmark and test.<br>
> Data only in benchmark: n1, ef1, p1, band, f1, e1.<br>
> <br>
> In the attachment you can find the run-pw.sh file, which to me doesn't <br>
> have any problem at line 52.<br>
> I followed then what suggested in the User Guide, recompiling with<br>
> <br>
> ./configure --with-internal-blas --with-internal-lapack<br>
> <br>
> but the result didn't change.<br>
> I then did "make veryclean" and tried to compile and install in another <br>
> directory (parallel to the previous one) the version 7.1, using the <br>
> ./configure with the two options above, succeeding in the end even if I <br>
> don't know if those options worked, since there was the message <br>
> "configure: WARNING: unrecognized options: --with-internal-blas, <br>
> --with-internal-lapack".<br>
> Anyway again, when running the tests the result was the same above.<br>
> I tried also to run single examples but the message on terminal was (for <br>
> both versions):<br>
> <br>
> Program received signal SIGSEGV: Segmentation fault - invalid memory <br>
> reference.<br>
> <br>
> Backtrace for this error:<br>
> #0 0x7f6c32090d21 in ???<br>
> #1 0x7f6c3208fef5 in ???<br>
> #2 0x7f6c31ce308f in ???<br>
> #3 0x7fffdae329fc in ???<br>
> Segmentation fault (core dumped)<br>
> <br>
> that is also what I get in the output files of the tests (except for the <br>
> last line). The output files of the examples instead did not clarify <br>
> what the problem is, since they stopped with no useful information.<br>
> <br>
> I have already checked what advised here<br>
> <a href="https://gitlab.com/QEF/q-e/-/wikis/Support/Problem-downloading-pseudopotential-files" rel="noreferrer noreferrer" target="_blank">https://gitlab.com/QEF/q-e/-/wikis/Support/Problem-downloading-pseudopotential-files</a> <<a href="https://gitlab.com/QEF/q-e/-/wikis/Support/Problem-downloading-pseudopotential-files" rel="noreferrer noreferrer" target="_blank">https://gitlab.com/QEF/q-e/-/wikis/Support/Problem-downloading-pseudopotential-files</a>><br>
> and the URLs are correct.<br>
> I have also tried to look for a solution on the internet, but I did not <br>
> manage to solve the problem.<br>
> <br>
> I kindly ask for Your help, since I do not know what to do anymore.<br>
> <br>
> Thank You in advance,<br>
> Niccolò Damian<br>
> Physics Master student at University of Padua<br>
> <br>
> _______________________________________________<br>
> The Quantum ESPRESSO community stands by the Ukrainian<br>
> people and expresses its concerns about the devastating<br>
> effects that the Russian military offensive has on their<br>
> country and on the free and peaceful scientific, cultural,<br>
> and economic cooperation amongst peoples<br>
> _______________________________________________<br>
> Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/" rel="noreferrer noreferrer" target="_blank">http://www.max-centre.eu/</a>)<br>
> users mailing list <a href="mailto:users@lists.quantum-espresso.org" rel="noreferrer" target="_blank">users@lists.quantum-espresso.org</a><br>
> <a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a><br>
<br>
-- <br>
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>
Univ. Udine, via delle Scienze 206, 33100 Udine Italy, +39-0432-558216<br>
</blockquote></div></div>
</div>