<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span>Instead of using--enable-tools option, I changed in configure for following:</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="background-color: transparent;"><span>-enable-mbcoupler --enable-mbcslam --enable-dagmc --with-mpi=/usr/bin CC=/usr/bin/mpicc CXX=/usr/bin/mpic++ F77=/usr/bin/mpif77 FC=/usr/bin/mpif90 F90=/usr/bin/mpif90 --with-cgm=/home/jhu/cgm/parellel<br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span><br></span></div><div
style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span>And build is successful. </span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span><br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span>"Make check" can work for following directory, just some of the testcases failed. I believe I didn't include all the libraries, which causes the failure.</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span><br></span></div><div style="background-color: transparent;">>
tools/mbcoupler</div><div style="background-color: transparent;">> tools/mbcslam</div><div style="background-color: transparent;">> tools/dagmc</div><div style="background-color: transparent;"><span></span></div><div style="background-color: transparent;">> test/perf</div><div style="background-color: transparent;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">Can you double check with your configure options, and see if it works that way. I'll continue to double check if cgm reader works.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> </div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Jane </div><div style="font-family: 'times new
roman', 'new york', times, serif; font-size: 12pt;"><br><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Asst. Researcher<br>Dept. of Engineering Physics<br>UW @ Madison</div><br><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">"And we know that for those who love God, that is, for those who are called according to his purpose, all things are working together for good." (Romans 8:28)</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b>
Tim Tautges <tautges@mcs.anl.gov><br> <b><span style="font-weight: bold;">To:</span></b> moab-dev@mcs.anl.gov <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, September 17, 2013 10:57 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [MOAB-dev] some errors I met I build moab<br> </font> </div> <div class="y_msg_container"><br>Thanks for the note, comments below...<br><br>On 09/16/2013 10:36 PM, 魏华祎 wrote:<br>> Hi there,<br>><br>> I checked out moab from <a href="https://bitbucket.org/fathomteam/moab." target="_blank">https://bitbucket.org/fathomteam/moab. </a>When I build, I meet some error, I think maybe they<br>> are bugs.<br>><br>> First , when I run the following command and meet an error like:<br>><br>> $ autoreconf -fi<br>> test/parallel/Makefile.am:30: `:='-style assignments are not portable<br>><br>> After I change ":=" to "=",
it work well.<br>><br><br>As Vijay said, this isn't the right way to fix this, it's better to tolerate the warning. (I may have found a way to <br>fix this, so stay tuned...)<br><br>> Then I configure it by:<br>><br>> ./configure --prefix=/home/why/software/moab/20130914 --enable-static --enable-igeom --enable-debug --enable-tools<br>> --enable-docs --disable-mbzoltan --disable-qvdual \<br>> --with-netcdf \<br>> --with-mpi \<br>> --with-hdf5 \<br>> --with-zoltan=/usr/local \<br>> --with-parmetis=/usr \<br>> --with-cgm=/home/why/software/cgma/6070 \<br>> --with-vtk=/home/why/software/vtk<br>><br>> and when I make it, I find I can't compile three tools and a test:<br>><br>> tools/mbcoupler<br>> tools/mbcslam<br>> tools/dagmc<br>> test/perf<br>><br>> The problem is that they can't link with cgm. I find that the problem come from the Makefile in these directories. So I<br>>
just change the line<br>> "LIBS = -lm" to "LIBS = -lm ${CGM_LIBS}", then make can pass, and make check also work well.<br>><br><br>Ok, we're checking on this.<br><br>> I still can't compile the tools/mbzoltan and tools/qvdual, and I havn't figure out the reason why.<br>><br><br>As Vijay said, you're disabling them with configure options. And, qvdual is deprecated, I'll go ahead and remove it.<br><br>- tim<br><br>> Hope these informatin can improve the build process of Moad.<br>><br>> Best<br>><br>> Huayi<br>><br>><br><br>-- <br>================================================================<br>"You will keep in perfect peace him whose mind is<br> steadfast, because he trusts in you." Isaiah 26:3<br><br> Tim Tautges Argonne National
Laboratory<br> (<a ymailto="mailto:tautges@mcs.anl.gov" href="mailto:tautges@mcs.anl.gov">tautges@mcs.anl.gov</a>) (telecommuting from UW-Madison)<br> phone (gvoice): (608) 354-1459 1500 Engineering Dr.<br> fax: (608) 263-4499 Madison, WI 53706<br><br><br><br></div> </div> </div> </div></body></html>