Install MQ startup scripts and fix installation of MQ executables (#2403)
Create MQ startup scripts to be installed already at the configuration stage and store the in the build tree. The difference between the scripts used in the build tree and the scripts finally installed are the hardcoded directory information inside. In the scripts to be used inside the build directory this links to the source and the build directories whereas it links to the installation directory in case of the scripts which are installed. Copy the scripts during installation to the correct directory. Install the MQ executables in the same directory structure as in the build directory.
Correct RPATH information in the executables
When building the executables the needed PATH information to find necessary libraries is stored in the executable. This PATH information is now also present in the installed executables such that they work without adding PATH information to the environment.
Merge request reports
Activity
added Build System label
Dear @f.uhlig, @p.-a.loizeau, @n.herrmann, @i.deppner, @v.friese,
you have been identified as code owner of at least one file which was changed with this merge request.
Please check the changes and approve them or request changes.
added CodeOwners label
@f.uhlig I am not sure what I should test here. The compilation succeeds without crashing, that much I can say. I tried running
./startMQ_Mcbm.sh
and./startMQSamplerUnpackerParserverHitBuilder.sh
. They both execute, but don't open any xterm windows, but also don't produce any error messages. I might not be the right person to review this, as I don't know what most of the MQ devices do.By the way, the following two scripts use paths relative VMCWORKDIR for execution:
cbmroot/MQ/mcbm/startBuildRawEvents2021.sh.in
cbmroot/MQ/mcbm/startMQBuildRawEvents.sh.in
These are the ones I was referring to in the meeting.
- Resolved by Pierre-Alain Loizeau
thanks for the link to the scripts. I haven't seen them because the use $VMCWORKDIR instead of @VMCWORKDIR@. There even some more scripts which are incorrect. I will try to fix all of them.
added 50 commits
-
5d21a072...940afe3e - 46 commits from branch
computing:master
- 31c13d83 - Install MQ startup scripts
- 1f851eb8 - Call the correct executable for shmem cleanup
- 79214d74 - Correct RPATH information in the executables
- 8d8613fa - Don't use $VMCWORKDIR
Toggle commit list-
5d21a072...940afe3e - 46 commits from branch
enabled an automatic merge when the pipeline for 8d8613fa succeeds
Tested successfully
./startBuildRawEvents2021.sh
and./startBuildRawEventsCosmics2021.sh
on mFLES with live TS server=> Merging
Edited by Pierre-Alain Loizeau