Skip to content

Commit

Permalink
mostly docs; fix install script location
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhaute committed Jul 28, 2024
1 parent 2e55f67 commit 1146d66
Show file tree
Hide file tree
Showing 9 changed files with 121 additions and 1,141 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ order:
config.yaml` one). See if there are any clues. If it has contents which you don't
understand, open an issue. If there's seemingly nothing there, go to step 2.
2. Check Parsl's log file. This can be found in the current working directory, under
`psiflow_internal/parsl.log`. If it's a long file, search for any errors using `error`,
`Error`, `ERROR`, ... If you find anything suspicious but do not know how to solve it,
`psiflow_internal/parsl.log`. If it's a long file, search for any errors using `Error`
or `ERROR`. If you find anything suspicious but do not know how to solve it,
open an issue.
3. Check the output files of individual ML training, QM singlepoints, or i-PI molecular
dynamics runs. These can be found under `psiflow_internal/000/task_logs/*`.
Expand Down
4 changes: 0 additions & 4 deletions configs/hortense.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ ModelEvaluation:
cores_per_worker: 12
gpu: True
max_simulation_time: 20
env_vars:
KMP_BLOCKTIME: "1"
slurm:
partition: "gpu_rome_a100"
account: "2023_070"
Expand All @@ -21,8 +19,6 @@ ModelTraining:
cores_per_worker: 12
gpu: true
max_training_time: 40
env_vars:
OMP_PROC_BIND: "spread"
slurm:
partition: "gpu_rome_a100"
account: "2023_070"
Expand Down
3 changes: 1 addition & 2 deletions configs/lumi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ ModelEvaluation:
ModelTraining:
cores_per_worker: 7
gpu: true
env_vars:
OMP_PROC_BIND: "spread"
multigpu: true
slurm:
partition: "standard-g"
account: "project_465001125"
Expand Down
1 change: 1 addition & 0 deletions docs/free_energy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TODO
613 changes: 58 additions & 555 deletions docs/index.md

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions docs/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh

curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
export MAMBA_ROOT_PREFIX=$(pwd) # optional, defaults to ~/micromamba

eval "$(./bin/micromamba shell hook -s posix)"
micromamba activate
micromamba create -n _psiflow_env -y python=3.10 pip ndcctools=7.11.1 -c conda-forge
micromamba activate _psiflow_env
pip install git+https://github.com/molmod/psiflow

# create activate.sh
echo 'ORIGDIR=$PWD' >>activate.sh # prevent variable substitution
echo "cd $(pwd)" >>activate.sh
echo "export MAMBA_ROOT_PREFIX=$(pwd)" >>activate.sh
echo 'eval "$(./bin/micromamba shell hook -s posix)"' >>activate.sh
echo "micromamba activate _psiflow_env" >>activate.sh
echo 'cd $ORIGDIR' >>activate.sh # prevent variable substitution
617 changes: 39 additions & 578 deletions docs/learning.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/submit/lumi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ ModelEvaluation:
ModelTraining:
cores_per_worker: 7
gpu: true
multigpu: true
slurm:
partition: "standard-g"
account: "project_465001125"
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ nav:
- QM calculations: reference.md
- ML potentials: models.md
- online learning: learning.md
- free energy calculations: free_energy.md
- setup & configuration: configuration.md

plugins:
Expand Down

0 comments on commit 1146d66

Please sign in to comment.