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:
- Update to the latest drivers,
- If using NVIDIA try installing CUDA developer tools
- Activate the conda environment (if not already active)
conda install -c conda-forge ocl-icd-system- See also Troubleshooting OpenCL.
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
mayaviandmatplotlibstep 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.
- Install Visual Studio Community Edition
- Open the Anaconda prompt (or PowerShell if configured).
- Activate your
condaenvironment.conda install -c conda-forge mayavi
Interactive Notebooks¶
Activate your
condaenvironment.
conda install jupyter ipympl
jupyter notebook --generate-configCreate a directory
~/.jupyter/custom/and copyraysroot/extras/custom.cssto the new directory.If there are problems with Jupyter notebooks any or all of the following may be tried:
conda install widgetsnbextension=n, wherenis some older version.conda install ipywidgetsjupyter nbextension install --py --sys-prefix widgetsnbextensionjupyter nbextension enable --py --sys-prefix widgetsnbextension