diff --git a/dev/Manifest.toml b/dev/Manifest.toml
index 93f3a9a4..f0555aa0 100644
--- a/dev/Manifest.toml
+++ b/dev/Manifest.toml
@@ -87,11 +87,11 @@ version = "4.1.1"
[[deps.DFControl]]
deps = ["ANSIColoredPrinters", "BinDeps", "CodeTracking", "Colors", "Crayons", "Dates", "DelimitedFiles", "Distributed", "HTTP", "JLD2", "JSON3", "LinearAlgebra", "LoggingExtras", "Media", "Parameters", "Pkg", "PrecompileTools", "ProgressMeter", "REPL", "Reexport", "RemoteHPC", "Requires", "Sockets", "StaticArrays", "StructTypes", "ThreadPools", "UUIDs", "UnitfulAtomic", "fzf_jll", "spglib_jll"]
-git-tree-sha1 = "0b8abf037c4f9c7c403e3a47d20ea86b632377b4"
-repo-rev = "bbf9a8c7f90f3b4bbe86d5defe3a443707b30ee9"
+git-tree-sha1 = "b007db898b4a0a9ff80ceca26cbadc5eaf3b7c17"
+repo-rev = "fe2fd6fb9129a8f3569920fa828fb336f547ca6f"
repo-url = "https://github.com/louisponet/DFControl.jl.git"
uuid = "1e31e15d-4957-550d-a244-318eced754ae"
-version = "0.5.32"
+version = "0.6.1"
[[deps.DataStructures]]
deps = ["Compat", "InteractiveUtils", "OrderedCollections"]
diff --git a/dev/api/index.html b/dev/api/index.html
index fe38fddf..e8d8b269 100644
--- a/dev/api/index.html
+++ b/dev/api/index.html
@@ -1,2 +1,2 @@
-
API reference · DFControl.jl This page provides a plain list of all inline documention associated with functions, structs and macros in DFControl. Note that this list is neither structured, complete nor particularly clean, so it only provides rough orientation at the moment. The best reference is the code itself.
Theme
documenter-light documenter-dark
This document was generated with Documenter.jl version 0.27.3 on Tuesday 12 September 2023 . Using Julia version 1.7.3.
+API reference · DFControl.jl This page provides a plain list of all inline documention associated with functions, structs and macros in DFControl. Note that this list is neither structured, complete nor particularly clean, so it only provides rough orientation at the moment. The best reference is the code itself.
Theme
documenter-light documenter-dark
This document was generated with Documenter.jl version 0.27.3 on Tuesday 12 September 2023 . Using Julia version 1.7.3.
diff --git a/dev/guide/advanced_tutorial.ipynb b/dev/guide/advanced_tutorial.ipynb
index 543c5231..2a7b60ee 100644
--- a/dev/guide/advanced_tutorial.ipynb
+++ b/dev/guide/advanced_tutorial.ipynb
@@ -22,7 +22,7 @@
{
"output_type": "execute_result",
"data": {
- "text/plain": "+----------------------------JOB----------------------------+\n| name: Si |\n| dir: /home/runner/work/DFControl.jl/DFControl.jl/job |\n| version: 0 |\n| server: fv-az404-815, alive |\n| versions: |\n| state: Unknown |\n+-----------------------------------------------------------+\n(scheduled, not scheduled)\n\tscf\n\tbands\n"
+ "text/plain": "+----------------------------JOB----------------------------+\n| name: Si |\n| dir: /home/runner/work/DFControl.jl/DFControl.jl/job |\n| version: 0 |\n| server: fv-az1259-401, alive |\n| versions: |\n| state: Unknown |\n+-----------------------------------------------------------+\n(scheduled, not scheduled)\n\tscf\n\tbands\n"
},
"metadata": {},
"execution_count": 1
@@ -65,7 +65,7 @@
{
"output_type": "execute_result",
"data": {
- "text/plain": "+--------------------------------------------JOB--------------------------------------------+\n| name: Si |\n| dir: /home/runner/work/DFControl.jl/DFControl.jl/src/../docs/src/assets/Job2 |\n| version: 0 |\n| server: fv-az404-815, alive |\n| versions: |\n| last submission: 2023-09-12T13:05:04 |\n| state: Unknown |\n+-------------------------------------------------------------------------------------------+\n(scheduled, not scheduled)\n\tscf\n\tbands\n"
+ "text/plain": "+--------------------------------------------JOB--------------------------------------------+\n| name: Si |\n| dir: /home/runner/work/DFControl.jl/DFControl.jl/src/../docs/src/assets/Job2 |\n| version: 0 |\n| server: fv-az1259-401, alive |\n| versions: |\n| last submission: 2023-09-12T13:33:40 |\n| state: Unknown |\n+-------------------------------------------------------------------------------------------+\n(scheduled, not scheduled)\n\tscf\n\tbands\n"
},
"metadata": {},
"execution_count": 2
@@ -206,7 +206,7 @@
{
"output_type": "execute_result",
"data": {
- "text/plain": "+--------------------------------------------JOB--------------------------------------------+\n| name: Si |\n| dir: /home/runner/work/DFControl.jl/DFControl.jl/src/../docs/src/assets/Job2 |\n| version: 0 |\n| server: fv-az404-815, alive |\n| versions: |\n| last submission: 2023-09-12T13:05:04 |\n| state: Unknown |\n+-------------------------------------------------------------------------------------------+\n(scheduled, not scheduled)\n\tscf\n\tbands\n\tnscf\n\tprojwfc\n"
+ "text/plain": "+--------------------------------------------JOB--------------------------------------------+\n| name: Si |\n| dir: /home/runner/work/DFControl.jl/DFControl.jl/src/../docs/src/assets/Job2 |\n| version: 0 |\n| server: fv-az1259-401, alive |\n| versions: |\n| last submission: 2023-09-12T13:33:40 |\n| state: Unknown |\n+-------------------------------------------------------------------------------------------+\n(scheduled, not scheduled)\n\tscf\n\tbands\n\tnscf\n\tprojwfc\n"
},
"metadata": {},
"execution_count": 6
@@ -242,9 +242,9 @@
" [1] error(s::String)\n",
" @ Base ./error.jl:33\n",
" [2] qe_parse_projwfc(filename::IOBuffer)\n",
- " @ DFControl.FileIO ~/work/DFControl.jl/DFControl.jl/src/FileIO/qe.jl:791\n",
+ " @ DFControl.FileIO ~/work/DFControl.jl/DFControl.jl/src/FileIO/qe.jl:793\n",
" [3] qe_parse_projwfc_output(::IOBuffer, ::Vararg{Any})\n",
- " @ DFControl.FileIO ~/work/DFControl.jl/DFControl.jl/src/FileIO/qe.jl:709\n",
+ " @ DFControl.FileIO ~/work/DFControl.jl/DFControl.jl/src/FileIO/qe.jl:711\n",
" [4] qe_parse_output(::Calculation{QE}, ::IOBuffer, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Vector{Pair{String}}, Tuple{Symbol}, NamedTuple{(:parse_funcs,), Tuple{Vector{Pair{String}}}}})\n",
" @ DFControl.FileIO ~/work/DFControl.jl/DFControl.jl/src/FileIO/qe.jl:40\n",
" [5] readoutput(::Calculation{QE}, ::IOBuffer, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Vector{Pair{String}}, Tuple{Symbol}, NamedTuple{(:parse_funcs,), Tuple{Vector{Pair{String}}}}})\n",
@@ -319,148 +319,148 @@
"\n",
"\n",
"\n",
- " \n",
+ " \n",
" \n",
" \n",
" \n",
- "\n",
+ "\n",
"\n",
- " \n",
+ " \n",
" \n",
" \n",
" \n",
- "\n",
+ "\n",
"\n",
- " \n",
+ " \n",
" \n",
" \n",
" \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
" \n"
],
"image/svg+xml": [
"\n",
"\n",
"\n",
- " \n",
+ " \n",
" \n",
" \n",
" \n",
- "\n",
+ "\n",
"\n",
- " \n",
+ " \n",
" \n",
" \n",
" \n",
- "\n",
+ "\n",
"\n",
- " \n",
+ " \n",
" \n",
" \n",
" \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
- " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
" \n"
]
},
@@ -513,7 +513,7 @@
"└ 20.0 set to: 40.0\n",
"┌ Warning: ecutwfc could not be found in allowed flags,\n",
"│ please set it manually using .flags[ecutwfc] = 40.0\n",
- "└ @ DFControl.Calculations ~/work/DFControl.jl/DFControl.jl/src/Calculations/calculation.jl:311\n"
+ "└ @ DFControl.Calculations ~/work/DFControl.jl/DFControl.jl/src/Calculations/calculation.jl:316\n"
]
},
{
@@ -586,7 +586,7 @@
{
"output_type": "execute_result",
"data": {
- "text/plain": "+--------------------------------------------JOB--------------------------------------------+\n| name: Si |\n| dir: /home/runner/work/DFControl.jl/DFControl.jl/src/../docs/src/assets/Job2 |\n| version: 0 |\n| server: fv-az404-815, alive |\n| versions: |\n| last submission: 2023-09-12T13:05:04 |\n| state: Unknown |\n+-------------------------------------------------------------------------------------------+\n(scheduled, not scheduled)\n\tscf\n\tbands\n\tnscf\n\tprojwfc\n"
+ "text/plain": "+--------------------------------------------JOB--------------------------------------------+\n| name: Si |\n| dir: /home/runner/work/DFControl.jl/DFControl.jl/src/../docs/src/assets/Job2 |\n| version: 0 |\n| server: fv-az1259-401, alive |\n| versions: |\n| last submission: 2023-09-12T13:33:40 |\n| state: Unknown |\n+-------------------------------------------------------------------------------------------+\n(scheduled, not scheduled)\n\tscf\n\tbands\n\tnscf\n\tprojwfc\n"
},
"metadata": {},
"execution_count": 10
diff --git a/dev/guide/advanced_tutorial/index.html b/dev/guide/advanced_tutorial/index.html
index 7a7e027c..d03e4036 100644
--- a/dev/guide/advanced_tutorial/index.html
+++ b/dev/guide/advanced_tutorial/index.html
@@ -5,7 +5,7 @@
| name: Si |
| dir: /home/runner/work/DFControl.jl/DFControl.jl/job |
| version: 0 |
-| server: fv-az404-815, alive |
+| server: fv-az1259-401, alive |
| versions: |
| state: Unknown |
+-----------------------------------------------------------+
@@ -16,9 +16,9 @@
| name: Si |
| dir: /home/runner/work/DFControl.jl/DFControl.jl/src/../docs/src/assets/Job2 |
| version: 0 |
-| server: fv-az404-815, alive |
+| server: fv-az1259-401, alive |
| versions: |
-| last submission: 2023-09-12T13:05:04 |
+| last submission: 2023-09-12T13:33:40 |
| state: Unknown |
+-------------------------------------------------------------------------------------------+
(scheduled, not scheduled)
@@ -44,9 +44,9 @@
| name: Si |
| dir: /home/runner/work/DFControl.jl/DFControl.jl/src/../docs/src/assets/Job2 |
| version: 0 |
-| server: fv-az404-815, alive |
+| server: fv-az1259-401, alive |
| versions: |
-| last submission: 2023-09-12T13:05:04 |
+| last submission: 2023-09-12T13:33:40 |
| state: Unknown |
+-------------------------------------------------------------------------------------------+
(scheduled, not scheduled)
@@ -58,82 +58,82 @@
plot(job, -10, 1)
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
As we can see, again DFControl identifies the additional information that is now present in the job, and uses it to display in the plot.
In the demonstrated case we see that everything went according to plan, however, often things need to be changed in a trial and error way until the desired results are found.
On common occurence is that calculation flags have to be set, or changed. This can be done in two ways
job[:ecutwfc] = 40.0
40.0
will go through all the calculations of the job and set the flag if it is allowed, i.e. the flag will not be set in the projwfc calculation since it makes no sense.
job["bands"][:nbnd] = 30
30
This will set a flag for one specific calculation, again checking whether the flag is valid, and the type will be converted to the correct one.
In order to quickly specify what calculations to schedule and which not, one can use
Jobs.set_flow!(job, "" => false, "scf" => true)
+--------------------------------------------JOB--------------------------------------------+
| name: Si |
| dir: /home/runner/work/DFControl.jl/DFControl.jl/src/../docs/src/assets/Job2 |
| version: 0 |
-| server: fv-az404-815, alive |
+| server: fv-az1259-401, alive |
| versions: |
-| last submission: 2023-09-12T13:05:04 |
+| last submission: 2023-09-12T13:33:40 |
| state: Unknown |
+-------------------------------------------------------------------------------------------+
(scheduled, not scheduled)
@@ -141,4 +141,4 @@
bands
nscf
projwfc
-
As we can see, only the scf and nscf calculations are scheduled to run now, this is because for each of the pairs in the arguments of set_flow!
, every calculation inside the job for which the string occurs in the name will be set to run or not depending on the Bool.
Theme
documenter-light documenter-dark
This document was generated with Documenter.jl version 0.27.3 on Tuesday 12 September 2023 . Using Julia version 1.7.3.