-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs to include quickstart, installation, and configuration in…
…structions
- Loading branch information
Showing
3 changed files
with
75 additions
and
16 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,22 @@ | ||
Configuration | ||
------------- | ||
For a detailed guide to configuring Maize, please see the `maize documentation <https://molecularai.github.io/maize/docs/userguide.html#configuring-workflows>`_ | ||
and the `maize-contrib documentation <https://molecularai.github.io/maize-contrib/docking.html#Configuration>`_. | ||
|
||
By default, Maize looks for `$XDG_CONFIG_HOME/maize.toml` (`~/.config/maize.toml`) for configuration information. To set up Maize to run through slurm, run | ||
|
||
.. code-block:: bash | ||
export XDG_CONFIG_HOME=~/.config | ||
Then create `~/.config/maize.toml` containing the following | ||
|
||
.. code-block:: toml | ||
system = "slurm" # Can be one of {'cobalt', 'flux', 'local', 'lsf', 'pbspro', 'rp', 'slurm'} | ||
max_jobs = 100 # The maximum number of jobs that can be submitted by a node at once | ||
queue = "gpu" #CHANGEME to your desired GPU queue | ||
launcher = "srun" # The launcher to use for the command, usually one of {'srun', 'mpirun', 'mpiexec'} | ||
walltime = "24:00:00" # Job walltime limit, shorter times may improve queueing times | ||
Now when you execute a Maize workflow, it will submit jobs to the slurm scheduler. |
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,29 @@ | ||
Installation | ||
------------ | ||
For a basic installation, simply clone this repository and run: | ||
|
||
.. code-block:: bash | ||
git clone https://github.com/fjclark/maize-biosimspace.git | ||
cd maize-biosimspace | ||
mamba env create -f env-users.yml | ||
mamba activate maize-biosimspace | ||
pip install --no-deps ./ | ||
Ensure that the required AMBER, GROMACS, and NAMD executables are available in your environment if you plan to use the relevant nodes. | ||
|
||
If you want to keep up-to-date with the latest changes to the core, clone `maize <https://github.com/MolecularAI/maize>`_, switch to the directory, and run (in the same conda environment): | ||
|
||
.. code-block:: bash | ||
pip install --no-deps ./ | ||
If you plan on developing, you should use ``env-dev.yml`` instead and use the ``-e`` flag for ``pip``. | ||
|
||
.. code-block:: bash | ||
git clone https://github.com/fjclark/maize-biosimspace.git | ||
cd maize-biosimspace | ||
mamba env create -f env-dev.yml | ||
mamba activate maize-biosimspace | ||
pip install -e --no-deps ./ |