Skip to content

Commit

Permalink
Add phonopy to merlin CPU machine (#24)
Browse files Browse the repository at this point in the history
Adding phonopy@merlin-cpu and some readme update.
The code is added as containerized code run by Apptainer.
  • Loading branch information
mikibonacci authored Jul 4, 2024
1 parent 1024325 commit c6e1419
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ The easiest way to set up a computer and code is to use the resource setup widge

<!-- Placeholder for the gif screen record -->


## Contributing to this repository

We highly appreciate help in keeping the configurations up to date and adding new simulation codes & computers.
Expand All @@ -32,6 +31,6 @@ We highly appreciate help in keeping the configurations up to date and adding ne
In order to test if your configuration and file/folder structure is correct, you can generate the JSON files locally:

```bash
pip install -r scripts/requirements.txt
python scripts/generate_json.py
pip install -r gh_page/requirements.txt
python gh_page/generate_json.py
```
2 changes: 1 addition & 1 deletion gh_page/resource.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
}
},
"required": ["label", "description", "default_calc_job_plugin", "filepath_executable", "prepend_text", "append_text"],
"additionalProperties": false,
"additionalProperties": true,
"title": "Code"
}
}
Expand Down
12 changes: 12 additions & 0 deletions merlin.psi.ch/cpu/codes/phonopy-2.20.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
label: 'phonopy-2.20.0'
computer: merlin6-cpu
default_calc_job_plugin: phonopy.phonopy
description: The phonopy code containerized mainly for merlin-psi cluster, CPU partition.
engine_command: apptainer exec {image_name}
filepath_executable: /opt/conda/bin/phonopy
image_name: docker://mikibonacci/phonopy-2.20.0:amd64
prepend_text: export APPTAINER_BINDPATH=$PWD
append_text: ''
use_double_quotes: false
wrap_cmdline_params: false

0 comments on commit c6e1419

Please sign in to comment.