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
  • Initialization of the st wslda solvers

Initialization of the st wslda solvers · Changes

Page history
Update Initialization of the st wslda solvers authored Feb 23, 2021 by Gabriel Wlazłowski's avatar Gabriel Wlazłowski
Hide whitespace changes
Inline Side-by-side
Initialization-of-the-st-wslda-solvers.md
View page @ 1d0eadd4
The `st-wslda` codes support the following initialization modes: The `st-wslda` codes support the following initialization modes:
```bash ```bash
inittype 0 # 0 - create uniform solution and start from it inittype 0 # 0 - create uniform solution and start from it
# 10 - read uniform solution from file `inprefix`/uniform.solution # 10 - read uniform solution from file `inprefix`/uniform.solution
# #
# 5 - start from st-wslda checkpoint, inprefix points to folder with checkpoint binary file # 5 - start from st-wslda checkpoint, inprefix points to folder with checkpoint binary file
...@@ -120,7 +120,27 @@ inittype 5 # 5 - start from st-wslda checkpoint, inprefix ...@@ -120,7 +120,27 @@ inittype 5 # 5 - start from st-wslda checkpoint, inprefix
inprefix test inprefix test
``` ```
**NOTE**: Present implementation does not allow for initializing higher dimensional calculations via checkpoint generated by lower-dimensional code, for example: 3D code cannot be initialized by checkpoint generated by 2D or 1D code. ## Using checkpoint generated by code of lower dimension
The Toolkit allows for initializing higher dimensional calculations via checkpoint generated by lower-dimensional code, for example, 3D code can be initialized by checkpoints generated by 2D or 1D code.
![rising-dim](uploads/a34ad26a27b5f4a77bb51ef1ea13b689/rising-dim.png)
In the case of resizing the checkpoint file, a message of this type will be provided on `stdout`:
```
# CODE: ST-WSLDA-3D
# VERSION: 2021.02.22
# LATTICE: 8 x 10 x 12
...
# INSPECTING CHECKPOINT FILE `test/checkpoint.dat`
# CHECKPOINT FOR 2D LATTICE: [NX,NY,NZ]=[8,10,12], [DX,DY,DZ]=[1.000,1.000,1.000], [LX,LY,LZ]=[8.000,10.000,12.000]
# !!! --- WARNING --- WARNING --- WARNING --- WARNING --- WARNING --- WARNING --- !!!
# Dimensonality of the lattice has changed!
# The code will change dimensionality of given checkpoint data to the new lattice.
# !!! --- ------- --- ------- --- ------- --- ------- --- ------- --- ------- --- !!!
# LOADING CHECKPOINT FILE `test/checkpoint.dat`
# CONVERTING CHECKPOINT FILE: 2D --> 3D
```
## Using checkpoint generated on a lattice with different resolution.
If provided checkpoint file is generated on a lattice with different resolution, than specified in `predefines.h`, then [automatic interpolation](Automatic interpolations) will be applied.
# Custom initialization of the solver # Custom initialization of the solver
The static codes can start the self-consistent process from arbitrary initial conditions. To activate this option user must specify in the input file: The static codes can start the self-consistent process from arbitrary initial conditions. To activate this option user must specify in the input file:
......
Clone repository
  • API version
  • Automatic interpolations
  • Auxiliary tools
  • Browsing the code
  • Broyden algorithm
  • C and CUDA
  • Campaign of calculations
  • Checking correctness of settings
  • Chemical potentials control
  • Code & Results quality
  • Common failures of static codes
  • Common failures of time dependent codes
  • Computation domain
  • Configuring GPU machine
  • Constraining densities and potentials
View All Pages