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

Cory Quammen cory.quammen at kitware.com
Wed Jun 4 08:49:50 EDT 2014


Thanks for testing, Simon. We'll get that patch in soon so you shouldn't
run into this problem anymore.

Cory


On Wed, Jun 4, 2014 at 8:17 AM, Su, Simon M CTR USARMY ARL (US) <
simon.m.su.ctr at mail.mil> wrote:

> Classification: UNCLASSIFIED
> Caveats: NONE
>
> Cory,
>
> I have tested a new build on both the cray machines and your wildcard fix
> worked.
>
> Thanks for your help.
> -simon
>
> -----Original Message-----
> From: Cory Quammen [mailto:cory.quammen at kitware.com]
> Sent: Tuesday, June 03, 2014 3:05 PM
> To: Su, Simon M CTR USARMY ARL (US)
> Cc: ParaView
> Subject: Re: [Paraview] ParaView superbuild matplotlib not finding numpy
> (UNCLASSIFIED)
>
> Simon,
>
> I have posted a potential fix to the gerrit review system:
> http://review.source.kitware.com/#/t/4259/
>
> Can you try this out on this system to make sure it works? It basically
> replaces the 64 I asked you to add after lib in matplotlib.build.cmake
> with a
> * wildcard.
>
> Thanks,
> Cory
>
>
> On Tue, Jun 3, 2014 at 9:59 AM, Su, Simon M CTR USARMY ARL (US)
> <simon.m.su.ctr at mail.mil> wrote:
>
>
>         Classification: UNCLASSIFIED
>         Caveats: NONE
>
>         Cory,
>
>
>         Yeap.... the build went pass the problem of matplotlib not finding
> numpy....
>         I will start turning of other features in the superbuild and try
> to build
> them
>
>         Thanks for your help.
>
>         -simon
>
>         -----Original Message-----
>         From: Cory Quammen [mailto:cory.quammen at kitware.com]
>
>         Sent: Tuesday, June 03, 2014 9:48 AM
>         To: Su, Simon M CTR USARMY ARL (US)
>         Cc: ParaView
>         Subject: Re: [Paraview] ParaView superbuild matplotlib not finding
> numpy
>         (UNCLASSIFIED)
>
>         Simon,
>
>         Hmm, that's odd that the find command didn't turn up anything. On
> what kind
> of
>         system are you compiling?
>
>         In any case, I think I see the problem. Can you modify the CMake
> source file
>
>         ParaViewSuperbuild/Projects/matplotlib.build.cmake
>
>         so that the line
>
>         file(GLOB_RECURSE numpy-egg "${NUMPY_INSTALL_DIR}/lib/*.egg-info")
>
>
>         is replaced with
>
>         file(GLOB_RECURSE numpy-egg
> "${NUMPY_INSTALL_DIR}/lib64/*.egg-info")
>
>
>         and build again?
>
>         This will hopefully get you past the current build error. I'll
> investigate
> why
>         python is being installed in install/lib64 instead of install/lib.
>
>         Cory
>
>
>         On Tue, Jun 3, 2014 at 9:33 AM, Su, Simon M CTR USARMY ARL (US)
>         <simon.m.su.ctr at mail.mil> wrote:
>
>
>                 Classification: UNCLASSIFIED
>                 Caveats: NONE
>
>                 Cory,
>
>                 The find didn't find anything...
>
>                 ssu:01% pwd
>
> /u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build/install
>                 ssu:01% find . -name *numpy*
>                 find: No match.
>
>                 But, the install directory has the following directories
>
>                 bin  etc  include  lib  lib64  share  var
>
>                 and I believe numpy is in
>
>                 ssu:01% pwd
>
> /u/ssu/build/paraview/Build_4.1.0_osmesa/ParaViewSuperbuild_4.1.0-build/install/lib64/python2.6/site-packages
>                 ssu:01% ll
>                 total 8
>                 drwx------ 18 ssu ssu 4096 May 30 11:41 numpy
>                 -rw-------  1 ssu ssu 1658 May 30 11:41
> numpy-1.6.2-py2.6.egg-info
>
>                 lib64 only has a single python2.6 directory.... and all
> others are
> located in
>                 lib directory....  is this going to be a problem?
>
>                 Thanks
>                 -simon
>
>
>                 -----Original Message-----
>                 From: Cory Quammen [mailto:cory.quammen at kitware.com]
>
>                 Sent: Tuesday, June 03, 2014 9:25 AM
>                 To: Su, Simon M CTR USARMY ARL (US)
>                 Cc: ParaView
>                 Subject: Re: [Paraview] ParaView superbuild matplotlib not
> finding
> numpy
>                 (UNCLASSIFIED)
>
>                 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
>
>
>
>
>
>
>
>                 Classification: UNCLASSIFIED
>                 Caveats: NONE
>
>
>
>
>
>
>
>         Classification: UNCLASSIFIED
>         Caveats: NONE
>
>
>
>
>
>
> Classification: UNCLASSIFIED
> Caveats: NONE
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140604/673f73f6/attachment-0001.html>


More information about the ParaView mailing list