Skip to content

Commit 8cef52d

Browse files
committed
update documentation
1 parent 5d6b164 commit 8cef52d

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#
2+
# GPAW Density Functional Theory Dockerfile
3+
#
4+
# default base image "dellelce/mkit" has: Python (Latest) + Apache httpd (Latest)
15

26
ARG BASE=dellelce/mkit
37
FROM ${BASE}:latest as build
@@ -44,10 +48,9 @@ VOLUME ${GPAW}/executions
4448

4549
RUN apk add --no-cache libgfortran libstdc++
4650

47-
# ain't this dirty?
51+
# Pre-load the gfortran shared library
4852
ENV LD_PRELOAD /usr/lib/libgfortran.so.3
4953

50-
# virtualenv, hmmm virtualenv for root? Mumble mumble...
5154
ENV ENV /root/.profile
5255
RUN echo ". ${GPAWENV}/bin/activate" >> /root/.profile
5356

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# gpaw-docker
22

3-
This repo builds a docker container with [GPAW](https://wiki.fysik.dtu.dk/gpaw/) (A Density Functional Theory software based on the [Projector Augmented Wave](https://en.wikipedia.org/wiki/Projector_augmented_wave_method) method and a real space grid).
3+
This repo provides docker containers with [GPAW](https://wiki.fysik.dtu.dk/gpaw/) (A Density Functional Theory software based on the [Projector Augmented Wave](https://en.wikipedia.org/wiki/Projector_augmented_wave_method) method and a real space grid).
44

55
## Components
66

77
It uses the following:
88

99
* Alpine Linux
10-
* Latest Apache httpd available (install path: /app/httpd)
10+
* Latest [Apache httpd](http://httpd.apache.org) available (install path: /app/httpd)
11+
* or [uWSGI](https://uwsgi-docs.readthedocs.io/en/latest/) (image dellelce/gpaw-uwsgi)
1112
* Latest Python 3.7 available (install path: /app/httpd)
12-
* Latest GPAW (install path: /app/gpaw)
13+
* Latest [GPAW](https://wiki.fysik.dtu.dk/gpaw/) (install path: /app/gpaw)
1314

1415
## Volumes
1516

@@ -25,4 +26,5 @@ It uses the following:
2526

2627
## Usage
2728

28-
TODO
29+
30+
So you can either use the images to run gpaw directy or use the images to develop python code to call GPAW (which is a python package).

0 commit comments

Comments
 (0)