Hi Simon, 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.
If you navigate to /u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build and run 'make numpy', does it succeed? Also, what can you send me the file /u/ssu/build/paraview/Build_4. 1.0_osmesa/ParaViewSuperbuild_4.1.0-build/pv-matplotlib-build.cmake? There should be an option -DNUMPY_INSTALL_DIR:PATH in the command variable. Thanks, Cory On Mon, Jun 2, 2014 at 5:05 PM, Su, Simon M CTR USARMY ARL (US) < [email protected]> wrote: > Classification: UNCLASSIFIED > Caveats: NONE > > Hello, > > How do you specify to the superbuild process when building 'matplotlib', > where > numpy was built? I configured cmake using the following and the error > message at the end of the email > > thanks > -simon > > cmake \ > -DCMAKE_INSTALL_PREFIX:PATH=${HOME}/pv-test/${version}_osmesa \ > -DCMAKE_BUILD_TYPE=Release \ > -DParaView_FROM_GIT=ON \ > -DENABLE_boost=ON \ > -DENABLE_cgns=OFF \ > -DENABLE_ffmpeg=ON \ > -DENABLE_fontconfig=ON \ > -DENABLE_freetype=ON \ > -DENABLE_hdf5=ON \ > -DENABLE_libxml2=ON \ > -DENABLE_matplotlib=ON \ > -DENABLE_mesa=OFF \ > -DENABLE_mpi=ON \ > -DENABLE_numpy=ON \ > -DENABLE_osmesa=ON \ > -DENABLE_paraview=ON \ > -DENABLE_png=ON \ > -DENABLE_python=ON \ > -DENABLE_qhull=ON \ > -DENABLE_qt=OFF \ > -DENABLE_silo=ON \ > -DENABLE_szip=ON \ > -DENABLE_visitbridge=ON \ > -DUSE_SYSTEM_mpi=ON \ > -DUSE_SYSTEM_python=ON \ > -DUSE_SYSTEM_zlib=ON \ > ../ParaViewSuperbuild_${version} > > > ===================== error message > ================================================ > -- Enabling zlib since needed by: boost;ffmpeg;freetype;hdf5;png;silo > -- Enabling boost as requested. > -- Enabling ffmpeg as requested. > -- Enabling freetype as requested. > -- Enabling libxml2 as requested. > -- Enabling fontconfig as requested. > -- Enabling szip as requested. > -- Enabling hdf5 as requested. > -- Enabling python as requested. > -- Enabling numpy as requested. > -- Enabling png as requested. > -- Enabling matplotlib as requested. > -- Enabling mpi as requested. > -- Enabling osmesa as requested. > -- Enabling qhull as requested. > -- Enabling silo as requested. > -- Enabling visitbridge as requested. > -- Enabling paraview as requested. > -- PROJECTS_ENABLED > > zlib;boost;ffmpeg;freetype;libxml2;fontconfig;szip;hdf5;python;numpy;png;matplotlib;mpi;osmesa;qhull;silo;visitbridge;paraview > -- Configuring done > -- Generating done > -- Build files have been written to: > /u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build > > /u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build/install/lib64/python2.6/site-packages > [ 20%] [ 22%] [ 29%] [ 38%] [ 38%] [ 37%] [ 40%] [ 40%] Built target zlib > Built target szip > Built target python > Built target libxml2 > Built target visitbridge > Built target osmesa > Built target mpi > Performing update step for 'qhull' > [ 49%] [ 55%] Built target freetype > [ 70%] [ 70%] [ 73%] [ 73%] Built target hdf5 > Built target numpy > Built target png > Built target boost > Built target ffmpeg > [ 78%] Built target fontconfig > [ 81%] [ 84%] Built target silo > Performing build step for 'matplotlib' > LD_LIBRARY_PATH = > > /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 > Already on 'master' > Your branch is up-to-date with 'origin/master'. > CMake Error at > > /u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0/Projects/matplotlib.build.cmake:12 > (message): > Failed to locate numpy-egg > > > CMake Error at > > /u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build/pv-matplotlib-build.cmake:26 > (message): > Failed!!! > > > make[2]: *** [matplotlib/src/matplotlib-stamp/matplotlib-build] Error 1 > make[1]: *** [CMakeFiles/matplotlib.dir/all] Error 2 > make[1]: *** Waiting for unfinished jobs.... > [ 85%] Performing configure step for 'qhull' > > > Classification: UNCLASSIFIED > Caveats: NONE > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
