<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 15, 2014 at 4:52 PM, Andrew Davis <span dir="ltr"><<a href="mailto:andrewdavis.davis@gmail.com" target="_blank">andrewdavis.davis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Comping with verbose mode suggests that headers variable is not set correctly<div><br></div><div>cd /data/opt/pyne/build/pyne && /usr/bin/c++ -D_dagmc_EXPORTS -D__LINUX__ -DJSON_IS_AMALGAMATION -O3 -DNDEBUG -fPIC -I/data/opt/dagmc/hdf5/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/data/opt/pyne/cpp -I/usr/include/python2.7 -o CMakeFiles/_dagmc.dir/_dagmc.cxx.o -c /data/opt/pyne/build/pyne/_dagmc.cxx<br>
</div><div><br></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>So is there somekind of mismatch between the MOAB_INCLUDE_DIRS env wanted by cmake/FindMOAB and the MOAB_INCLUDE_DIR suggested by the cmake build echo.</div>
</div></blockquote><div><br></div><div>Hey Andy,</div><div><br></div><div>There very well might be. I am not super confident in the FindMOAB.cmake. This seems like the thing that MOAB itself should support. Maybe they do and I missed it when I wrote the dagmc wrapper. For expediency, I just used the best thing that I found online. It could probably use love & official support.</div>
<div><br></div><div>Be Well</div><div>Anthony</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Andy</div><div><br>
</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Mar 15, 2014 at 4:44 PM, Andrew Davis <span dir="ltr"><<a href="mailto:andrewdavis.davis@gmail.com" target="_blank">andrewdavis.davis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Can anyone confirm is this is true? When I try it I get the following<div><br></div><div> python setup.py install --user -- -DMOAB_INCLUDE_DIR=/data/opt/dagmc/moab/include -DMOAB_LIBRARY=/data/opt/dagmc/moab/lib/libMOAB.so <br>
</div><div><br></div><div>It finds MOAB, </div><div><br></div><div><div>-- Found MOAB: /data/opt/dagmc/moab/lib/libMOAB.so </div><div>-- MOAB header files: /data/opt/dagmc/moab/include</div><div>-- MOAB library: /data/opt/dagmc/moab/lib/libMOAB.so</div>
<div>-- MOAB Found: TRUE</div></div><div><br></div><div>Then fails during build</div><div><br></div><div><div>/data/opt/pyne/build/pyne/_dagmc.cxx:322:26: fatal error: moab/Types.hpp: No such file or directory</div><div>
#include "moab/Types.hpp"</div>
<div> ^</div><div>compilation terminated.</div><div>make[2]: *** [pyne/CMakeFiles/_dagmc.dir/_dagmc.cxx.o] Error 1</div><div>make[1]: *** [pyne/CMakeFiles/_dagmc.dir/all] Error 2</div><div>make: *** [all] Error 2</div>
<div>Traceback (most recent call last):</div><div> File "setup.py", line 106, in <module></div><div> main()</div><div> File "setup.py", line 100, in main</div><div> main_body()</div><div>
File "setup.py", line 91, in main_body</div><div> rtn = subprocess.check_call(['make'] + make_args, cwd='build')</div><div> File "/usr/lib/python2.7/subprocess.py", line 540, in check_call</div>
<div> raise CalledProcessError(retcode, cmd)</div><div>subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2</div></div><div><br></div><div>My MOAB is setup correctly, this is a fresh pull from staging, I can confirm that the header is where it should be. </div>
<div><br></div><div>Any ideas?</div><div><br></div><div>Thanks</div><div><br></div><div>Andy</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 10, 2014 at 1:31 PM, Elliott Biondo <span dir="ltr"><<a href="mailto:Biondo@wisc.edu" target="_blank">Biondo@wisc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I actually ran into this last week. Anthony helped me with the cmake flags:</div><div><br></div><div>
python setup.py install --user -- -DMOAB_INCLUDE_DIR=/PATH/TO/MOAB/include -DMOAB_LIBRARY=/PATH/TO/MOAB/lib/libMOAB.so<br>
</div></div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Mon, Mar 10, 2014 at 12:42 PM, Matthew Gidden <span dir="ltr"><<a href="mailto:gidden@wisc.edu" target="_blank">gidden@wisc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It will involve setting pyne's cmake flags, where the setup looks like<div><br></div><div>```</div>
<div>
setup.py install <python flags> -- <cmake flags></div><div>```</div><div><br></div><div>
You can see such an example in moab_build.sh in pyne-ci.</div></div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Mon, Mar 10, 2014 at 12:41 PM, Paul Wilson <span dir="ltr"><<a href="mailto:wilsonp@engr.wisc.edu" target="_blank">wilsonp@engr.wisc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hmmmm... I guess I can look in the pyne-ci repo... I'll do that.<span><font color="#888888"><br>
<br>
Paul</font></span><div><div><br>
<br>
On 03/10/2014 12:31 PM, Paul Wilson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
Do we have any install instructions that describe how to pass the right path and variable info to build PyNE with MOAB? I don't see it at <a href="http://pyne.io" target="_blank">pyne.io</a> or the README.<br>
<br>
Paul<br>
<br>
</blockquote>
<br>
-- <br>
-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --<br>
Paul Wilson ~ UW-Madison ~ <a href="tel:608-263-0807" value="+16082630807" target="_blank">608-263-0807</a> ~ cal: <a href="http://bit.ly/pphw-cal" target="_blank">http://bit.ly/pphw-cal</a><br>
Professor, Engineering Physics. ~ <a href="http://cnerg.engr.wisc.edu" target="_blank">http://cnerg.engr.wisc.edu</a><br>
Faculty Director, Advanced Computing Infrastructure<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div dir="ltr">Matthew Gidden<br>Ph.D. Candidate, Nuclear Engineering<div>The University of Wisconsin -- Madison<br>
Ph. <a href="tel:225.892.3192" value="+12258923192" target="_blank">225.892.3192</a><br></div></div>
</font></span></div><span><font color="#888888">
<p></p>
-- <br>
<br>
--- <br>
You received this message because you are subscribed to the Google Groups "PyNE" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:pyne-dev+unsubscribe@googlegroups.com" target="_blank">pyne-dev+unsubscribe@googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div dir="ltr"><font face="arial, helvetica, sans-serif">Elliott D. Biondo</font><div><div>
Nuclear Regulatory Commission Fellow</div><div><font face="arial, helvetica, sans-serif">Computational Nuclear Engineering Research Group (CNERG)</font></div>
<div><font face="arial, helvetica, sans-serif">Department of Nuclear Engineering and Engineering Physics</font></div><div><font face="arial, helvetica, sans-serif">University of Wisconsin - Madison</font></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><font face="arial, helvetica, sans-serif"><div>434 Engineering Research Building</div><div>1500 Engineering Drive</div><div>Madison, WI 53706</div><div><br></div><div><a href="https://www.google.com/calendar/embed?src=elliott.biondo%40gmail.com&ctz=America/Chicago" target="_blank">Calendar</a><br>
</div></font></div></div></div>
</font></span></div><div><div>
<p></p>
-- <br>
<br>
--- <br>
You received this message because you are subscribed to the Google Groups "PyNE" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:pyne-dev+unsubscribe@googlegroups.com" target="_blank">pyne-dev+unsubscribe@googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
<p></p>
-- <br>
<br>
--- <br>
You received this message because you are subscribed to the Google Groups "PyNE" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:pyne-dev+unsubscribe@googlegroups.com" target="_blank">pyne-dev+unsubscribe@googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</div></div></blockquote></div><br></div></div>