[Paraview] ParaView superbuild matplotlib not finding numpy (UNCLASSIFIED)

Cory Quammen cory.quammen at kitware.com
Tue Jun 3 09:25:25 EDT 2014


Simon,

That looks like what I would expect.

Next, could you navigate to

/u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.
1.0-build/install

and send me the results of running

find . -name *numpy*

Thanks,
Cory


On Tue, Jun 3, 2014 at 9:15 AM, Su, Simon M CTR USARMY ARL (US) <
simon.m.su.ctr at mail.mil> wrote:

> Classification: UNCLASSIFIED
> Caveats: NONE
>
> Hi Cory,
>
> When I do a make numpy, this is what I got the following.
> In the pv-matplotlib-build.cmake file attached, -DNUMPY_INSTALL_DIR is
> defined
> as
>
>
> -DNUMPY_INSTALL_DIR:PATH=/u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build/install;
>
> Thanks for your help
> -simon
>
> ================ make numpy =========================
> -- 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
> [ 50%] Built target python
> [100%] Built target numpy
>
>
> =================================================================================
>
>
>
>
>
> -----Original Message-----
> From: Cory Quammen [mailto:cory.quammen at kitware.com]
> Sent: Tuesday, June 03, 2014 8:50 AM
> To: Su, Simon M CTR USARMY ARL (US)
> Cc: ParaView
> Subject: Re: [Paraview] ParaView superbuild matplotlib not finding numpy
> (UNCLASSIFIED)
>
> 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)
> <simon.m.su.ctr at mail.mil> 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
>
>
>
>
>
> Classification: UNCLASSIFIED
> Caveats: NONE
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140603/0b98ee8d/attachment.html>


More information about the ParaView mailing list