Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas-physics
pmg
MC Job Options
Commits
7bae57f6
Commit
7bae57f6
authored
Dec 13, 2021
by
Rohin Thampilali Narayan
Browse files
reverting log parser changes
parent
a7f33222
Pipeline
#3352497
passed with stages
in 49 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
scripts/logParser.py
View file @
7bae57f6
...
...
@@ -387,8 +387,7 @@ def main():
# Again an abuse to extract number of events for MadGraph which are printed like "05:14:02 Nb of events : 20000"
checkLine
(
line
,
'Nb of events'
,
generatorDict
,
':'
)
# Get if process is multi-core - no line identifier here, so hack this too "ATHENA_PROC_NUMBER set to 8"
checkLine
(
line
,
'ATHENA_PROC_NUMBER'
,
JOsDict
,
'4'
)
JOsDict
[
'ATHENA_PROC_NUMBER'
]
=
[
'set to 4'
]
checkLine
(
line
,
'ATHENA_PROC_NUMBER'
,
JOsDict
,
'set to'
)
### Special generators that are to be excluded from certain tests
specialGenerators
=
[
"Superchic"
,
"Starlight"
,
"ParticleGun"
]
...
...
@@ -442,12 +441,10 @@ def main():
# Check if the job is multicore
if
len
(
JOsDict
[
'ATHENA_PROC_NUMBER'
]):
print
(
"HI .... "
,
JOsDict
[
'ATHENA_PROC_NUMBER'
])
releaseNumber
=
int
(
release
.
split
(
"."
)[
0
])
*
10000
+
int
(
release
.
split
(
"."
)[
1
])
*
100
+
int
(
release
.
split
(
"."
)[
2
])
if
releaseNumber
<
210660
:
logerr
(
'- ATHENA_PROC_NUMBER = '
,
f
"
{
JOsDict
[
'ATHENA_PROC_NUMBER'
][
0
].
split
()[
0
]
}
<-- ERROR: cannot use multi-core mode with rel < 21.6.60"
)
else
:
print
(
'- ATHENA_PROC_NUMBER = '
,
f
"
{
JOsDict
[
'ATHENA_PROC_NUMBER'
]
}
"
)
loginfo
(
'- ATHENA_PROC_NUMBER = '
,
f
"
{
JOsDict
[
'ATHENA_PROC_NUMBER'
][
0
].
split
()[
0
]
}
"
)
if
len
(
JOsErrors
):
...
...
Write
Preview
Supports
Markdown
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