Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOF-7445: add bands.x templates to process up and down spins separately #127

Merged
merged 1 commit into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions assets/espresso/bands_spin_dn.j2.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
&BANDS
prefix = '__prefix__'
outdir = {% raw %}'{{ JOB_WORK_DIR }}/outdir'{% endraw %}
filband = {% raw %}'{{ JOB_WORK_DIR }}/bands_dn.dat'{% endraw %}
spin_component = 2
no_overlap = .true.
/

8 changes: 8 additions & 0 deletions assets/espresso/bands_spin_up.j2.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
&BANDS
prefix = '__prefix__'
outdir = {% raw %}'{{ JOB_WORK_DIR }}/outdir'{% endraw %}
filband = {% raw %}'{{ JOB_WORK_DIR }}/bands_up.dat'{% endraw %}
spin_component = 1
no_overlap = .true.
/

16 changes: 16 additions & 0 deletions executables/espresso/bands.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,19 @@ flavors:
- standard_output
applicationName: espresso
executableName: bands.x

bands_spin_up:
input:
- name: bands_spin_up.in
monitors:
- standard_output
applicationName: espresso
executableName: bands.x

bands_spin_dn:
input:
- name: bands_spin_dn.in
monitors:
- standard_output
applicationName: espresso
executableName: bands.x
2 changes: 1 addition & 1 deletion src/js/data/templates.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/js/data/tree.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions templates/espresso/bands.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,15 @@
contextProviders: []
applicationName: espresso
executableName: bands.x

- content: !readFile 'assets/espresso/bands_spin_up.j2.in'
name: bands_spin_up.in
contextProviders: []
applicationName: espresso
executableName: bands.x

- content: !readFile 'assets/espresso/bands_spin_dn.j2.in'
name: bands_spin_dn.in
contextProviders: []
applicationName: espresso
executableName: bands.x
Loading