updated configs.
This commit is contained in:
parent
3c78070359
commit
a01578197a
@ -76,7 +76,7 @@ spawn_cmd = os.environ.get('DOCKER_SPAWN_CMD', "start-singleuser.sh")
|
||||
c.DockerSpawner.extra_create_kwargs.update({ 'command': spawn_cmd })
|
||||
|
||||
# Memory limit
|
||||
c.Spawner.mem_limit = '2G' # RAM limit
|
||||
c.Spawner.mem_limit = '50G' # RAM limit
|
||||
c.Spawner.cpu_limit = 0.0001
|
||||
|
||||
# Connect containers to this Docker network
|
||||
|
@ -13,16 +13,18 @@ RUN apt-get update && \
|
||||
htop \
|
||||
fonts-dejavu \
|
||||
tzdata \
|
||||
gfortran \
|
||||
gcc
|
||||
gfortran
|
||||
|
||||
RUN apt-get install -y gcc
|
||||
|
||||
# finish off with MPI dependencies
|
||||
RUN sudo apt-get install mpich libmpich-dev && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
RUN sudo apt-get install mpich libmpich-dev -y && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
USER jovyan
|
||||
|
||||
RUN python3 -m pip install --no-cache jupyterhub==$JUPYTERHUB_VERSION nbresuse
|
||||
RUN conda install -c conda-forge fenics
|
||||
#RUN conda install -c conda-forge fenics
|
||||
|
||||
RUN python3 -m pip install ipyparallel mpi4py
|
||||
RUN ipython profile create --parallel --profile=mpi
|
||||
|
Loading…
Reference in New Issue
Block a user