-
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 #29 from paulsaxe/main
Updated for new install process, supporting Conda and Docker
- Loading branch information
Showing
3 changed files
with
215 additions
and
32 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
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 |
---|---|---|
@@ -1,35 +1,71 @@ | ||
# 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: | ||
[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-mopac:{version} | ||
|
||
# In addition, you can specify the platform to use. This is useful on e.g. Macs with | ||
# app silicon (M1, M3...) where the default platform is linux/arm64 but some containers | ||
# are only available for linux/amd64. | ||
|
||
platform = linux/amd64 | ||
|
||
[local] | ||
# The type of local installation to use. Options are: | ||
# conda: Use a conda environment | ||
# conda: Use a conda environment | ||
# modules: Use the modules system | ||
# local: Use a local installation | ||
# local: Use a local installation | ||
# docker: Use a Docker container | ||
# 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. | ||
# The command line to use, which should start with the executable followed by any options. | ||
# 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. | ||
# For a 'local' installation, the command line should include the full path to the | ||
# executable or it should be in the path. | ||
|
||
code = psi4 -n {NTASKS} | ||
|
||
######################### conda section ############################ | ||
# The full path to the conda executable: | ||
|
||
# conda = | ||
|
||
# The Conda environment to use. This is either the name or full path. | ||
|
||
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 section ############################ | ||
# The modules to load to run Psi4, as a list of strings. | ||
# 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} | ||
######################### local section ############################ | ||
# The full path to the Psi4 executable should be in the 'code' option. | ||
|
||
# The name and location of the Docker container to use, optionally with the version | ||
container = ghcr.io/molssi-seamm/seamm-psi4:{version} | ||
platform = linux/amd64 | ||
######################### docker section ############################ | ||
# The name and location of the Docker container to use, optionally with the version. | ||
# {version} will be expanded to the version of the plug-in. | ||
|
||
# container = ghcr.io/molssi-seamm/seamm-mopac:{version} | ||
|
||
# In addition, you can specify the platform to use. This is useful on e.g. Macs with | ||
# app silicon (M1, M3...) where the default platform is linux/arm64 but some containers | ||
# are only available for linux/amd64. | ||
|
||
# platform = linux/amd64 |
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