[Resending from the address that is subscribed to this list.]<br><br><div class="gmail_quote">On Mon, Jun 4, 2012 at 7:02 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@59a2.org" target="_blank">jed@59a2.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please send output of mpich2version and mpicxx -show.<div><br></div><div>Does this occur with simpler programs or only with the example below?<div>
<div class="h5"><br><br><div class="gmail_quote">On Mon, Jun 4, 2012 at 6:55 PM, Iulian Grindeanu <span dir="ltr"><<a href="mailto:iulian@mcs.anl.gov" target="_blank">iulian@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:Times New Roman">Hello,<br>I am trying to compile moab on my laptop, ubuntu 12.04, and I am getting this error in make check<br>
<br><br>link: mpicxx -O0 -g -Wall -pipe -pedantic -Wno-long-long -g -o test_prog_opt test_prog_opt-test_prog_opt.o -L/home/iulian/3rdparty/netcdf-par/lib -L/home/iulian/3rdparty/hdf5-1.8.8-par-gcc/lib -L/home/iulian/lib/parallel/cgmcubit/lib -L/home/iulian/3rdparty/Cubit-12.2/bin ../src/.libs/libMOAB.a /home/iulian/3rdparty/netcdf-par/lib/libnetcdf.so -L/home/iulian/3rdparty/zlib-1.2.4/gcc/lib -L/home/iulian/3rdparty/szip-2.1-gcc/lib /home/iulian/3rdparty/hdf5-1.8.8-par-gcc/lib/libhdf5_hl.so /home/iulian/3rdparty/hdf5-1.8.8-par-gcc/lib/libhdf5.so /home/iulian/3rdparty/szip-2.1-gcc/lib/libsz.so -lz /home/iulian/lib/parallel/cgmcubit/lib/libcgm.so -lcubiti19 /usr/lib/libcr.so -lm -Wl,-rpath -Wl,/home/iulian/3rdparty/netcdf-par/lib -Wl,-rpath -Wl,/home/iulian/3rdparty/hdf5-1.8.8-par-gcc/lib -Wl,-rpath -Wl,/home/iulian/3rdparty/szip-2.1-gcc/lib -Wl,-rpath -Wl,/home/iulian/lib/parallel/cgmcubit/lib -Wl,-rpath -Wl,/home/iulian/3rdparty/netcdf-par/lib -Wl,-rpath -Wl,/home/iulian/3rdparty/hdf5-1.8.8-par-gcc/lib -Wl,-rpath -Wl,/home/iulian/3rdparty/szip-2.1-gcc/lib -Wl,-rpath -Wl,/home/iulian/lib/parallel/cgmcubit/lib -Wl,-rpath -Wl,/home/iulian/3rdparty/Cubit-12.2/bin<br>
/usr/lib/libmpich.so: undefined reference to `MPL_trfree'<br>/usr/lib/libmpich.so: undefined reference to `MPL_env2str'<br>/usr/lib/libmpich.so: undefined reference to `MPL_trlevel'<br>/usr/lib/libmpich.so: undefined reference to `MPL_trvalid'<br>
....<br><br>I found online this reference to a similar error. <br><a href="http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-November/008397.html" target="_blank">http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-November/008397.html</a><br>
<br><a href="http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-November/008456.html" target="_blank">http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-November/008456.html</a><br><br>I installed mpich2 from the binary installation, using ubuntu software center.(from here, latest stable release: <a href="http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads" target="_blank">http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads</a>)<br>
<br>I also tried compiling myself mpich2 from source, but I get the same linking error. Also, that small example from Jed gives the same error, with both versions (one installed from binary, and one compiled by me)<br><br>
Any clues how to fix my installation, or what I did wrong? Where should I start looking? The <a href="http://configure.in" target="_blank">configure.in</a> change that seemed to fix the issues in 1.3.1 is already part of 1.4.1.<br>
<br>Also, it seems that some symbols with those names are part of libmpl.a, on my laptop<br> .. iulian@T520-iuli:/usr/lib$ nm -C libmpl.a | grep MPL_<br>0000000000000000 T MPL_strncpy<br>0000000000000070 T MPL_strsep<br>
0000000000001120 T MPL_TrSetMaxMem<br> U MPL_strncpy<br>0000000000000d80 T MPL_trDebugLevel<br>0000000000000000 t MPL_trIsort<br>0000000000000d20 T MPL_trSummary<br>0000000000000d90 T MPL_trcalloc<br>0000000000000bf0 T MPL_trdump<br>
0000000000000fd0 T MPL_trdumpGrouped<br>00000000000004f0 T MPL_trfree<br>0000000000000d50 T MPL_trid<br>0000000000000100 T MPL_trinit<br>0000000000000d70 T MPL_trlevel<br>0000000000000930 T MPL_trmalloc<br>0000000000000de0 T MPL_trrealloc<br>
0000000000000bd0 T MPL_trspace<br>0000000000000f60 T MPL_trstrdup<br>00000000000002b0 T MPL_trvalid<br>0000000000000260 T MPL_env2bool<br>0000000000000130 T MPL_env2int<br>0000000000000000 T MPL_env2range<br>00000000000003d0 T MPL_env2str<br>
00000000000003f0 T MPL_putenv<br> <br>Thanks,<br>Iulian<br></div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>