Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMC-SOG
experiments
hybrid
Commits
acb2dcf2
Commit
acb2dcf2
authored
Nov 23, 2020
by
Jaime Arias
Browse files
update sbatch generator
parent
c7a563c9
Changes
1
Show whitespace changes
Inline
Side-by-side
scripts/sbatch_generator.py
View file @
acb2dcf2
...
...
@@ -384,14 +384,14 @@ if __name__ == '__main__':
# Default paths
paths
=
create_default_paths
()
# Timeout:
5
minutes
# Timeout:
10
minutes
timeout
=
10
# Number of nodes
nodes
=
[
1
]
nodes
=
[
2
]
# Number of threads
threads
=
[
1
,
16
]
threads
=
[
8
,
16
]
# Formulas to be verified
nb_formulas
=
200
...
...
@@ -399,36 +399,36 @@ if __name__ == '__main__':
# Models to be run
models
=
[{
"name"
:
"philo"
,
"instances"
:
[
"philo5"
,
"philo10"
,
"philo20"
]
},
{
"name"
:
"train"
,
"instances"
:
[
"train12"
,
"train24"
,
"train48"
,
"train96"
]
},
{
"name"
:
"tring"
,
"instances"
:
[
"tring5"
,
"tring10"
,
"tring20"
]
},
{
#
"name": "philo",
#
"instances": ["philo5", "philo10", "philo20"]
#
}, {
#
"name": "train",
#
"instances": ["train12", "train24", "train48", "train96"]
#
}, {
#
"name": "tring",
#
"instances": ["tring5", "tring10", "tring20"]
#
}, {
"name"
:
"robot"
,
"instances"
:
[
"robot2"
,
"robot5
"
,
"robot
10
"
,
"robot
20
"
,
"robot
5
0"
]
"instances"
:
[
"robot2
0
"
,
"robot5
0"
]
#
, "robot
2
", "robot
5
", "robot
1
0"]
},
{
"name"
:
"spool"
,
"instances"
:
[
"spool
1
"
,
"spool
2"
,
"spool
3
"
,
"spool
4
"
,
"spool
5
"
]
"instances"
:
[
"spool
4
"
,
"spool
5"
]
#
, "spool
1
", "spool
2
", "spool
3
"]
}]
# Tools to be compared
tools
=
[{
"name"
:
"pmc-sog"
,
"parameters"
:
{
"parallelisation"
:
[
'otfP'
,
'otfL'
,
'otfC'
],
"strategy"
:
[
'default'
,
'Cou99(poprem)'
,
'Cou99(poprem shy)'
]
}
},
{
"name"
:
"pnml2lts-mc"
,
"parameters"
:
{
"size"
:
[
"90%"
],
"strategy"
:
[
'dfs'
,
'ndfs'
]
"parallelisation"
:
[
'otf'
]
#, 'otfP', 'otfPR', 'otfC'],
"strategy"
:
[
'Cou99(poprem)'
,
'Cou99(poprem shy)'
]
#, 'default']
}
#}, {
# "name": "pnml2lts-mc",
# "parameters": {
# "size": ["90%"],
# "strategy": ['dfs', 'ndfs']
# }
}]
generate_multiple_sbatchs
(
tools
,
models
,
formulas
,
nodes
,
threads
,
timeout
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment