Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 952 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 952 Bytes

oncvpsp

The docker image for running the oncvpsp code to generate pseudopotentials.

How to use the image

The input for the oncvpsp code should be prepared first, check the oncvpsp source code for more information.

To run the oncvpsp code using this image with the input file input.in:

docker run -i -v $PWD:/workdir:rw -w /workdir -u $(id -u ${USER}):$(id -g ${USER}) ghcr.io/pspgen/oncvpsp:latest sh -c "oncvpsp.x < input.in > out"

How to build the image locally

First, clone the repository:

git clone https://github.com/pspgen/oncvpsp.git

Then, build the image:

cd build-machine
docker buildx bake -f docker-bake.hcl -f build.json --load

You'll see the image ghcr.io/pspgen/oncvpsp:latest in your local docker images by running docker images.

The versions of libraries and compilers are defined in the build.json.