Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • wslda wslda
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wtools
  • wsldawslda
  • Wiki
  • Campaign of calculations

Campaign of calculations · Changes

Page history
Update Campaign of calculations authored Feb 20, 2026 by Gabriel Wlazłowski's avatar Gabriel Wlazłowski
Hide whitespace changes
Inline Side-by-side
Campaign-of-calculations.md
View page @ b91fa76f
# Input file and repeated tags # Input file and repeated tags
If in the `input` file, the same tag appears more than once, the code will apply the value that appears as last. For example: If the same tag appears more than once in the input file, the code will apply the last value. For example:
``` bash ``` bash
temperature 0.01 # requested temperature in units of eF, default T=0 temperature 0.01 # requested temperature in units of eF, default T=0
energyconveps 1.0e-6 # energy convergence epsilon energyconveps 1.0e-6 # energy convergence epsilon
...@@ -15,8 +15,8 @@ temperature 0.03 # ... AND AGAIN TEMPERATURE ... THIS ONE WILL ...@@ -15,8 +15,8 @@ temperature 0.03 # ... AND AGAIN TEMPERATURE ... THIS ONE WILL
``` ```
Here, the `temperature` is provided three times, and finally, the value `0.03` will be used in the calculation. Here, the `temperature` is provided three times, and finally, the value `0.03` will be used in the calculation.
# Executing campaign of calculations # Executing a campaign of calculations
A common situation is when we want to execute a series of calculations for various input parameters. For example, let us consider the case where we want to repeat the same calculations for temperatures 0.01, 0.02, 0.03. We can do it within the single script as follows: A common situation is when we want to execute a series of calculations for various input parameters. For example, let us consider the case where we want to repeat the same calculations for temperatures 0.01, 0.02, and 0.03. We can do it within a single script as follows:
```bash ```bash
# input.txt contains common settings for all runs # input.txt contains common settings for all runs
...@@ -28,7 +28,7 @@ mpirun -np 20 ./st-wslda-2d input.txt ...@@ -28,7 +28,7 @@ mpirun -np 20 ./st-wslda-2d input.txt
# T=0.02 # T=0.02
echo "temperature 0.02" >> input.txt echo "temperature 0.02" >> input.txt
echo "outprefix T0.02" >> input.txt echo "outprefix T0.02" >> input.txt
# I can use previous result as a starting point # I can use the previous result as a starting point
echo "inprefix T0.01" >> input.txt echo "inprefix T0.01" >> input.txt
echo "inittype 5" >> input.txt echo "inittype 5" >> input.txt
mpirun -np 20 ./st-wslda-2d input.txt mpirun -np 20 ./st-wslda-2d input.txt
...@@ -36,7 +36,7 @@ mpirun -np 20 ./st-wslda-2d input.txt ...@@ -36,7 +36,7 @@ mpirun -np 20 ./st-wslda-2d input.txt
# T=0.03 # T=0.03
echo "temperature 0.03" >> input.txt echo "temperature 0.03" >> input.txt
echo "outprefix T0.03" >> input.txt echo "outprefix T0.03" >> input.txt
# I can use previous result as a starting point # I can use the previous result as a starting point
echo "inprefix T0.02" >> input.txt echo "inprefix T0.02" >> input.txt
echo "inittype 5" >> input.txt echo "inittype 5" >> input.txt
mpirun -np 20 ./st-wslda-2d input.txt mpirun -np 20 ./st-wslda-2d input.txt
......
Clone repository

Content of Documentation
Official webpage
W-BSK Toolkit