A program to run FlexibleSUSY
over sets of model parameters.
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.
- -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
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'
] |
|
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'
) |