<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Is there an error message that "-lmpi"
      could not be found in the compile.msg file?&nbsp; If it could not be
      found, then either the path to the library has to be set in the
      Linux environment or specified in the RP_LIBS line.<br>
      <br>
      At least on my Debian system, "-lmpi" is the library libmpi.so.0
      that is part of the openmpi development libraries (which I
      installed according to
      <a class="moz-txt-link-freetext" href="http://www.cs.ucsb.edu/~hnielsen/cs140/openmpi-install.html">http://www.cs.ucsb.edu/~hnielsen/cs140/openmpi-install.html</a>).<br>
      <br>
      You should make sure that the libmpi libraries (libmpi.so.0,
      libmpi.a, etc.) exists on your system.&nbsp; You will have to search
      your system, but I believe they are located in
      /opt/openmpi-1.3/lib on your system.<br>
      <br>
      If there was no error message that it could not be found, then the
      cmkl 10.0.1.014 on your system may not be compatible with openmpi
      1.3 as indicated on the Intel forum:<br>
      <br>
      <a class="moz-txt-link-freetext" href="http://software.intel.com/en-us/forums/showthread.php?t=69104">http://software.intel.com/en-us/forums/showthread.php?t=69104</a><br>
      <br>
      In which case, you may need to use an openmpi 1.1.x or 1.2
      version.<br>
      <br>
      On 7/10/2012 11:07 PM, alpa dashora wrote:<br>
    </div>
    <blockquote
cite="mid:CABnoqaPtC_mmTcAaXe9xvHx19R-jgdtPSy3Yg07pUQTt_fjmfQ@mail.gmail.com"
      type="cite">Dear Wien2k users,<br>
      <br>
      I have also tried -lmpi in RP_LIBS, but it still gives the same
      error.<br>
      rgds,<br>
      <br>
      <div class="gmail_quote">On Wed, Jul 11, 2012 at 7:26 AM, Gavin
        Abo <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:gsabo@crimson.ua.edu" target="_blank">gsabo@crimson.ua.edu</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <div>Add "-lmpi" to your RP_LIBS.&nbsp; This should resolve the
              undefined ompi_mpi references.
              <div>
                <div class="h5"><br>
                  <br>
                  On 7/10/2012 5:26 AM, Laurence Marks wrote:<br>
                </div>
              </div>
            </div>
            <div>
              <div class="h5">
                <blockquote type="cite">
                  <p>Go directly to the link advisor page that Gavin
                    gave and copy what it tells you to use.</p>
                  <p>N.B.&nbsp; Wienk currently does not need the real fftw
                    libraries (rfftw)</p>
                  <p>---------------------------<br>
                    Professor Laurence Marks<br>
                    Department of Materials Science and Engineering<br>
                    Northwestern University<br>
                    <a moz-do-not-send="true"
                      href="http://www.numis.northwestern.edu"
                      target="_blank">www.numis.northwestern.edu</a>
                    1-847-491-3996<br>
                    "Research is to see what everybody else has seen,
                    and to think what nobody else has thought"<br>
                    Albert Szent-Gyorgi<br>
                  </p>
                  <div class="gmail_quote">On Jul 10, 2012 3:47 AM,
                    "alpa dashora" &lt;<a moz-do-not-send="true"
                      href="mailto:dashoralpa@gmail.com" target="_blank">dashoralpa@gmail.com</a>&gt;

                    wrote:<br type="attribution">
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div> Dear Wien2k user,<br>
                        <br>
                        Thank you very much for your reply. I have
                        changed the OPTIONS as suggested by bu, but it
                        still gives the same error message as earlier.<br>
                        <br>
                        Please suggest me.<br>
                        <br>
                        With kind regards, <br>
                        <br>
                        <div class="gmail_quote">On Tue, Jul 10, 2012 at
                          1:32 PM, Gavin Abo <span dir="ltr"> &lt;<a
                              moz-do-not-send="true"
                              href="mailto:gsabo@crimson.ua.edu"
                              target="_blank">gsabo@crimson.ua.edu</a>&gt;</span>
                          wrote:<br>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">
                            <div bgcolor="#FFFFFF" text="#000000">
                              <div>The link advisor (<a
                                  moz-do-not-send="true"
href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"
                                  target="_blank">http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/</a>)
                                settings with MKL 10.0, Linux, Intel 64,
                                Fortran, Static, LP64, Sequential,
                                Scalapack, and Open MPI:<br>
                                <br>
                                $(MKLROOT)/lib/em64t/libmkl_scalapack_lp64.a

                                $(MKLROOT)/lib/em64t/libmkl_solver_lp64_sequential.a

                                <b>-Wl,--start-group</b>&nbsp;
                                $(MKLROOT)/lib/em64t/libmkl_intel_lp64.a
                                $(MKLROOT)/lib/em64t/libmkl_sequential.a
                                $(MKLROOT)/lib/em64t/libmkl_core.a
                                $(MKLROOT)/lib/em64t/libmkl_blacs_openmpi_lp64.a
                                <b>-Wl,--end-group -lpthread -lm</b><br>
                                <br>
                                suggest that your RP_LIBS settings may
                                need to be:<br>
                                <br>
                                current:RP_LIBS:-L/opt/intel/cmkl/<a
                                  moz-do-not-send="true"
                                  href="http://10.0.1.014/lib/em64t"
                                  target="_blank">10.0.1.014/lib/em64t</a>
                                -lmkl_scalapack_lp64
                                -lmkl_solver_lp64_sequential <b>-Wl,--start-group</b>
                                -lmkl_intel_lp64 -lmkl_sequential
                                -lmkl_core -lmkl_blacs_openmpi_lp64 <b>-Wl,--end-group</b>
                                <b>-lpthread -lm</b>
                                -L/opt/fftw-2.1.5/lib/lib/ -lfftw_mpi
                                -lrfftw_mpi -lfftw -lrfftw
                                <div>
                                  <div><br>
                                    <br>
                                    On 7/9/2012 11:02 PM, alpa dashora
                                    wrote:<br>
                                  </div>
                                </div>
                              </div>
                              <blockquote type="cite">
                                <div>
                                  <div>
                                    <div class="gmail_quote">
                                      <div>
                                        <div>
                                          <div class="gmail_quote">Dear
                                            Prof. Blaha and Wien2k
                                            users,<br>
                                            <div class="gmail_quote"><br>
                                              I am trying to install
                                              Wien2k_11.5 in parallel
                                              mode on a 8 processors
                                              server. On compilation, it
                                              gives the error in
                                              lapw1_mpi as follows:<br>
                                              <p><span>/opt/intel/cmkl/<a
moz-do-not-send="true"
href="http://10.0.1.014/lib/em64t/libmkl_blacs_openmpi_lp64.a%28igesd2d_.o%29"
                                                    target="_blank">10.0.1.014/lib/em64t/libmkl_blacs_openmpi_lp64.a(igesd2d_.o)</a>:
                                                  In function
                                                  `igesd2d_':</span></p>
                                              <p><span>_igesd2d_.c:(.text+0x43):

                                                  undefined reference to
                                                  `ompi_mpi_int'</span></p>
                                              <p><span>_igesd2d_.c:(.text+0x95):

                                                  undefined reference to
                                                  `ompi_mpi_byte'</span></p>
                                              with so many lines. <br>
                                              <br>
                                              The OPTIONS file is as
                                              follows:<br>
                                              <p><span>current:FOPT:-FR
                                                  -O3 -mp1 -w -prec_div
                                                  -pc80 -pad -ip
                                                  -traceback
                                                  -l/opt/openmpi/include<br>
                                                  current:FPOPT:-FR -mp1
                                                  -w -prec_div -pc80
                                                  -pad -ip -traceback<br>
                                                  current:LDFLAGS:-L/root/WIEN2k_11/SRC_lib

                                                  -L/opt/intel/cmkl/<a
                                                    moz-do-not-send="true"
href="http://10.0.1.014/lib/em64t" target="_blank">10.0.1.014/lib/em64t</a>
                                                  -lmkl_em64t
                                                  -lmkl_blacs_openmpi_lp64
                                                  -lmkl_solver -lguide
                                                  -lpthread<br>
current:DPARALLEL:'-DParallel'<br>
current:R_LIBS:-L/opt/intel/cmkl/<a moz-do-not-send="true"
                                                    href="http://10.0.1.014/lib/em64t"
                                                    target="_blank">10.0.1.014/lib/em64t</a>
                                                  -lmkl_scalapack_lp64
                                                  -lmkl_solver_lp64_sequential
                                                  -lmkl_intel_lp64
                                                  -lmkl_sequential
                                                  -lmkl_core
                                                  -lmkl_blacs_openmpi_lp64
                                                  -L/opt/fftw-2.1.5/lib/lib/

                                                  -lfftw_mpi -lrfftw_mpi
                                                  -lfftw -lrfftw<br>
current:RP_LIBS:-L/opt/intel/cmkl/<a moz-do-not-send="true"
                                                    href="http://10.0.1.014/lib/em64t"
                                                    target="_blank">10.0.1.014/lib/em64t</a>
                                                  -lmkl_scalapack_lp64
                                                  -lmkl_solver_lp64_sequential
                                                  -lmkl_intel_lp64
                                                  -lmkl_sequential
                                                  -lmkl_core
                                                  -lmkl_blacs_openmpi_lp64
                                                  -L/opt/fftw-2.1.5/lib/lib/

                                                  -lfftw_mpi -lrfftw_mpi
                                                  -lfftw -lrfftw<br>
                                                  current:MPIRUN:/opt/openmpi/1.3/bin/mpirun

                                                  -v -n_NP_ _EXEC_<br>
                                                </span></p>
                                              Please tell me how to
                                              reduce this error. <br>
                                              <br>
                                              <b>Note:</b> I am able to
                                              run the program with
                                              single processor.<br>
                                              <div><br>
                                                Thanks in advance.<br>
                                                <br>
                                                With kind regards,<span></span><br>
                                              </div>
                                            </div>
                                          </div>
                                          <br>
                                          -- <br>
                                        </div>
                                      </div>
                                      Dr. Alpa Dashora<br>
                                    </div>
                                    <br>
                                    <br clear="all">
                                    <br>
                                    -- <br>
                                    Alpa Dashora<br>
                                    <br>
                                    <fieldset></fieldset>
                                    <br>
                                  </div>
                                </div>
                                <pre>_______________________________________________
Wien mailing list
<a moz-do-not-send="true" href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a>
<a moz-do-not-send="true" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a>
</pre>
                              </blockquote>
                              <br>
                              <br>
                            </div>
                            <br>
_______________________________________________<br>
                            Wien mailing list<br>
                            <a moz-do-not-send="true"
                              href="mailto:Wien@zeus.theochem.tuwien.ac.at"
                              target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
                            <a moz-do-not-send="true"
                              href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien"
                              target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
                            <br>
                          </blockquote>
                        </div>
                        <br>
                        <br clear="all">
                        <br>
                        -- <br>
                        Alpa Dashora<br>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                  <fieldset></fieldset>
                  <br>
                  <pre>_______________________________________________
Wien mailing list
<a moz-do-not-send="true" href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a>
<a moz-do-not-send="true" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a>
</pre>
                </blockquote>
                <br>
                <br>
              </div>
            </div>
          </div>
          <br>
          _______________________________________________<br>
          Wien mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
          <a moz-do-not-send="true"
            href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien"
            target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Alpa Dashora<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Wien mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a>
<a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a>
</pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>