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

Rename *Workflow to * #301

Merged
merged 4 commits into from
Nov 19, 2023
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
6 changes: 3 additions & 3 deletions docs/src/run/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ and submit it to a workload manager like [Slurm](https://www.schedmd.com/).
However, users can also request an interactive session and run code Julia REPL.

```julia-repl
julia> using Express.EquationOfStateWorkflow.Recipes
julia> using Express.EquationOfState.Recipes

julia> using QuantumESPRESSOExpress

Expand All @@ -28,8 +28,8 @@ julia> workflow = buildworkflow("eos.toml");
julia> run!(workflow);
```

For phonon and the QHA workflow, run `using Express.PhononWorkflow.Recipes`
and `using Express.QuasiHarmonicApproxWorkflow.Recipes` in the first step.
For phonon and the QHA workflow, run `using Express.Phonon.Recipes`
and `using Express.QuasiHarmonicApprox.Recipes` in the first step.

In an EOS workflow, the final results include outputs returned by Quantum ESPRESSO, a list
of raw data (volume-energy pairs), and a fitted EOS. If something goes wrong, the workflow
Expand Down
2 changes: 1 addition & 1 deletion docs/src/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ workflow (an equation of state workflow in this case). And after the following J
commands:

```julia
using Express.PhononWorkflow.Recipes
using Express.Phonon.Recipes
using QuantumESPRESSOExpress

wf = buildworkflow("phonon.yaml")
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module ConvergenceTestWorkflow
module ConvergenceTest

include("Config.jl")
include("actions.jl")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using ExpressBase.Recipes: Recipe
using SimpleWorkflows: Workflow, run!

using ..Config: StaticConfig, expand
using ..ConvergenceTestWorkflow:
using ..ConvergenceTest:
DownloadPotentials,
CreateInput,
WriteInput,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module EquationOfStateWorkflow
module EquationOfState

include("Config.jl")
include("actions.jl")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using ExpressBase.Recipes: Recipe
using SimpleWorkflows: Workflow, run!

using ..Config: StaticConfig, expand
using ..EquationOfStateWorkflow:
using ..EquationOfState:
DownloadPotentials,
ComputeVolume,
CreateInput,
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions src/Express.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ module Express

# include("SelfConsistentField.jl")
# include("BandStructure.jl")
include("ConvergenceTestWorkflow/ConvergenceTestWorkflow.jl")
include("EquationOfStateWorkflow/EquationOfStateWorkflow.jl")
include("ConvergenceTest/ConvergenceTest.jl")
include("EquationOfState/EquationOfState.jl")
# include("StaticElasticity/StaticElasticity.jl")
include("PhononWorkflow/PhononWorkflow.jl")
# include("QuasiHarmonicApproxWorkflow/QuasiHarmonicApproxWorkflow.jl")
include("Phonon/Phonon.jl")
# include("QuasiHarmonicApprox/QuasiHarmonicApprox.jl")

end
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module PhononWorkflow
module Phonon

include("Config.jl")
include("actions.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/PhononWorkflow/Recipes.jl → src/Phonon/Recipes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ using SimpleWorkflows: Workflow, run!
using Thinkers: Thunk, setargs!

using ..Config: StaticConfig, expand
using ..PhononWorkflow: DownloadPotentials, CreateInput, WriteInput, RunCmd
using ..Phonon: DownloadPotentials, CreateInput, WriteInput, RunCmd

struct PhononDispersionRecipe <: Recipe
config
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module QuasiHarmonicApproxWorkflow
module QuasiHarmonicApprox

include("Config.jl")
include("actions.jl")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using ExpressBase.Recipes: Recipe
using EasyJobsBase: Job
using SimpleWorkflows: Workflow, run!, →

using ..QuasiHarmonicApproxWorkflow: MakeInput, CalculateThermodyn, Plot
using ..QuasiHarmonicApprox: MakeInput, CalculateThermodyn, Plot

import ...Express: jobify

Expand Down
6 changes: 3 additions & 3 deletions test/QuasiHarmonicApproxWorkflow.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module QuasiHarmonicApproxWorkflow
module QuasiHarmonicApprox

using ExpressBase.Files: load
using Express.QuasiHarmonicApproxWorkflow: QuasiHarmonicApproximation
using Express.QuasiHarmonicApproxWorkflow.Config: ExpandConfig
using Express.QuasiHarmonicApprox: QuasiHarmonicApproximation
using Express.QuasiHarmonicApprox.Config: ExpandConfig
using Test

@testset "Load a configuration file: silicon" begin
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ using Express
using Test

@testset "Express.jl" begin
include("QuasiHarmonicApproxWorkflow.jl")
include("QuasiHarmonicApprox.jl")
end
Loading