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"><<a href="mailto:gsabo@crimson.ua.edu" target="_blank">gsabo@crimson.ua.edu</a>></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. 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. 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 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"
<<a href="mailto:dashoralpa@gmail.com" target="_blank">dashoralpa@gmail.com</a>>
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">
<<a href="mailto:gsabo@crimson.ua.edu" target="_blank">gsabo@crimson.ua.edu</a>></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 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>
$(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 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 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 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 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 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 href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a>
<a 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 href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a 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 href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a>
<a 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 href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a 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>