<div dir="ltr">Hi guys,<div><br></div><div>I just wanted to check in on this.  Any suggestions?</div><div><br></div><div>Thanks,</div><div>Ron</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Apr 26, 2017 at 12:44 PM Vijay S. Mahadevan <<a href="mailto:vijay.m@gmail.com">vijay.m@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Rajeev, he is working on MOAB 4.9.0 and not on MOAB master.<br>
<br>
Vijay<br>
<br>
On Wed, Apr 26, 2017 at 12:20 PM,  <<a href="mailto:jain@mcs.anl.gov" target="_blank">jain@mcs.anl.gov</a>> wrote:<br>
> One quick pointer (might not solve the error below): I see your configure<br>
> line:<br>
><br>
> /configure --prefix=/home/rrahaman/sharp-libs/moab-4.9.0-ibmcmp-may2016<br>
> --libdir=/home/rrahaman/sharp-libs/moab-4.9.0-ibmcmp-may2016/lib<br>
> --enable-optimize=yes --enable-shared=no --enable-tools --with-mpi<br>
> --with-hdf5=/home/rrahaman/sharp-libs/hdf5-1.8.12-ibmcmp-may2016/<br>
> --with-metis=/home/rrahaman/sharp-libs/parmetis-4.0.2-ibmcmp-may2016/<br>
> --with-parmetis=/home/rrahaman/sharp-libs/parmetis-4.0.2-ibmcmp-may2016/<br>
> --with-netcdf=/home/rrahaman/sharp-libs/netdf-4.3.0-ibmcmp-may2016 CC=mpicc<br>
> CXX=mpicxx FC=mpif90 F77=mpif77<br>
><br>
> has no Eigen/Blas-lapack (required), just make sure whatever the configure<br>
> picks up is compatible with compilers you are trying to use.<br>
><br>
> --<br>
> Rajeev Jain<br>
> Mathematics and Computer Science<br>
> Argonne National Laboratory<br>
> 1134, Bldg 240, Chicago IL USA 60439<br>
> O: <a href="tel:(630)%20252-3176" value="+16302523176" target="_blank">630-252-3176</a> <a href="mailto:jain@mcs.anl.gov" target="_blank">jain@mcs.anl.gov</a><br>
><br>
><br>
> ________________________________<br>
> From: Ron Rahaman <<a href="mailto:rahaman@mcs.anl.gov" target="_blank">rahaman@mcs.anl.gov</a>><br>
> To: Vijay S. Mahadevan <<a href="mailto:vijay.m@gmail.com" target="_blank">vijay.m@gmail.com</a>><br>
> Cc: "<a href="mailto:moab-dev@mcs.anl.gov" target="_blank">moab-dev@mcs.anl.gov</a>" <<a href="mailto:moab-dev@mcs.anl.gov" target="_blank">moab-dev@mcs.anl.gov</a>><br>
> Sent: Wednesday, April 26, 2017 8:51 AM<br>
> Subject: Re: [MOAB-dev] linking error on BlueGene?<br>
><br>
> No problem, Vijay.  Looks like I fixed link-time error I originallly<br>
> reported, but I'm seeing a new compile-time error later in the build.<br>
><br>
> As you suggested, using /usr/bin/libtool seems to be working.  I copied<br>
> /usr/bin/libtool to my build directory both before *and* after<br>
> configuration.  I did that because it appeared that configuration overwrote<br>
> libtool with its own version.  I'm not sure exactly what autotools is doing<br>
> in this situation.  In any case, the link stage appears to succeed now.<br>
> Instead of the error I reported, I now see this successful message, and the<br>
> build continues:<br>
><br>
> libtool: link: ar cru .libs/libMOABpar.a .libs/ParallelComm.o<br>
> .libs/ProcConfig.o .libs/ParallelData.o .libs/ParallelMergeMesh.o<br>
> .libs/ReadParallel.o .libs/SharedSetData.o .libs/gs.o<br>
> .libs/WriteHDF5Parallel.o<br>
> libtool: link: ranlib .libs/libMOABpar.a<br>
> libtool: link: ( cd ".libs" && rm -f "libMOABpar.la" && ln -s<br>
> "../libMOABpar.la" "libMOABpar.la" )<br>
><br>
> However, after that and many other successfully-compiled objects, I see<br>
> these compilation errors:<br>
><br>
> libtool: compile:  mpicxx -DHAVE_CONFIG_H -I. -I../../src -I../src/moab<br>
> -I../src/parallel<br>
> -I/home/rrahaman/sharp-libs/netdf-4.3.0-ibmcmp-may2016/include<br>
> -I/home/rrahaman/sharp-libs/hdf5-1.8.12-ibmcmp-may2016//include<br>
> -I/soft/libraries/alcf/20130312/xl/ZLIB/include<br>
> -I/home/rrahaman/sharp-libs/hdf5-1.8.12-ibmcmp-may2016//include -DBLUEGENE<br>
> -I../../src/parallel -DIS_BUILDING_MB -DLOCDIR=src/ -I. -I../../src/io<br>
> -I../../src/io/mhdf/include -I../../src/parallel<br>
> -I../../src/LocalDiscretization -I../../src/verdict -I../../src/RefineMesh<br>
> -I/home/rrahaman/sharp-libs/parmetis-4.0.2-ibmcmp-may2016//include -O2<br>
> -DNDEBUG -c ../../src/SparseTag.cpp<br>
> -Wp,-qmakedep=gcc,-MF.deps/SparseTag.TPlo  -fPIC -DPIC -o .libs/SparseTag.o<br>
> /soft/compilers/ibmcmp-may2016/vacpp/bg/12.1/bin/.orig/bgxlC_r: 1501-216 (W)<br>
> command option -fPIC is not recognized - passed to ld<br>
> "/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",<br>
> line 226.35: 1540-2935 (S) The current option settings have not enabled<br>
> C++0x feature "variadic templates".  Use the C++0x langlvl, or langlvl<br>
> "VariadicTemplates" to enable this feature.<br>
> "/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",<br>
> line 226.35: 1540-2955 (I) SUGGESTION: Try using<br>
> "-qlanglvl=variadictemplates". It looks like you are trying to use the<br>
> associated C++0x feature.<br>
> "/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",<br>
> line 230.41: 1540-0064 (S) Syntax error:  ")" was expected but "..." was<br>
> found.<br>
> "/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",<br>
> line 236.41: 1540-0064 (S) Syntax error:  ")" was expected but "..." was<br>
> found.<br>
> "/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",<br>
> line 242.41: 1540-0064 (S) Syntax error:  ")" was expected but "..." was<br>
> found.<br>
> "/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",<br>
> line 248.41: 1540-0064 (S) Syntax error:  ")" was expected but "..." was<br>
> found.<br>
> make[3]: *** [SparseTag.lo] Error 1<br>
><br>
> The only things in my .soft file are:<br>
> +mpiwrapper-xl<br>
> +python<br>
> +cmake<br>
> @default<br>
><br>
> I'm using my own installations of HDF5, NetCDF, and Parmetis.  You can see<br>
> them in /home/rrahaman/sharp-libs/.<br>
><br>
> Thanks again,<br>
> Ron<br>
><br>
> On Tue, Apr 25, 2017 at 2:25 PM Vijay S. Mahadevan <<a href="mailto:vijay.m@gmail.com" target="_blank">vijay.m@gmail.com</a>><br>
> wrote:<br>
><br>
> 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 href="mailto:rahaman@mcs.anl.gov" target="_blank">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<br>
>> 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<br>
>> ihex<br>
>> make[3]: *** [libMOABpar.la] Error 1<br>
>><br>
>><br>
><br>
><br>
><br>
</blockquote></div>