<div dir="ltr">Hi Simon,<div><br></div><div>You normally shouldn't have to point to the numpy directory, especially when you are opting to build numpy, as your options show. I wonder if your numpy built successfully.</div>
<div><br></div><div>If you navigate to</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">/u/ssu/build/paraview/Build_4.</span><span style="font-family:arial,sans-serif;font-size:13px">1.0_osmesa/ParaViewSuperbuild_</span><span style="font-family:arial,sans-serif;font-size:13px">4.1.0-build</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">and run 'make numpy', does it succeed?</font></div><div><font face="arial, sans-serif"><br>
</font></div><div><font face="arial, sans-serif">Also, what can you send me the file </font><span style="font-size:13px;font-family:arial,sans-serif">/u/ssu/build/paraview/Build_4.</span><span style="font-size:13px;font-family:arial,sans-serif">1.0_osmesa/ParaViewSuperbuild_</span><span style="font-size:13px;font-family:arial,sans-serif">4.1.0-build/pv-matplotlib-</span><span style="font-size:13px;font-family:arial,sans-serif">build.cmake? There should be an option -DNUMPY_INSTALL_DIR:PATH in the command variable.</span></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thanks,</font></div><div><font face="arial, sans-serif">Cory</font></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 2, 2014 at 5:05 PM, Su, Simon M CTR USARMY ARL (US) <span dir="ltr"><<a href="mailto:simon.m.su.ctr@mail.mil" target="_blank">simon.m.su.ctr@mail.mil</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Classification: UNCLASSIFIED<br>
Caveats: NONE<br>
<br>
Hello,<br>
<br>
How do you specify to the superbuild process when building 'matplotlib', where<br>
numpy was built?  I  configured cmake using the following and the error<br>
message at the end of the email<br>
<br>
thanks<br>
-simon<br>
<br>
cmake \<br>
-DCMAKE_INSTALL_PREFIX:PATH=${HOME}/pv-test/${version}_osmesa \<br>
-DCMAKE_BUILD_TYPE=Release \<br>
-DParaView_FROM_GIT=ON \<br>
-DENABLE_boost=ON \<br>
-DENABLE_cgns=OFF \<br>
-DENABLE_ffmpeg=ON \<br>
-DENABLE_fontconfig=ON \<br>
-DENABLE_freetype=ON \<br>
-DENABLE_hdf5=ON \<br>
-DENABLE_libxml2=ON \<br>
-DENABLE_matplotlib=ON \<br>
-DENABLE_mesa=OFF \<br>
-DENABLE_mpi=ON \<br>
-DENABLE_numpy=ON \<br>
-DENABLE_osmesa=ON \<br>
-DENABLE_paraview=ON \<br>
-DENABLE_png=ON \<br>
-DENABLE_python=ON \<br>
-DENABLE_qhull=ON \<br>
-DENABLE_qt=OFF \<br>
-DENABLE_silo=ON \<br>
-DENABLE_szip=ON \<br>
-DENABLE_visitbridge=ON \<br>
-DUSE_SYSTEM_mpi=ON \<br>
-DUSE_SYSTEM_python=ON \<br>
-DUSE_SYSTEM_zlib=ON \<br>
../ParaViewSuperbuild_${version}<br>
<br>
<br>
===================== error message<br>
================================================<br>
-- Enabling zlib since needed by: boost;ffmpeg;freetype;hdf5;png;silo<br>
-- Enabling boost as requested.<br>
-- Enabling ffmpeg as requested.<br>
-- Enabling freetype as requested.<br>
-- Enabling libxml2 as requested.<br>
-- Enabling fontconfig as requested.<br>
-- Enabling szip as requested.<br>
-- Enabling hdf5 as requested.<br>
-- Enabling python as requested.<br>
-- Enabling numpy as requested.<br>
-- Enabling png as requested.<br>
-- Enabling matplotlib as requested.<br>
-- Enabling mpi as requested.<br>
-- Enabling osmesa as requested.<br>
-- Enabling qhull as requested.<br>
-- Enabling silo as requested.<br>
-- Enabling visitbridge as requested.<br>
-- Enabling paraview as requested.<br>
-- PROJECTS_ENABLED<br>
zlib;boost;ffmpeg;freetype;libxml2;fontconfig;szip;hdf5;python;numpy;png;matplotlib;mpi;osmesa;qhull;silo;visitbridge;paraview<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to:<br>
/u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build<br>
/u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build/install/lib64/python2.6/site-packages<br>
[ 20%] [ 22%] [ 29%] [ 38%] [ 38%] [ 37%] [ 40%] [ 40%] Built target zlib<br>
Built target szip<br>
Built target python<br>
Built target libxml2<br>
Built target visitbridge<br>
Built target osmesa<br>
Built target mpi<br>
Performing update step for 'qhull'<br>
[ 49%] [ 55%] Built target freetype<br>
[ 70%] [ 70%] [ 73%] [ 73%] Built target hdf5<br>
Built target numpy<br>
Built target png<br>
Built target boost<br>
Built target ffmpeg<br>
[ 78%] Built target fontconfig<br>
[ 81%] [ 84%] Built target silo<br>
Performing build step for 'matplotlib'<br>
LD_LIBRARY_PATH =<br>
/u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build/install/lib:/opt/cray/shared-root/1.0-1.0402.46893.3.17.gem/lib64:/opt/cray/nodehealth/5.1-1.0402.45895.3.76.gem/lib64:/opt/cray/csa/3.0.0-1_2.0402.45268.1.90.gem/lib64:/opt/cray/job/1.5.5-0.1_2.0402.45272.1.5.gem/lib64:/opt/gcc/mpc/0.8.1/lib:/opt/gcc/mpfr/2.4.2/lib:/opt/gcc/gmp/4.3.2/lib:/opt/gcc/4.8.2/snos/lib64:/opt/cray/shared-root/1.0-1.0402.46893.3.17.gem/lib64:/opt/cray/nodehealth/5.1-1.0402.45895.3.76.gem/lib64:/opt/cray/csa/3.0.0-1_2.0402.45268.1.90.gem/lib64:/opt/cray/job/1.5.5-0.1_2.0402.45272.1.5.gem/lib64:/opt/gcc/mpc/0.8.1/lib:/opt/gcc/mpfr/2.4.2/lib:/opt/gcc/gmp/4.3.2/lib:/opt/gcc/4.8.2/snos/lib64<br>

Already on 'master'<br>
Your branch is up-to-date with 'origin/master'.<br>
CMake Error at<br>
/u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0/Projects/matplotlib.build.cmake:12<br>
(message):<br>
  Failed to locate numpy-egg<br>
<br>
<br>
CMake Error at<br>
/u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build/pv-matplotlib-build.cmake:26<br>
(message):<br>
  Failed!!!<br>
<br>
<br>
make[2]: *** [matplotlib/src/matplotlib-stamp/matplotlib-build] Error 1<br>
make[1]: *** [CMakeFiles/matplotlib.dir/all] Error 2<br>
make[1]: *** Waiting for unfinished jobs....<br>
[ 85%] Performing configure step for 'qhull'<br>
<br>
<br>
Classification: UNCLASSIFIED<br>
Caveats: NONE<br>
<br>
<br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>