Skip to content

Commit

Permalink
Edit TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
rkronberg committed Apr 24, 2023
1 parent 49c5f21 commit 7ab5988
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions hybrid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ at the PBE level using the hybrid PBE0 functional.
## Task 3.1 – Fixing the input files and submitting the calculation

1. Move to the `sscc-qc-inter/hybrid/` directory and edit the input files:
* We will now only run single-point energy calculations, so `RUN_TYPE` should
be `ENERGY`
* PBE0 replaces 25% of the PBE exchange with exact HF exchange
* To run all images efficiently at the same time, we will use the `FARMING`
program of CP2K
* The farming method is actually used "under the hood" also in the NEB and
normal mode calculations
* The input files `hybrid-*.inp` for each image are specified in the master
`farming.inp` input. We again request one Mahti node so each image will be
allocated 16 cores.
* The sub-jobs are just single-point energy calculations, so `RUN_TYPE` should
be `ENERGY`

```bash
$ cd ../hybrid
Expand All @@ -20,14 +27,7 @@ at the PBE level using the hybrid PBE0 functional.
$ grep TODO *.in* # fix all matches
```

2. To run all images efficiently at the same time, we will use the `FARMING`
program of CP2K
* The farming method is actually used "under the hood" also in the NEB and
normal mode calculations
* The input files `hybrid-*.inp` for each image are now specified in the master
`farming.inp` input. We again request one Mahti node so each image will be
allocated 16 cores.
3. Submit the job as usual with `sbatch cp2k.sh`.
2. Submit the job as usual with `sbatch cp2k.sh`.

## Task 3.2 – Analysis

Expand Down
2 changes: 1 addition & 1 deletion hybrid/dft.inc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
&XC
&XC_FUNCTIONAL
&PBE
SCALE_X 0.75 ! Include 75% PBE exchange
SCALE_X TODO ! Include 75% PBE exchange
SCALE_C 1.0 ! Include 100% PBE correlation
&END PBE
&END XC_FUNCTIONAL
Expand Down
2 changes: 1 addition & 1 deletion hybrid/farming.inp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
RUN_TYPE NONE ! Farming master inputs should have RUN_TYPE NONE
&END GLOBAL
&FARMING
NGROUPS 8 ! How many task groups to run simultaneously
NGROUPS TODO ! How many subjobs to run simultaneously
&JOB ! Input files for each subjob follows here
INPUT_FILE_NAME hybrid-1.inp
&END JOB
Expand Down
2 changes: 1 addition & 1 deletion hybrid/hybrid-7.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

&GLOBAL
PROJECT enol-hybrid-7 ! Project name, gets prepended to all output files
RUN_TYPE TODO ! Type of calculation
RUN_TYPE ENERGY ! Type of calculation
PRINT_LEVEL LOW ! Low verbosity
&END GLOBAL

Expand Down

0 comments on commit 7ab5988

Please sign in to comment.