<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1493224687601_28557"><span id="yui_3_16_0_ym19_1_1493224687601_28556">One quick pointer (might not solve the error below): I see your configure line:</span></div><div id="yui_3_16_0_ym19_1_1493224687601_28557"><span><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493224687601_28509"><span id="yui_3_16_0_ym19_1_1493224687601_28508">/configure --prefix=/home/rrahaman/sharp-libs/moab-4.9.0-ibmcmp-may2016 --libdir=/home/rrahaman/sharp-libs/moab-4.9.0-ibmcmp-may2016/lib --enable-optimize=yes --enable-shared=no --enable-tools --with-mpi --with-hdf5=/home/rrahaman/sharp-libs/hdf5-1.8.12-ibmcmp-may2016/ --with-metis=/home/rrahaman/sharp-libs/parmetis-4.0.2-ibmcmp-may2016/ --with-parmetis=/home/rrahaman/sharp-libs/parmetis-4.0.2-ibmcmp-may2016/ --with-netcdf=/home/rrahaman/sharp-libs/netdf-4.3.0-ibmcmp-may2016 CC=mpicc CXX=mpicxx FC=mpif90 F77=mpif77<br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493224687601_28509"><span><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493224687601_28509"><span id="yui_3_16_0_ym19_1_1493224687601_28541">has no Eigen/Blas-lapack (required), just make sure whatever the configure picks up is compatible with compilers you are trying to use.</span></div><div></div><div id="yui_3_16_0_ym19_1_1493224687601_28510"> </div><div class="signature" id="yui_3_16_0_ym19_1_1493224687601_27384"><div id="yui_3_16_0_1_1440623997177_20748"><div id="yui_3_16_0_1_1440623997177_20748">
<div class="p1" id="yui_3_16_0_ym19_1_1493224687601_28587"><span class="s1" style="font-size:x-small;">--</span></div><div class="p1" id="yui_3_16_0_ym19_1_1493224687601_28588"><span class="s1" style="font-size:x-small;">Rajeev Jain</span></div><div class="p1" id="yui_3_16_0_ym19_1_1493224687601_27383"><span class="s1" style="font-size:x-small;" id="yui_3_16_0_ym19_1_1493224687601_28678">Mathematics and Computer Science </span></div><div class="p1" id="yui_3_16_0_ym19_1_1493224687601_28589"><span class="s1" style="font-size:x-small;">Argonne National Laboratory</span></div><div class="p1" id="yui_3_16_0_ym19_1_1493224687601_28590"><span class="s1" style="font-size:x-small;" id="yui_3_16_0_ym19_1_1493224687601_28679">1134, Bldg 240, Chicago IL USA 60439</span></div><div class="p1" id="yui_3_16_0_ym19_1_1493224687601_28591"><span class="s1" style="font-size:x-small;">O: 630-252-3176 </span><span style="font-size:x-small;" id="yui_3_16_0_ym19_1_1493224687601_28680">jain@mcs.anl.gov</span></div></div></div></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1493224687601_28592"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1493224687601_28598" style="display: block;"> <div style="font-family: verdana, helvetica, sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1493224687601_28597"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1493224687601_28596"> <div dir="ltr" id="yui_3_16_0_ym19_1_1493224687601_28595"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1493224687601_28681"> <hr size="1" id="yui_3_16_0_ym19_1_1493224687601_28693"> <b><span style="font-weight:bold;">From:</span></b> Ron Rahaman <rahaman@mcs.anl.gov><br> <b><span style="font-weight: bold;">To:</span></b> Vijay S. Mahadevan <vijay.m@gmail.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "moab-dev@mcs.anl.gov" <moab-dev@mcs.anl.gov><br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, April 26, 2017 8:51 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [MOAB-dev] linking error on BlueGene?<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1493224687601_28609"><br><div id="yiv3461657158">
<div id="yui_3_16_0_ym19_1_1493224687601_28608">
<div dir="ltr" id="yui_3_16_0_ym19_1_1493224687601_28607">No problem, Vijay. Looks like I fixed link-time error I originallly reported, but I'm seeing a new compile-time error later in the build.
<div><br>
</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28632">As you suggested, using /usr/bin/libtool seems to be working. I copied /usr/bin/libtool to my build directory both before *and* after configuration. I did that because it appeared that configuration overwrote libtool with its own version. I'm not sure
exactly what autotools is doing in this situation. In any case, the link stage appears to succeed now. Instead of the error I reported, I now see this successful message, and the build continues:</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28606"><br>
</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28624">
<div>libtool: link: ar cru .libs/libMOABpar.a .libs/ParallelComm.o .libs/ProcConfig.o .libs/ParallelData.o .libs/ParallelMergeMesh.o .libs/ReadParallel.o .libs/SharedSetData.o .libs/gs.o .libs/WriteHDF5Parallel.o </div>
<div id="yui_3_16_0_ym19_1_1493224687601_28633">libtool: link: ranlib .libs/libMOABpar.a</div>
<div>libtool: link: ( cd ".libs" && rm -f "libMOABpar.la" && ln -s "../libMOABpar.la" "libMOABpar.la" )</div>
<div><br>
</div>
<div>However, after that and many other successfully-compiled objects, I see these compilation errors:</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28623"><br>
</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28637">
<div id="yui_3_16_0_ym19_1_1493224687601_28636">libtool: compile: mpicxx -DHAVE_CONFIG_H -I. -I../../src -I../src/moab -I../src/parallel -I/home/rrahaman/sharp-libs/netdf-4.3.0-ibmcmp-may2016/include -I/home/rrahaman/sharp-libs/hdf5-1.8.12-ibmcmp-may2016//include -I/soft/libraries/alcf/20130312/xl/ZLIB/include
-I/home/rrahaman/sharp-libs/hdf5-1.8.12-ibmcmp-may2016//include -DBLUEGENE -I../../src/parallel -DIS_BUILDING_MB -DLOCDIR=src/ -I. -I../../src/io -I../../src/io/mhdf/include -I../../src/parallel -I../../src/LocalDiscretization -I../../src/verdict -I../../src/RefineMesh
-I/home/rrahaman/sharp-libs/parmetis-4.0.2-ibmcmp-may2016//include -O2 -DNDEBUG -c ../../src/SparseTag.cpp -Wp,-qmakedep=gcc,-MF.deps/SparseTag.TPlo -fPIC -DPIC -o .libs/SparseTag.o</div>
<div>/soft/compilers/ibmcmp-may2016/vacpp/bg/12.1/bin/.orig/bgxlC_r: 1501-216 (W) command option -fPIC is not recognized - passed to ld</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28639">"/bgsys/drivers/toolchain/V1R2M2_base-efix014/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.7/../../../../powerpc64-bgq-linux/include/c++/4.4.7/tr1_impl/type_traits", line 226.35: 1540-2935 (S) The current option settings have not enabled C++0x feature "variadic
templates". Use the C++0x langlvl, or langlvl "VariadicTemplates" to enable this feature.</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28670">"/bgsys/drivers/toolchain/V1R2M2_base-efix014/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.7/../../../../powerpc64-bgq-linux/include/c++/4.4.7/tr1_impl/type_traits", line 226.35: 1540-2955 (I) SUGGESTION: Try using "-qlanglvl=variadictemplates". It looks
like you are trying to use the associated C++0x feature.</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28643">"/bgsys/drivers/toolchain/V1R2M2_base-efix014/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.7/../../../../powerpc64-bgq-linux/include/c++/4.4.7/tr1_impl/type_traits", line 230.41: 1540-0064 (S) Syntax error: ")" was expected but "..." was found.</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28644">"/bgsys/drivers/toolchain/V1R2M2_base-efix014/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.7/../../../../powerpc64-bgq-linux/include/c++/4.4.7/tr1_impl/type_traits", line 236.41: 1540-0064 (S) Syntax error: ")" was expected but "..." was found.</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28645">"/bgsys/drivers/toolchain/V1R2M2_base-efix014/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.7/../../../../powerpc64-bgq-linux/include/c++/4.4.7/tr1_impl/type_traits", line 242.41: 1540-0064 (S) Syntax error: ")" was expected but "..." was found.</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28646">"/bgsys/drivers/toolchain/V1R2M2_base-efix014/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.7/../../../../powerpc64-bgq-linux/include/c++/4.4.7/tr1_impl/type_traits", line 248.41: 1540-0064 (S) Syntax error: ")" was expected but "..." was found.</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28647">make[3]: *** [SparseTag.lo] Error 1</div>
</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28648"><br>
</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28649">The only things in my .soft file are:</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28650">+mpiwrapper-xl<br>
</div>
<div id="yui_3_16_0_ym19_1_1493224687601_28669">+python</div>
<div>+cmake <br>
</div>
<div>@default</div>
<div><br>
</div>
<div>I'm using my own installations of HDF5, NetCDF, and Parmetis. You can see them in /home/rrahaman/sharp-libs/. </div>
<div><br>
</div>
<div>Thanks again,</div>
<div>Ron</div>
<div><br>
</div>
<div dir="ltr">
<div>
<div>
<div class="yiv3461657158gmail_quote">
<div dir="ltr">On Tue, Apr 25, 2017 at 2:25 PM Vijay S. Mahadevan <<a rel="nofollow" ymailto="mailto:vijay.m@gmail.com" target="_blank" href="mailto:vijay.m@gmail.com">vijay.m@gmail.com</a>> wrote:<br>
</div>
<blockquote class="yiv3461657158gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Ron,<br>
<br>
We apologize about the delay. I haven't seen such an error before. Can<br>
you provide the exact modules you are using for this configuration ?<br>
Looks like libtool is screwing up. Can you copy /usr/bin/libtool to<br>
your build folder and re-try configuration ?<br>
<br>
Meanwhile, we will try to replicate the issue and find a fix.<br>
<br>
Vijay<br>
<br>
On Mon, Apr 24, 2017 at 11:46 AM, Ron Rahaman <<a rel="nofollow" ymailto="mailto:rahaman@mcs.anl.gov" target="_blank" href="mailto:rahaman@mcs.anl.gov">rahaman@mcs.anl.gov</a>> wrote:<br>
> Hi all,<br>
> I'm building MOAB 4.9.0 Cetus at ANL and I'm getting these errors at link<br>
> time (see below). I've also attached my config.log. Thanks in advance for<br>
> your help.<br>
> Best,<br>
> Ron Rahaman<br>
><br>
> libtool: link: ar -X 32_64 cru .libs/libMOABpar.a ParallelComm.o<br>
> ProcConfig.o ParallelData.o ParallelMergeMesh.o ReadParallel.o<br>
> SharedSetData.o gs.o WriteHDF5Parallel.o<br>
> ar: illegal option -- X<br>
> Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name]<br>
> [count] archive-file file...<br>
> ar -M [<mri-script]<br>
> commands:<br>
> d - delete file(s) from the archive<br>
> m[ab] - move file(s) in the archive<br>
> p - print file(s) found in the archive<br>
> q[f] - quick append file(s) to the archive<br>
> r[ab][f][u] - replace existing or insert new file(s) into the archive<br>
> t - display contents of archive<br>
> x[o] - extract file(s) from the archive<br>
> command specific modifiers:<br>
> [a] - put file(s) after [member-name]<br>
> [b] - put file(s) before [member-name] (same as [i])<br>
> [D] - use zero for timestamps and uids/gids<br>
> [N] - use instance [count] of name<br>
> [f] - truncate inserted file names<br>
> [P] - use full path names when matching<br>
> [o] - preserve original dates<br>
> [u] - only replace files that are newer than current archive<br>
> contents<br>
> generic modifiers:<br>
> [c] - do not warn if the library had to be created<br>
> [s] - create an archive index (cf. ranlib)<br>
> [S] - do not build a symbol table<br>
> [T] - make a thin archive<br>
> [v] - be verbose<br>
> [V] - display the version number<br>
> @<file> - read options from <file><br>
> emulation options:<br>
> No emulation specific options<br>
> ar: supported targets: elf64-powerpc elf64-powerpcle elf32-powerpc<br>
> elf32-powerpcle aixcoff-rs6000 aixcoff64-rs6000 elf64-little elf64-big<br>
> elf32-little elf32-big elf32-spu srec symbolsrec verilog tekhex binary ihex<br>
> make[3]: *** [libMOABpar.la] Error 1<br>
><br>
><br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div><br><br></div> </div> </div> </div></div></body></html>