<br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 12:19 PM, Grzegorz Dwornicki <span dir="ltr"><<a href="mailto:gd1100@gmail.com">gd1100@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ive reinstaled the distribution to clean debian squeeze. Now when im compiling im getting:<br><br>/usr/lib/libmpich.a(info_getnth.o): In function `MPI_Info_get_nthkey':<br>(.text+0x2f9): undefined reference to `pthread_getspecific'<br>
/usr/lib/libmpich.a(info_getnth.o): In function `MPI_Info_get_nthkey':<br>(.text+0x32a): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(info_getvallen.o): In function `MPI_Info_get_valuelen':<br>
(.text+0x2e): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(info_getvallen.o): In function `MPI_Info_get_valuelen':<br>(.text+0x368): undefined reference to `pthread_setspecific'<br>/usr/lib/libmpich.a(info_getvallen.o): In function `MPI_Info_get_valuelen':<br>
(.text+0x381): undefined reference to `pthread_getspecific'<br>/usr/lib/libmpich.a(info_getvallen.o): In function `MPI_Info_get_valuelen':<br>(.text+0x3b2): undefined reference to `pthread_setspecific'<br><br>
<br>Ive made a symlink from /usr/bin/gfortran to /ust/bin/g77. It worked before but not it doesn work. Any ideas? This errors are slim part of full output but they are are nearly the same (same kind but diferent sections). I have only 1 idea but it might blow everything up. The idea is to try using gfortran from lenny. But it wil require to change a lot of libs and some programs including gcc it self.<br>
<br></blockquote><div><br>Not sure if this is the problem, forgive me if it isn't. But those pthread functions are declared in pthread.h (make sure you have it, usually it's in /usr/include/pthread.h). On Debian you should accomplish this by installing "libc6-dev" package. Hope this helps.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Gregory<br><br><div class="gmail_quote">2010/7/21 Grzegorz Dwornicki <span dir="ltr"><<a href="mailto:gd1100@gmail.com" target="_blank">gd1100@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
yea ive typed apt-get remove mpich-bin. And then ive used "make clean" and "make arch=Linux_PII_CBLAS". Hmm i can doo even more - If some liblaries are messing things up I will reinstall distribution to be sure. I'll update this topic on monday :)<br>
<br>Gregory.<br><br><div class="gmail_quote">2010/7/21 Pavan Balaji <span dir="ltr"><<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a>></span><div><div></div><div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
> [0] Aborting program !<br>
> [0] Aborting program!<br>
> p0_3435: p4_error: : 9039<br>
<br></div>
Well, P4 is used in MPICH-1, not MPICH-2. So, you cannot get the same error if you are not using MPICH-1 :-).<br>
<br>
Did you recompile with MPICH2?<br>
<br>
-- Pavan<div><br>
<br>
On 07/21/2010 11:16 AM, Grzegorz Dwornicki wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
Ive remove mpich-bin package and recompiled the hpl linpack. But im geting the same error :(<br>
<br></div>
2010/7/19 Grzegorz Dwornicki <<a href="mailto:gd1100@gmail.com" target="_blank">gd1100@gmail.com</a> <mailto:<a href="mailto:gd1100@gmail.com" target="_blank">gd1100@gmail.com</a>>><div><br>
<br>
Thx you both for such fast reply. Ill try your advices on wednesday<br>
and report results.<br>
Gregory.<br>
<br>
2010/7/19 Dave Goodell <<a href="mailto:goodell@mcs.anl.gov" target="_blank">goodell@mcs.anl.gov</a><br></div>
<mailto:<a href="mailto:goodell@mcs.anl.gov" target="_blank">goodell@mcs.anl.gov</a>>><div><div></div><div><br>
<br>
On Jul 19, 2010, at 11:51 AM CDT, Grzegorz Dwornicki wrote:<br>
<br>
> If im writing double message on list pls let me know.<br>
><br>
> Im writing a graduating paper on my university about MPICH<br>
and im having some trouble launching programs. For example I<br>
need to run perfomance tests on cluster, to determine it max.<br>
potencial. To do this Im using hpl linpack from<br>
<a href="http://www.netlib.org/benchmark/hpl/" target="_blank">http://www.netlib.org/benchmark/hpl/</a>. Compilation goes without<br>
any errors but when I type f.e:<br>
><br>
> mpirun -np 4 ./xhpl<br>
><br>
> Im getting output like this:<br>
> 0 - <NO ERROR MESSAGE> : Could not convert index 1140850688<br>
into a pointer<br>
> The index may be an incorrect argument.<br>
<br>
You have somehow mixed MPICH2's mpi.h or mpif.h headers with<br>
the library from MPICH:<br>
<br>
% perl -e 'printf("%#x\n",1140850688);'<br>
0x44000000<br>
% grep 0x44000000 mpi.h<br>
#define MPI_COMM_WORLD ((MPI_Comm)0x44000000)<br>
<br>
As Pavan suggested, uninstall MPICH and make sure that MPICH2 is<br>
fully installed. Also, make sure that you recompile your<br>
application once the MPICH installation is removed. Make sure<br>
to use the compiler wrappers provided by MPICH2 (mpicc, mpif90,<br>
etc) when building your application.<br>
<br>
-Dave<br>
<br>
_______________________________________________<br>
mpich-discuss mailing list<br></div></div>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a> <mailto:<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a>><div><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
<br>
<br>
<br></div>
------------------------------------------------------------------------<div><br>
<br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</div></blockquote>
<br><div>
-- <br>
Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/%7Ebalaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
_______________________________________________<br></div><div><div></div><div>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>
<br>_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Ivan Pulido<br>Estudiante de Física<br>Universidad Nacional de Colombia<br>