-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from paulsaxe/main
Adding Docker build and release, plus code to use it.
- Loading branch information
Showing
7 changed files
with
112 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Docker | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
docker: | ||
name: Docker | ||
uses: molssi-seamm/devops/.github/workflows/Docker.yaml@main | ||
with: | ||
image : molssi-seamm/seamm-psi4 | ||
description: An Psi4 executable packaged for use with SEAMM or standalone | ||
platforms: linux/amd64 | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM molssi/mamba141 | ||
|
||
COPY ./environment.yml /root/environment.yml | ||
|
||
RUN mamba env update -f /root/environment.yml | ||
|
||
WORKDIR /home | ||
CMD ["psi4", "mopac.dat"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: base | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python | ||
- geometric | ||
- psi4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Configuration options for how to run Psi4 | ||
|
||
[local] | ||
# The code to use. This may maybe more than just the name of the code, and variables in braces | ||
# {} will be expanded. For example: | ||
# code = mpiexec -np {NTASKS} lmp_mpi | ||
# would expand {NTASKS} to the number of tasks and run the command | ||
code = psi4 -n {NTASKS} | ||
|
||
# The type of local installation to use. Options are: | ||
# conda: Use a conda environment | ||
# modules: Use the modules system | ||
# local: Use a local installation | ||
# By default SEAMM installs Psi4 using conda. | ||
installation = conda | ||
|
||
# The Conda environment to use. This is the name or full path of the environment to use. | ||
conda-environment = seamm-psi4 | ||
|
||
# The modules to load to run Psi4. This is a list of strings, each of which | ||
# is a module to load. For example, to load the modules psi4 and openmpi, | ||
# you would use: | ||
# modules = psi4 openmpi | ||
# modules = | ||
|
||
[docker] | ||
# The code to use. This may maybe more than just the name of the code, and variables in braces | ||
# {} will be expanded. For example: | ||
# code = mpiexec -np {NTASKS} lmp_mpi | ||
# would expand {NTASKS} to the number of tasks and run the command | ||
code = psi4 -n {NTASKS} | ||
|
||
# The name and location of the Docker container to use, optionally with the version | ||
container = ghcr.io/molssi-seamm/seamm-psi4:{version} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters