<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">sorry but isn't this <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="https://www.mail-archive.com/users@lists.quantum-espresso.org/msg38069.html">https://www.mail-archive.com/users@lists.quantum-espresso.org/msg38069.html</a></div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">an answer to the same question posted
      by  you ? <br>
    </div>
    <div class="moz-cite-prefix">If the case the answer didn't work
      would be more useful to continue with the same thread. <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Pietro <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 8/20/20 9:58 AM, Pooja Vyas wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+EPedkhRPfqHoNZ2AUAZYWoZiO90TPbg5TRWES_UgPiRd3o2w@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div>While I try to install thermo_pw, on giving the command
            "make thermo_pw", I get following error,</div>
          <div><br>
          </div>
          <div>test -d bin || mkdir bin<br>
            ( cd clib ; make TLDEPS= all || exit 1 )<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/clib'<br>
            make[1]: Nothing to be done for 'all'.<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/clib'<br>
            cd install ; make -f extlibs_makefile libiotk<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/install'<br>
            if test ! -d ../S3DE; then \<br>
            (gzip -dc ../archive/iotk-1.2.beta.tar.gz | (cd ../; tar
            -xvf -)) ; \<br>
            if test -e Makefile_iotk; then \<br>
                    (cp Makefile_iotk ../S3DE/iotk/src/Makefile); fi; \<br>
            if test -e iotk_config.h; then \<br>
            (cp iotk_config.h ../S3DE/iotk/include/iotk_config.h); fi;
            fi<br>
            cd ../S3DE/iotk/src; make lib+util; <br>
            make[2]: Entering directory
            '/home/pooja/q-e-qe-6.5/S3DE/iotk/src'<br>
            make[2]: Nothing to be done for 'lib+util'.<br>
            make[2]: Leaving directory
            '/home/pooja/q-e-qe-6.5/S3DE/iotk/src'<br>
            cd ../bin; ln -fs ../S3DE/iotk/tools/iotk .; \<br>
            ln -fs ../S3DE/iotk/src/iotk.x .; \<br>
            ln -fs ../S3DE/iotk/src/iotk_print_kinds.x .; \<br>
            # middle instruction needed for windows<br>
            cd ../; rm -rf iotk ; ln -fs S3DE/iotk iotk<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/install'<br>
            cd install ; make -f extlibs_makefile libfox<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/install'<br>
            echo <br>
            <br>
            if test ! -d ../FoX; then \<br>
                    mkdir ../FoX; \<br>
            (gzip -dc ../archive/fox.tgz | (cd ../FoX; tar -xvf -)); \<br>
            cd ../FoX/fox/; export FC=gfortran; export FCFLAGS=""; \<br>
            ./configure --prefix=/home/pooja/q-e-qe-6.5//FoX ;\<br>
            make install; cd ../; rm -fr fox;fi<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/install'<br>
            ( cd UtilXlib ; make TLDEPS= all || exit 1 )<br>
            make[1]: Entering directory
            '/home/pooja/q-e-qe-6.5/UtilXlib'<br>
            make[1]: Nothing to be done for 'all'.<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/UtilXlib'<br>
            cd install ; make -f extlibs_makefile liblapack<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/install'<br>
            if test ! -e ../LAPACK; then (gzip -dc ../archive/`echo "<a
              href="http://www.netlib.org/lapack/lapack-3.6.1.tgz"
              target="_blank" moz-do-not-send="true">http://www.netlib.org/lapack/lapack-3.6.1.tgz</a>"
            | sed 's/.*\///;s/.*=//'` | (cd ../ ; tar -xvf - ) ) ; if
            test "`echo $?`" -ne "0" ; then echo "*** Unable to download
            <a href="http://www.netlib.org/lapack/lapack-3.6.1.tgz"
              target="_blank" moz-do-not-send="true">http://www.netlib.org/lapack/lapack-3.6.1.tgz</a>."
            ; echo "*** Verify that the url is correct." ; exit 1 ; else
            (cd ../ ; ln -s lapack-3.6.1 LAPACK) ; fi ; fi<br>
            if test ! -e ../LAPACK/liblapack.a && test -e
            make_lapack.inc; then \<br>
              (cp make_lapack.inc ../LAPACK/make.inc; \<br>
              cd ../LAPACK; make blaslib lapacklib); else \<br>
                    (echo "no configuration file found for lapack"; \<br>
                     echo "run configure from main QE dir"; exit); fi <br>
            no configuration file found for lapack<br>
            run configure from main QE dir<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/install'<br>
            cd install ; make -f extlibs_makefile libcuda<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/install'<br>
            make[1]: Nothing to be done for 'libcuda'.<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/install'<br>
            ( cd LAXlib ; make TLDEPS= all || exit 1 )<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/LAXlib'<br>
            make[1]: Nothing to be done for 'all'.<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/LAXlib'<br>
            ( cd FFTXlib ; make TLDEPS= all || exit 1 )<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/FFTXlib'<br>
            make[1]: Nothing to be done for 'all'.<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/FFTXlib'<br>
            ( cd Modules ; make TLDEPS= all || exit 1 )<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/Modules'<br>
            make[1]: Nothing to be done for 'all'.<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/Modules'<br>
            ( cd KS_Solvers ; make TLDEPS= all || exit 1 )<br>
            make[1]: Entering directory
            '/home/pooja/q-e-qe-6.5/KS_Solvers'<br>
            if test -d Davidson_RCI ; then \<br>
            ( cd Davidson_RCI ; make all || exit 1 ) ; fi<br>
            make[2]: Entering directory
            '/home/pooja/q-e-qe-6.5/KS_Solvers/Davidson_RCI'<br>
            make[2]: Nothing to be done for 'all'.<br>
            make[2]: Leaving directory
            '/home/pooja/q-e-qe-6.5/KS_Solvers/Davidson_RCI'<br>
            if test -d Davidson ; then \<br>
                    ( cd Davidson ; make all || exit 1 ) ; fi<br>
            make[2]: Entering directory
            '/home/pooja/q-e-qe-6.5/KS_Solvers/Davidson'<br>
            make[2]: Nothing to be done for 'all'.<br>
            make[2]: Leaving directory
            '/home/pooja/q-e-qe-6.5/KS_Solvers/Davidson'<br>
            if test -d CG ; then \<br>
                    ( cd CG ; make all || exit 1 ) ; fi<br>
            make[2]: Entering directory
            '/home/pooja/q-e-qe-6.5/KS_Solvers/CG'<br>
            make[2]: Nothing to be done for 'all'.<br>
            make[2]: Leaving directory
            '/home/pooja/q-e-qe-6.5/KS_Solvers/CG'<br>
            if test -d PPCG ; then \<br>
                    ( cd PPCG ; make all || exit 1 ) ; fi<br>
            make[2]: Entering directory
            '/home/pooja/q-e-qe-6.5/KS_Solvers/PPCG'<br>
            make[2]: Nothing to be done for 'all'.<br>
            make[2]: Leaving directory
            '/home/pooja/q-e-qe-6.5/KS_Solvers/PPCG'<br>
            if test -d ParO ; then \<br>
                    ( cd ParO ; make all || exit 1 ) ; fi<br>
            if test -d NewSolver ; then \<br>
                    ( cd NewSolver ; make all || exit 1 ) ; fi<br>
            make[1]: Leaving directory
            '/home/pooja/q-e-qe-6.5/KS_Solvers'<br>
            ( cd dft-d3 ; make TLDEPS= all || exit 1 )<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/dft-d3'<br>
            if test -n "" ; then \<br>
            ( cd ../; make  || exit 1 ) ; fi<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/dft-d3'<br>
            if test -d PW ; then \<br>
            ( cd PW ; make pw-lib || exit 1) ; fi<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/PW'<br>
            ( cd src ; make libpw.a || exit 1 )<br>
            make[2]: Entering directory '/home/pooja/q-e-qe-6.5/PW/src'<br>
            make[2]: 'libpw.a' is up to date.<br>
            make[2]: Leaving directory '/home/pooja/q-e-qe-6.5/PW/src'<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/PW'<br>
            if test -d PW ; then \<br>
            ( cd PW ; make TLDEPS= all || exit 1) ; fi<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/PW'<br>
            ( cd src ; make all || exit 1 )<br>
            make[2]: Entering directory '/home/pooja/q-e-qe-6.5/PW/src'<br>
            if test -n "" ; then \<br>
            ( cd ../.. ; make  || exit 1 ) ; fi<br>
            make[2]: Leaving directory '/home/pooja/q-e-qe-6.5/PW/src'<br>
            ( cd tools ; make all || exit 1 )<br>
            make[2]: Entering directory
            '/home/pooja/q-e-qe-6.5/PW/tools'<br>
            if test -n "" ; then \<br>
            ( cd ../.. ; make  || exit 1 ) ; fi<br>
            make[2]: Leaving directory '/home/pooja/q-e-qe-6.5/PW/tools'<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/PW'<br>
            ( cd LR_Modules ; make TLDEPS= all || exit 1 )<br>
            make[1]: Entering directory
            '/home/pooja/q-e-qe-6.5/LR_Modules'<br>
            make[1]: Nothing to be done for 'all'.<br>
            make[1]: Leaving directory
            '/home/pooja/q-e-qe-6.5/LR_Modules'<br>
            if test -d PHonon; then \<br>
            ( cd PHonon; make ph-lib || exit 1) ; fi<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/PHonon'<br>
            ( cd PH ; make libs-ph || exit 1 )<br>
            make[2]: Entering directory
            '/home/pooja/q-e-qe-6.5/PHonon/PH'<br>
            make[2]: Nothing to be done for 'libs-ph'.<br>
            make[2]: Leaving directory
            '/home/pooja/q-e-qe-6.5/PHonon/PH'<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/PHonon'<br>
            if test -d PHonon; then \<br>
            ( cd PHonon; make TLDEPS= all || exit 1) ; fi<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/PHonon'<br>
            ( cd PH ; make all || exit 1 )<br>
            make[2]: Entering directory
            '/home/pooja/q-e-qe-6.5/PHonon/PH'<br>
            if test -n "" ; then \<br>
            ( cd ../.. ; make  || exit 1 ) ; fi<br>
            make[2]: Leaving directory
            '/home/pooja/q-e-qe-6.5/PHonon/PH'<br>
            ( cd Gamma ; make all || exit 1 )<br>
            make[2]: Entering directory
            '/home/pooja/q-e-qe-6.5/PHonon/Gamma'<br>
            if test -n "" ; then \<br>
            ( cd ../.. ; make  || exit 1 ) ; fi<br>
            make[2]: Leaving directory
            '/home/pooja/q-e-qe-6.5/PHonon/Gamma'<br>
            ( cd FD ; make all || exit 1 )<br>
            make[2]: Entering directory
            '/home/pooja/q-e-qe-6.5/PHonon/FD'<br>
            if test -n "" ; then \<br>
            ( cd ../.. ; make  || exit 1 ) ; fi<br>
            make[2]: Leaving directory
            '/home/pooja/q-e-qe-6.5/PHonon/FD'<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/PHonon'<br>
            if test -d PP ; then \<br>
            ( cd PP ; make TLDEPS= all || exit 1 ) ; fi<br>
            make[1]: Entering directory '/home/pooja/q-e-qe-6.5/PP'<br>
            if test -d src ; then \<br>
            ( cd src ; make || exit 1 ) ; fi<br>
            make[2]: Entering directory '/home/pooja/q-e-qe-6.5/PP/src'<br>
            if test -n "" ; then \<br>
            ( cd ../.. ; make  || exit 1 ) ; fi<br>
            make[2]: Leaving directory '/home/pooja/q-e-qe-6.5/PP/src'<br>
            make[1]: Leaving directory '/home/pooja/q-e-qe-6.5/PP'<br>
            if test -d thermo_pw; then \<br>
            ( cd thermo_pw; make TLDEPS= all || exit 1) ; fi<br>
            make[1]: Entering directory
            '/home/pooja/q-e-qe-6.5/thermo_pw'<br>
            ( cd lib ; make all || exit 1 )<br>
            make[2]: Entering directory
            '/home/pooja/q-e-qe-6.5/thermo_pw/lib'<br>
            mpif90 -O3 -g -x f95-cpp-input -D__FFTW -D__MPI  
            -I/home/pooja/q-e-qe-6.5//include
            -I/home/pooja/q-e-qe-6.5//FoX/finclude
            -I/home/pooja/q-e-qe-6.5//S3DE/iotk/include/
            -I/home/pooja/q-e-qe-6.5//iotk/src
            -I/home/pooja/q-e-qe-6.5//Modules
            -I/home/pooja/q-e-qe-6.5//FFTXlib
            -I/home/pooja/q-e-qe-6.5//LAXlib
            -I/home/pooja/q-e-qe-6.5//UtilXlib
            -I/home/pooja/q-e-qe-6.5//FoX/finclude -I. -c voigt.f90<br>
            voigt.f90:143:27:<br>
            <br>
              142 |    DO ij=1,6<br>
                  |            2               <br>
              143 |       CALL voigt_index(i,j,ij,.FALSE.)<br>
                  |                           1<br>
            Error: Variable ‘ij’ at (1) not definable inside loop
            beginning at (2) as INTENT(INOUT) argument to subroutine
            ‘voigt_index’<br>
            voigt.f90:145:30:<br>
            <br>
              144 |       DO mn=1,6<br>
                  |               2               <br>
              145 |          CALL voigt_index(m,n,mn,.FALSE.)<br>
                  |                              1<br>
            Error: Variable ‘mn’ at (1) not definable inside loop
            beginning at (2) as INTENT(INOUT) argument to subroutine
            ‘voigt_index’<br>
            voigt.f90:153:26:<br>
            <br>
              151 |    DO i=1,3<br>
                  |           2               <br>
              152 |       DO j=1,3<br>
              153 |          CALL voigt_index(i,j,ij,.TRUE.)<br>
                  |                          1<br>
            Error: Variable ‘i’ at (1) not definable inside loop
            beginning at (2) as INTENT(INOUT) argument to subroutine
            ‘voigt_index’<br>
            voigt.f90:153:28:<br>
            <br>
              152 |       DO j=1,3<br>
                  |              2              <br>
              153 |          CALL voigt_index(i,j,ij,.TRUE.)<br>
                  |                            1<br>
            Error: Variable ‘j’ at (1) not definable inside loop
            beginning at (2) as INTENT(INOUT) argument to subroutine
            ‘voigt_index’<br>
            voigt.f90:156:32:<br>
            <br>
              154 |          DO m=1,3<br>
                  |                 2               <br>
              155 |             DO n=1,3<br>
              156 |                CALL voigt_index(m,n,mn,.TRUE.)<br>
                  |                                1<br>
            Error: Variable ‘m’ at (1) not definable inside loop
            beginning at (2) as INTENT(INOUT) argument to subroutine
            ‘voigt_index’<br>
            voigt.f90:156:34:<br>
            <br>
              155 |             DO n=1,3<br>
                  |                    2              <br>
              156 |                CALL voigt_index(m,n,mn,.TRUE.)<br>
                  |                                  1<br>
            Error: Variable ‘n’ at (1) not definable inside loop
            beginning at (2) as INTENT(INOUT) argument to subroutine
            ‘voigt_index’<br>
            voigt.f90:110:27:<br>
            <br>
              109 |    DO ij=1,6<br>
                  |            2               <br>
              110 |       CALL voigt_index(i,j,ij,.FALSE.)<br>
                  |                           1<br>
            Error: Variable ‘ij’ at (1) not definable inside loop
            beginning at (2) as INTENT(INOUT) argument to subroutine
            ‘voigt_index’<br>
            voigt.f90:117:26:<br>
            <br>
              115 |    DO i=1,3<br>
                  |           2               <br>
              116 |       DO j=1,3<br>
              117 |          CALL voigt_index(i,j,ij,.TRUE.)<br>
                  |                          1<br>
            Error: Variable ‘i’ at (1) not definable inside loop
            beginning at (2) as INTENT(INOUT) argument to subroutine
            ‘voigt_index’<br>
            voigt.f90:117:28:<br>
            <br>
              116 |       DO j=1,3<br>
                  |              2              <br>
              117 |          CALL voigt_index(i,j,ij,.TRUE.)<br>
                  |                            1<br>
            Error: Variable ‘j’ at (1) not definable inside loop
            beginning at (2) as INTENT(INOUT) argument to subroutine
            ‘voigt_index’<br>
            voigt.f90:77:27:<br>
            <br>
               76 |    DO ij=1,6<br>
                  |            2               <br>
               77 |       CALL voigt_index(i,j,ij,.FALSE.)<br>
                  |                           1<br>
            Error: Variable ‘ij’ at (1) not definable inside loop
            beginning at (2) as INTENT(INOUT) argument to subroutine
            ‘voigt_index’<br>
            voigt.f90:84:26:<br>
            <br>
               82 |    DO i=1,3<br>
                  |           2               <br>
               83 |       DO j=1,3<br>
               84 |          CALL voigt_index(i,j,ij,.TRUE.)<br>
                  |                          1<br>
            Error: Variable ‘i’ at (1) not definable inside loop
            beginning at (2) as INTENT(INOUT) argument to subroutine
            ‘voigt_index’<br>
            voigt.f90:84:28:<br>
            <br>
               83 |       DO j=1,3<br>
                  |              2              <br>
               84 |          CALL voigt_index(i,j,ij,.TRUE.)<br>
                  |                            1<br>
            Error: Variable ‘j’ at (1) not definable inside loop
            beginning at (2) as INTENT(INOUT) argument to subroutine
            ‘voigt_index’<br>
            make[2]: *** [../../make.inc:16: voigt.o] Error 1<br>
            make[2]: Leaving directory
            '/home/pooja/q-e-qe-6.5/thermo_pw/lib'<br>
            make[1]: *** [Makefile:15: thermo_lib] Error 1<br>
            make[1]: Leaving directory
            '/home/pooja/q-e-qe-6.5/thermo_pw'<br>
            make: *** [Makefile:91: thermo_pw] Error 1</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>Due to this error, thermo_pw.x executable is not created
            in bin folder. Can anyone let me know the reason of the
            error and a way to solve it?</div>
          <div>Thanks
            <div class="gmail-adL"><br>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Quantum ESPRESSO is supported by MaX (<a class="moz-txt-link-abbreviated" href="http://www.max-centre.eu/quantum-espresso">www.max-centre.eu/quantum-espresso</a>)
users mailing list <a class="moz-txt-link-abbreviated" href="mailto:users@lists.quantum-espresso.org">users@lists.quantum-espresso.org</a>
<a class="moz-txt-link-freetext" href="https://lists.quantum-espresso.org/mailman/listinfo/users">https://lists.quantum-espresso.org/mailman/listinfo/users</a></pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>