Sign inSign up

vlandau/omniscape

By vlandau

•Updated about 5 years ago

The Omniscape package for Julia.

Image
0

1.6K

vlandau/omniscape repository overview

This Docker image contains the Omniscape.jl package⁠ for Julia.

To run:
Set JULIA_NUM_THREADS in the code below to the number of threads you want to use for parallel processing.

On Linux/Mac:

docker run -it --rm \
	-v $(pwd):/home/omniscape \
	-e JULIA_NUM_THREADS=2 \
	vlandau/omniscape:latest

On Windows (via Windows Command Line):

docker run -it --rm^
 -v %cd%:/home/omniscape^
 -e JULIA_NUM_THREADS=2^
 vlandau/omniscape:latest

Note that the -v flag and subsequent code will mount the files in your current working directory and make them available to the Docker container, so navigate to the directory containing all needed input files before starting up the container if you want to use the above code as-is.

Dockerfile:

FROM ubuntu:20.04

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
      ca-certificates \
      curl

# Install julia
RUN curl -L https://julialang-s3.julialang.org/bin/linux/x64/1.10/julia-1.10.0-linux-x86_64.tar.gz > /tmp/julia.tar.gz
RUN tar -zxvf /tmp/julia.tar.gz
RUN ln -s /julia-1.10.0/bin/julia /usr/bin/julia

# Install Omniscape
RUN julia -e 'using Pkg; Pkg.add(["Omniscape", "Test", "BenchmarkTools"])'

CMD ["/usr/bin/julia"]

Tag summary

Content type

Image

Digest

Size

430.8 MB

Last updated

over 5 years ago

docker pull vlandau/omniscape