Skip to content

add parameters to eve workflow - #6767

Merged
davidrohr merged 5 commits into
AliceO2Group:devfrom
jmyrcha:eve-workflow-parameters
Jul 30, 2021
Merged

add parameters to eve workflow#6767
davidrohr merged 5 commits into
AliceO2Group:devfrom
jmyrcha:eve-workflow-parameters

Conversation

@jmyrcha

@jmyrcha jmyrcha commented Jul 28, 2021

Copy link
Copy Markdown
Contributor

No description provided.

@davidrohr davidrohr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jmyrcha , this looks mostly OK. I have a couple of points inline where there is copy&pasted code from the GPU folder, which is not needed, and I think it should be removed.

But more importantly, I think 2 important points for the commissioning are missing:

  • We need a command line option to optionally limit the maximum number of tracks that can be written in a JSON file.
  • We need a command line option to make skip the JSON export if the hostname of the node is not equal to a string provided via command line.

Comment thread EventVisualisation/Workflow/CMakeLists.txt Outdated
Comment thread EventVisualisation/Workflow/include/EveWorkflow/EveConfiguration.h Outdated
Comment thread EventVisualisation/Workflow/include/EveWorkflow/EveConfiguration.h Outdated
Comment thread EventVisualisation/Workflow/include/EveWorkflow/EveWorkflowHelper.h Outdated
Comment thread EventVisualisation/Workflow/include/EveWorkflow/EveWorkflowHelper.h Outdated
jmyrcha added 2 commits July 29, 2021 19:45
added parameters for maximum number of tracks and host filtering
@jmyrcha
jmyrcha requested a review from davidrohr July 29, 2021 17:58
@jmyrcha

jmyrcha commented Jul 29, 2021

Copy link
Copy Markdown
Contributor Author

I have implemented all points
(current pull request fails, but it looks like errors on the test environment - logs are empty). If there are any action on my side please let me know.

@davidrohr davidrohr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jmyrcha, thx looks better, checking the code again, I saw one bogus comment:

// Full configuration structure with all available settings of GPU...

And I am listed as author of several of the files you added, could you clean that up as well?

Finally, could you comment when we can have the 2 missing settings, to limit the number of tracks, and to check the hostname?

@davidrohr

Copy link
Copy Markdown
Collaborator

@TimoWilken : Could you check why the CI is failing without a log?

@jmyrcha

jmyrcha commented Jul 29, 2021

Copy link
Copy Markdown
Contributor Author

Missing settings are already there:
eve-hostname - if set then workflows on computers which hostname do not match will do nothing
number-of_tracks - saves no more than given tracks
I will fix comments and author notes

@davidrohr

Copy link
Copy Markdown
Collaborator

Missing settings are already there:
eve-hostname - if set then workflows on computers which hostname do not match will do nothing
number-of_tracks - saves no more than given tracks

ok, sorry, I didn't recheck the code since you didn't comment on it. Looks good. Thx

@jmyrcha
jmyrcha requested a review from davidrohr July 29, 2021 18:28
davidrohr
davidrohr previously approved these changes Jul 29, 2021

@davidrohr davidrohr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good now

@TimoWilken

Copy link
Copy Markdown
Contributor

Sorry for the build failures this evening. I've reset the checks to pending as there weren't any previous statuses to fall back on.

@davidrohr

Copy link
Copy Markdown
Collaborator

@jmyrcha : Could you please fix this CI warning:

/sw/SOURCES/O2/6767-slc8_x86-64/0/EventVisualisation/Workflow/src/O2DPLDisplay.cxx:38:10: error: inclusion of deprecated C++ header 'limits.h'; consider using 'climits' instead [modernize-deprecated-headers]

@jmyrcha

jmyrcha commented Jul 30, 2021

Copy link
Copy Markdown
Contributor Author

is it possible to run fullCl check locally?
If so - how?

@davidrohr

Copy link
Copy Markdown
Collaborator

is it possible to run fullCl check locally?
If so - how?

  • Pull the docker container alisw/slc8-gpu-builder
  • In the container, export ALIBUILD_O2_TESTS=1
  • Then use aliBuild to compile O2FullCI inside the container.

@jmyrcha

jmyrcha commented Jul 30, 2021

Copy link
Copy Markdown
Contributor Author

I have pull container, but then:
docker run -d alisw/slc8-gpu-builder
07175ddb9680d5e85d176aa7eab3ef4054be4709c0f0cf151488c36ec37ee98d
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
07175ddb9680 alisw/slc8-gpu-builder "/bin/sh" 19 seconds ago Exited (0) 18 seconds ago tender_hamilton
bf6d3bce64a1 mcr.microsoft.com/mssql/server:2019-latest "/opt/mssql/bin/perm…" 55 minutes ago Exited (0) 44 minutes ago sqlserver
docker exec -it tender_hamilton "bash"
Error response from daemon: Container 07175ddb9680d5e85d176aa7eab3ef4054be4709c0f0cf151488c36ec37ee98d is not running

how should I run the image? is there any user I should use/configure (passwords?) I guess I should clone my repo inside and build? aliBuild O2fullCl?

@jmyrcha

jmyrcha commented Jul 30, 2021

Copy link
Copy Markdown
Contributor Author

sorry for bold in comment - it was probably after copy from console

@davidrohr

Copy link
Copy Markdown
Collaborator

Hi @jmyrcha : I am no docker expert, but I am usually doing docker run -ti --shm-size 32G alisw/slc8-gpu-builder.

@davidrohr
davidrohr merged commit 4ed4115 into AliceO2Group:dev Jul 30, 2021
skundu692 pushed a commit to skundu692/AliceO2 that referenced this pull request Aug 10, 2021
* add parameters to eve workflow

* removed dependency from gpu
added parameters for maximum number of tracks and host filtering

* reformating

* reformating

* fixed fullCl warning
@jmyrcha
jmyrcha deleted the eve-workflow-parameters branch September 30, 2021 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants