10000 GitHub - arminms/xeus-cling-jupyter: A bash script to install xeus-cling from source in a python virtual environment or as a Docker image
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

arminms/xeus-cling-jupyter

Repository files navigation

GitHub License MyST GitHub Pages Deploy Static Badge Binder

xeus-cling-jupyter

A bash script to build and install xeus-cling from source in a python virtual environment or as a Docker image.

Usage

$ git clone git@github.com:arminms/xeus-cling-jupyter.git
$ cd xeus-cling-jupyter
$ ./make-xeus-cling-jupyter.sh --help
Usage: ./make-xeus-cling-jupyter.sh [OPTION]... [DIRECTORY(=~/xeus-cling(-env))]

Build and install xeus-cling 0.15.3 from source in DIRECTORY, optionally with a
python virtual environment or as a Docker image.
Needs CMake 3.12+ and 'realpath' to work (e.g. 'sudo apt-get install realpath').

  -b  FOLDER    build directory (default: ./build)
  -c            clean the build directory after installation
  -d            build xeus-cling-jupyter Docker image (requires Docker)
  -g            install xeus-cling CUDA-enabled kernels for NVIDIA GPUs
  -k            install kernels to the current user's kernel registry
  -n  N         number of threads to build cling (default: 2)
  -h            show this help message
  -r            resume the build from the last step
  -s            skip creating python virtual environment
  -x            install extra libraries (xproperty, xwidgets, xtensor)

Running using Docker

Use the following command to launch the Docker container:

docker run -p 8888:8888 -it --rm asobhani/xeus-cling-jupyter

Or this one with CUDA support:

docker run --gpus=all -p 8888:8888 -it --rm asobhani/xeus-cling-jupyter:latest-cuda

About

A bash script to install xeus-cling from source in a python virtual environment or as a Docker image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
163E
0