Difference between revisions of "Tutorial"

From VTKM
Jump to navigation Jump to search
Line 9: Line 9:
  
  
== Getting VTK-m ==
+
== Download and build VTK-m ==
  
Follow directions from page on [[Building_VTK-m|building VTK-m]].
+
The instructions to download and build are [[Building_VTK-m|here]].
 +
 
 +
Recommendations:
 +
* Download V1.3.0 [[http://m.vtk.org/index.php/VTK-m_Releases#VTK-m_Version_1.3.0|here]].
 +
** (don't access the master branch via git clone, and note the build page assumes you will be doing a git clone)
 +
* Do not enable the TBB or CUDA, at least at first.
 +
** (we stand behind our support for these backends, but it is good to start simple)
 +
 
 +
In all, your process on Unix/Mac should be something like:
 +
# (download VTK-m 1.3.0)
 +
# tar xvfz vtk-m-v1.3.0.tar.gz
 +
# mkdir vtkm-build # out of source build
 +
# cd vtkm-build
 +
# cmake ../vtk-m
 +
# make
 +
# make test
 +
 
 +
(Note: will need to turn on examples...)

Revision as of 22:18, 16 July 2019

WARNING: Under development!


About this page

This page contains materials for a VTK-m tutorial. A mini version of the tutorial will be offered at the VTK-m Code Sprint in Albuquerque on July 30th. The full version (3.5 hours) will be offered at VIS19 in Vancouver, Canada on Sunday October 20th.


Download and build VTK-m

The instructions to download and build are here.

Recommendations:

  • Download V1.3.0 [[1]].
    • (don't access the master branch via git clone, and note the build page assumes you will be doing a git clone)
  • Do not enable the TBB or CUDA, at least at first.
    • (we stand behind our support for these backends, but it is good to start simple)

In all, your process on Unix/Mac should be something like:

  1. (download VTK-m 1.3.0)
  2. tar xvfz vtk-m-v1.3.0.tar.gz
  3. mkdir vtkm-build # out of source build
  4. cd vtkm-build
  5. cmake ../vtk-m
  6. make
  7. make test

(Note: will need to turn on examples...)