Demo: Software Defined Visualization Using Intel® Xeon Phi™ Processor

ID 671654
Updated 3/24/2017
Version Latest
Public

author-image

By

In this demo we are showcasing the use of Intel® Xeon Phi™ processor, to do a 3D visualization of tumor in a human brain. This can help advance research in medical field by getting precise detection and removal of something like tumor in human brain.

More information

The tool used for visualization is Paraview, with OSPRay as the rendering library.

Pre-requisites

Intel® Xeon Phi™ processor system with CentOS 7.2 Linux* (internet enabled)

Open a terminal, in your work area directory and follow the steps below:

  1. Create directory for the demo

    mkdir Intel_brain_demo

  2. Change directory

    cd Intel_brain_demo

  3. Create two directories under this

    mkdir paraview
    mkdir ospray

  4. Access the files from Dropbox:

    https://www.dropbox.com/s/wj0qp1clxv5xssv/SC_2016_BrainDemo.tar.gz?dl=0

  5. Copy the Paraview and Ospray tar files into the respective directories you created in steps above

    mv SC_2016_BrainDemo/paraview_sc_demo.tgz paraview/
    mv SC_2016_BrainDemo/ospray.tgz ospray/

  6. Untar each of the *tgz directories in the respective area

    tar –xzvf *.tgz

  7. Point the library path

    Export
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<…../Intel_brain_demo/ospray/install/lib64>

  8. Optional step: set graphics system to a random variable, only if Paraview doesn’t load normally

    export QT_GRAPHICSSYSTEM=gtk

  9. Change directory to paraview/install where the binaries are

    cd paraview/install

  10. Run Paraview

    ./bin/paraview

  11. Once Paraview loads

    Select File/Load State

  12. Then load the brain_demo.psvm file from the SC_2016BrainDemo that you sync’d in step above

  13. Then it will ask you to load VTK files, click the “...” button to select the appropriate *tumor1.vtk file, then *tumor2.vtk file and then *Tumor1.vtk file in order on your local machine. Then click OK.

  14. An Output Messages pop window will show with warnings. Ignore the warnings and click close, and you should see something like following:

  15. Now you can go to File/Save State and save this state. Now every time you load you can load to this state file to skip the previous step of having to locate the data files.
  16. Then on properties tab on left side, enable Ospray for every view (all the rendewViews1/2/2 by selecting that view and clicking enable Ospray)

  17. Once you do that you should see the images for all three views look as below:

  18. You can also rotate the views and see how they look.

A few issues and how to resolve

Missing OpenGL, install mesa for OpenGL

Sudo yum –y install mesa-libGL
Sudo yum –y install mesa-libGL-devel

libQtGui.so.4 error, install qt-x11 package

yum –y install qt-x11

Acknowledgements

Special thanks to Carson Brownlee and James Jeffers from Intel Corporation for all their contributions and support. Without their efforts, it wouldn’t have been possible to get this demo running.

References

  1. http://www.intel.com/content/www/us/en/processors/xeon/xeon-phi-detail.html
  2. https://software.intel.com/en-us/blogs/Intel-Parallel-Studio-XE-2016
  3. https://gitlab.kitware.com/carson/paraview
  4. https://gitlab.kitware.com/carson/vtk
  5. http://www.ospray.org
  6. http://www.ospray.org/getting_ospray.html
  7. http://dap.xeonphi.com
  8. https://ispc.github.io/downloads.html
  9. https://www.threadingbuildingblocks.org
  10. https://en.wikipedia.org/wiki/Software_rendering