-
Notifications
You must be signed in to change notification settings - Fork 28
Running
MPI
Pthreads
Total number of measurements
TBA
TBA
TBA
We provide a python script that generates directories, input files and batch scripts for a cooldown. By default this script and the provided template input files are configured for DCA(+) calculations of the 2D single-band Hubbard model with on-site Coulomb interaction U and fixed density d.
-
Create a work directory that contains:
- the script cooldown.py,
- the input templates input_sp.json.in and input_tp.json.in,
- and the binaries main_dca and main_analysis.
-
Configure input_sp.json.in and input_tp.json.in:
- Provide the parameter groups for your selected build options (cluster solver and lattice model).
- Set the simulation parameters that are not specified via PLACEHOLDERS (capitalized string values) by
cooldown.py
. - If threaded Monte Carlo integration has been enabled, choose an appropriate number of walker and accumulator threads according to your system's specification.
-
Create a batch script template in your work directory.
The file should contain the placeholder JOBS, which will be substituted with the schedule ofdca
/analysis
runs for the cooldown (see example above). In addition, the following placeholders can be used:-
APPLICATION
: dca | analysis -
HUBBARDU
: value of the on-site Coulomb interaction U -
DENS
: value of the density d -
SIZE
: DCA cluster size
We proivde batch script examples for SLURM (GPU, multi-core), PBS and local machines.
-
-
Configure the EDIT-block of cooldown.py:
-
batch_tmpl
: name (including path) of your patch script template -
run_command
: the command (including options) to run (MPI) programs, e.g.'mpirun -n 8'
- simulation parameters
-
-
Execute the python script with the option
dca
:python cooldown.py dca
-
Revise the generated batch script for the
dca
runs, adjust resources if necessary, and submit/execute it. -
When all dca jobs are finished, execute the python script with the option
analysis
:python cooldown.py analysis
-
Revise the generated batch script for the
analysis
runs, adjust resources if necessary, and submit/execute it.