Skip to content

uukhas/ls-scan

Repository files navigation

A program to run FlexibleSUSY over sets of model parameters.

Usage

In order to use, run:

./scan  -D <number of dots> \
        -P <number of threads> \
        -S <model scenario> \
        -X <path to executable> \

It will store the output to a database file.

Commands

-D <number of dots>:
Amount of points to be evaluated. It is overwritten by static ndots attribute (if exists) of model scenario.
-P <number of threads>:
A number of parallel versions to launch.
-S <model scenario>:
A path for model scenario script (a python program). The file will owerride the one in a cwd.
-X <path to executable>:
A path to FlexibleSUSY/models/MODEL/run_MODEL.x

How to write scenario?

LesHouches.in.MODEL scenario.py Commentaries
Block A
 1 1e+2

Block B
 1 2 2e+2
class Scenario:

  ndots = 100

  def __init__(self, i):

    self.input = dict(
      A_1 = 1,
      B_1_2 = 1e-3,
    )

    self.output = [
      'C_3',
      'D_4_5'
    ]
ndots: optional
Override the value, defined by -D.
input:
Specify, which values should be changed in the input Les Houches file before the run of FlexibleSUSY.
output:
Specify, which values should be stored from the output Les Houches file, created after the run of FlexibleSUSY.
LesHouches.out.MODEL
Block C
 3 3e+2

Block D
 4 5 4e+2

Or use dictionary for making synonyms:

self.output = dict(
  C_3 = 'name 1',
  D_4_5 = 'name 2'
)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published