<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div>Hi,</div>
    <div>  Okay spent a couple days experimenting with building
      Paraview-4.1 and 4.2. on our local GPU-cluster it is <span
        style="color: rgb(102, 102, 102); font-family: Arial, 'DejaVu
        Sans', 'Liberation Sans', Freesans, sans-serif; font-size: 13px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: 20px; orphans: auto;
        text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: auto; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); display: inline !important; float: none;">The SGI
        supercomputer comprises 96 nodes, each containing two 6-core
        Intel Xeon X5650 CPUs, an NVIDIA Tesla C2075 GPU and 72 GB RAM,
        resulting in a system containing 1152 cores and 96 GPUs.</span></div>
    <div><span style="color: rgb(102, 102, 102); font-family: Arial,
        'DejaVu Sans', 'Liberation Sans', Freesans, sans-serif;
        font-size: 13px; font-style: normal; font-variant: normal;
        font-weight: normal; letter-spacing: normal; line-height: 20px;
        orphans: auto; text-align: start; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); display: inline
        !important; float: none;"><br>
      </span></div>
    <div>I keep hitting the build.make errors when I set </div>
    <div>-DPARAVIEW_ENABLE_PYTHON:BOOL=ON </div>
    <div>-DUSE_SYSTEM_python:BOOL=ON </div>
    <div>-DPYTHON_EXECUTABLE:FILEPATH=$PYTHON_DIR/bin/python</div>
    <div>-DPYTHON_LIBRARY:FILEPATH=$PYTHONPATH</div>
    <div>-DPYTHON_INCLUDE_DIR:PATH=$PYTHON_DIR/include/python$PYTHON_LIB_VERSION</div>
    <div><br>
    </div>
    <div>The error....</div>
    <div><br>
    </div>
    <div>
      <div>make[2]: Entering directory
        `/group/director100/cbording/vis/build/ParaView-v4.1.0/paraview-build'</div>
      <div>VTK/Utilities/PythonInterpreter/CMakeFiles/vtkPythonInterpreter.dir/build.make:127:
        *** target pattern contains no `%'.  Stop.</div>
    </div>
    <div><br>
    </div>
    <div>if I go to the
      VTK/Utilities/PythonInterpreter/CmakeFiles/vtkPythonInterpreter.dir</div>
    <div><br>
    </div>
    <div>
      <div>[cbording@login2 PythonInterpreter]$ cd CMakeFiles/</div>
      <div>[cbording@login2 CMakeFiles]$ ls</div>
      <div>CMakeDirectoryInformation.cmake  progress.marks
         vtkPythonInterpreter.cmake  vtkPythonInterpreter.dir</div>
      <div>[cbording@login2 CMakeFiles]$ cd vtkPythonInterpreter.dir/</div>
      <div>[cbording@login2 vtkPythonInterpreter.dir]$ ls</div>
      <div><font class="Apple-style-span" color="#eb1910">build.make</font>
         cmake_clean.cmake  DependInfo.cmake  depend.make  flags.make
         Labels.txt  link.txt  progress.make</div>
      <div>[cbording@login2 vtkPythonInterpreter.dir]$ pwd</div>
      <div>/group/director100/cbording/vis/build/ParaView-v4.1.0/paraview-build/VTK/Utilities/PythonInterpreter/CMakeFiles/vtkPythonInterpreter.dir</div>
    </div>
    <div><br>
    </div>
    <div>so build.make is there and offending line is in RED</div>
    <div><br>
    </div>
    <div>
      <div># Object files for target vtkPythonInterpreter</div>
      <div>vtkPythonInterpreter_OBJECTS = \</div>
      <div>"CMakeFiles/vtkPythonInterpreter.dir/vtkPythonInterpreter.cxx.o"
        \</div>
      <div>"CMakeFiles/vtkPythonInterpreter.dir/vtkPythonInteractiveInterpreter.cxx.o"</div>
      <div><br>
      </div>
      <div># External object files for target vtkPythonInterpreter</div>
      <div>vtkPythonInterpreter_EXTERNAL_OBJECTS =</div>
      <div><br>
      </div>
      <div>lib/libvtkPythonInterpreter-pv4.1.so.1:
VTK/Utilities/PythonInterpreter/CMakeFiles/vtkPythonInterpreter.dir/vtkPythonInterpreter.cxx.o</div>
      <div>lib/libvtkPythonInterpreter-pv4.1.so.1:
VTK/Utilities/PythonInterpreter/CMakeFiles/vtkPythonInterpreter.dir/vtkPythonInteractiveInterpreter.cxx.o</div>
      <div>lib/libvtkPythonInterpreter-pv4.1.so.1:
VTK/Utilities/PythonInterpreter/CMakeFiles/vtkPythonInterpreter.dir/build.make</div>
      <div>lib/libvtkPythonInterpreter-pv4.1.so.1:
        lib/libvtkCommonCore-pv4.1.so.1</div>
      <div><font class="Apple-style-span" color="#ff3923">lib/libvtkPythonInterpreter-pv4.1.so.1:

/ivec/apps/gcc/4.4.7/python/2.6.9/lib/python2.6/site-packages:/ivec/python/lib/python2.6/site-packages</font></div>
      <div>lib/libvtkPythonInterpreter-pv4.1.so.1:
        lib/libvtksys-pv4.1.so.1</div>
      <div>lib/libvtkPythonInterpreter-pv4.1.so.1:
VTK/Utilities/PythonInterpreter/CMakeFiles/vtkPythonInterpreter.dir/link.txt</div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>@$(CMAKE_COMMAND)

        -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX
        shared library ../../../lib/libvtkPythonInterpreter-pv4.1.so"</div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>cd

        /group/director100/cbording/vis/build/ParaView-v4.1.0/paraview-build/VTK/Utilities/PythonInterpreter

        && $(CMAKE_COMMAND) -E cmake_link_script
        CMakeFiles/vtkPythonInterpreter.dir/link.txt
        --verbose=$(VERBOSE)</div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>cd

        /group/director100/cbording/vis/build/ParaView-v4.1.0/paraview-build/VTK/Utilities/PythonInterpreter

        && $(CMAKE_COMMAND) -E cmake_symlink_library
        ../../../lib/libvtkPythonInterpreter-pv4.1.so.1
        ../../../lib/libvtkPythonInterpreter-pv4.1.so.1
        ../../../lib/libvtkPythonInterpreter-pv4.1.so</div>
      <div><br>
      </div>
      <div>lib/libvtkPythonInterpreter-pv4.1.so:
        lib/libvtkPythonInterpreter-pv4.1.so.1</div>
      <div><br>
      </div>
      <div># Rule to build all files generated by this target.</div>
      <div>VTK/Utilities/PythonInterpreter/CMakeFiles/vtkPythonInterpreter.dir/build:
        lib/libvtkPythonInterpreter-pv4.1.so</div>
      <div>.PHONY :
VTK/Utilities/PythonInterpreter/CMakeFiles/vtkPythonInterpreter.dir/build</div>
    </div>
    <div><br>
    </div>
    <div><br>
    </div>
    <div><br>
    </div>
    <div>Here is what is in the python module.</div>
    <div>
      <div>-------------------------------------------------------------------</div>
      <div>/ivec/modulefiles/apps/python/2.6.9:</div>
      <div><br>
      </div>
      <div>setenv           PYTHON_VERSION 2.6.9 </div>
      <div>setenv           PYTHON_LIB_VERSION 2.6 </div>
      <div>setenv           PYTHON_DIR
        /ivec/apps/gcc/4.4.7/python/2.6.9 </div>
      <div>setenv           IBS_PYTHON_LIBDIR lib </div>
      <div>prepend-path     PATH /ivec/apps/gcc/4.4.7/python/2.6.9/bin </div>
      <div>prepend-path     LD_LIBRARY_PATH
        /ivec/apps/gcc/4.4.7/python/2.6.9/lib </div>
      <div>prepend-path     MANPATH
        /ivec/apps/gcc/4.4.7/python/2.6.9/share/man </div>
      <div>prepend-path     PYTHONPATH
        /ivec/apps/gcc/4.4.7/python/2.6.9/lib/python2.6/site-packages </div>
    </div>
    <div><br>
    </div>
    <div><br>
    </div>
    <div>
      <div>Currently Loaded Modulefiles:</div>
      <div>  1) ibs/1.5.7   2) gcc/4.4.7</div>
      <div>.. loading openmpi/1.6.5</div>
      <div>.. loading python/2.6.9</div>
      <div>.. loading qt/4.8.4</div>
      <div>.. loading zlib/1.2.7</div>
      <div>.. loading hdf5/1.8.10</div>
      <div>.. loading netcdf/4.2.1.1</div>
      <div>.. loading boost/1.55.0</div>
      <div>.. loading silo/4.8</div>
      <div>.. check for build only modules</div>
      <div>.. you are using cmake, will use ibs_cmake_build to process</div>
      <div>.. loading cmake/2.8.12.1</div>
      <div>.. unpacking the source code for paraview 4.1.0</div>
      <div>.... only need to unpack first source</div>
      <div>.. compiling paraview 4.1.0 with gcc/4.4.7</div>
      <div>Running cmake
        -DCMAKE_INSTALL_PREFIX=/group/director100/cbording/vis/apps/gcc/4.4.7/paraview/4.1.0

        -DBUILD_TESTING:BOOL=OFF -DBUILD_EXAMPLES:BOOL=OFF
        -DPARAVIEW_USE_MPI:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON
        -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF
        -DMPI_C_LIBRARIES:STRING="$MPI_HOME/lib/libmpi.so;/usr/lib64/libdl.so"
        -DMPI_C_INCLUDE_PATH:PATH=$MPI_HOME/include
        -DMPI_CXX_LIBRARIES:STRING="$MPI_HOME/lib/libmpi_cxx.so;/usr/lib64/libdl.so"

        -DMPI_CXX_INCLUDE_PATH:PATH=$MPI_HOME/include
        -DMPI_Fortran_LIBRARIES:PATH=$MPI_HOME/lib/libmpi.so
        -DMPI_Fortran_INCLUDE_PATH:PATH=$MPI_HOME/include
         -DCMAKE_BUILD_TYPE:STRING=Release  
        -DZLIB_INCLUDE_DIR:PATH=$IBS_ZLIB_HOME/include
        -DZLIB_LIBRARY:PATH=$IBS_ZLIB_HOME/lib/libz.so
        -DPARAVIEW_ENABLE_WEB:BOOL=OFF
        -DPARAVIEW_DATA_ROOT:FILEPATH=/group/director100/cbording/vis/ParaViewData-v4.1

        -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON -DBoost_DIR:PATH=$Boost_DIR
        -DBoost_INCLUDE_DIR:PATH=$Boost_DIR/include
        -DBoost_LIBRARY_DIRS:PATH=$Boost_DIR/lib
        -DVISIT_BUILD_READER_Silo:BOOL=ON
        -DSILO_INCLUDE_DIR:PATH=$IBS_SILO_HOME/include
        -DSILO_LIBRARY:FILEPATH=$IBS_SILO_HOME/lib/libsiloh5.so
        -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DUSE_SYSTEM_python:BOOL=ON
        -DPYTHON_EXECUTABLE:FILEPATH=$PYTHON_DIR/bin/python
        -DPYTHON_LIBRARY:FILEPATH=$PYTHONPATH
        -DPYTHON_INCLUDE_DIR:PATH=$PYTHON_DIR/include/python$PYTHON_LIB_VERSION
        -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON .. in
        /group/director100/cbording/vis/build/ParaView-v4.1.0/paraview-build</div>
      <div>-- The C compiler identification is GNU 4.4.7</div>
      <div>-- The CXX compiler identification is GNU 4.4.7</div>
      <div>-- Check for working C compiler:
        /ivec/devel/gcc/4.4.7/openmpi/1.6.5/bin/mpicc</div>
      <div>-- Check for working C compiler:
        /ivec/devel/gcc/4.4.7/openmpi/1.6.5/bin/mpicc -- works</div>
      <div>-- Detecting C compiler ABI info</div>
    </div>
    <div><br>
    </div>
    <div><br>
    </div>
    <div>If I configure the build without python then it does not fail.
       I have tried with both python version 2.6.9 and 2.7.6</div>
    <div><br>
    </div>
    <div>Do I have the right flags set for python. </div>
    <div>more importantly to I have the right configure flags set so we
      can run the pvserver and have it use the GPUs?</div>
    <div>The ultimate goal is to be able to render on the cluster and
      view on the multi-display panels we have.</div>
    <div><br>
    </div>
    <div>Next I want to install paraview on our new CRAY XC-30, any
      suggestions on configuring that?</div>
    <div><br>
    </div>
    <div>I found this in the from the good folks at CSCS for their CRAY
      XC-30 however ours is all Haswell without GPUs.</div>
    <div><br>
    </div>
    <div>We also have a SGI UV2000 has anyone installed paraview on
      large single image systems?</div>
    <div><br>
    </div>
    <div>Thanks in advance!</div>
    <div><br>
    </div>
    <pre class="moz-signature" cols="72">-- 
R.Christopher Bording
Supercomputing Specialist
iVEC Supercomputing Team

T +61 8 6488 6905
F +61 8 6488 8088
E <a class="moz-txt-link-abbreviated" href="mailto:cbording@ivec.org">cbording@ivec.org</a>

</pre>
  </body>
</html>