Windows Advanced Install

Before starting, follow the steps in Generic SeaRay Installation.

Support for CPU via Intel OpenCL

Under construction.

Support for Proprietary Graphics

If SeaRay fails to find your graphics card:

  1. Update to the latest drivers,
  2. If using NVIDIA try installing CUDA developer tools
  3. Activate the conda environment (if not already active)
  4. conda install -c conda-forge ocl-icd-system
  5. See also Troubleshooting OpenCL.

TeX for premium plot labels

If you want the nicest looking plot labels you have to install a TeX distribution. One distribution for Windows is MiKTeX.

  1. Search for miktex and run the basic installer.
  2. You may be prompted to perform further installations as MiKTeX gets used.
  3. Uncomment the line mpl.rcParams['text.usetex'] = True near the top of ray_plotter.py.

Advanced 3D Plotting

The SeaRay plotter supports matplotlib and/or mayavi for 3d plotting. The 3D capabilities of matplotlib are at present nonideal (e.g., depth is not properly rendered in all cases). If you want robust 3D plots you should install mayavi.

In some cases mayavi and matplotlib step on each other. If this happens you may need separate environments for each. The plotter is written to sense which library is available and react accordingly.

  1. Install Visual Studio Community Edition
  2. Open the Anaconda prompt (or PowerShell if configured).
  3. Activate your conda environment.
  4. conda install -c conda-forge mayavi

Interactive Notebooks

  1. Activate your conda environment.

  2. conda install jupyter ipympl

  3. jupyter notebook --generate-config

  4. Create a directory ~/.jupyter/custom/ and copy raysroot/extras/custom.css to the new directory.

  5. If there are problems with Jupyter notebooks any or all of the following may be tried:

    • conda install widgetsnbextension=n, where n is some older version.
    • conda install ipywidgets
    • jupyter nbextension install --py --sys-prefix widgetsnbextension
    • jupyter nbextension enable --py --sys-prefix widgetsnbextension