I use CentOS Linux 7.5.1804 ( it is virtual machine in macOS High Sierra 10.13.6).
During the step 1 (requirements) I had one problem with installation of matplotlib package - I had installed 1.2 version already, the installation wanted to install version 2.0.2 and there was some problem with dependencies (I cured it with ignoring dependencies at installation - dr. google). I am sorry, I can not send you the exact commands in this issue, because the os crashed and I do not have them in history for some reason…
I used the command:
aliBuild build O2Suite --defaults o2
It is a virtual machine I want to use purely for QC, so I do not have any problem to delete it completely, if the problem gets complicated…
I successfully managed to install (I hope) all the neccessary software. I followed the quickstart page. Thank you very much! The problem was indeed in not building the O2 soft before. Also I had to increase and resize the partition because 30 GB is apparently not big enough…
I encountered another problem though: I want to run the recommended test via command: o2-qc-run-basic , but it did not work out:
[O2Suite/latest] ~/alice $> o2-qc-run-basic
[INFO] Using config file ‘json://home/mbombara/alice/sw/slc7_x86-64/QualityControl/master-1/etc/basic.json’
2019-10-23 20:39:21.185010 QC infologger initialized
2019-10-23 20:39:21.185063 QC version 0.19.2
[INFO] policyName : tst-raw
[INFO] Configuration loaded :
[INFO] >> Task name : QcTask
[INFO] >> Module name : QcSkeleton
[INFO] >> Detector name : TST
[INFO] >> Cycle duration seconds : 10
[INFO] >> Max number cycles : -1
Error 65543: GLX: Failed to create context: GLXBadFBConfig
o2-qc-run-basic: /builddir/build/BUILD/glfw-3.2.1/src/input.c:493: glfwSetMouseButtonCallback: Assertion `window != ((void *)0)’ failed.
Aborted (core dumped)
[O2Suite/latest] ~/alice $>
Do you have any idea why this failed? I guess it is a different topic now.
Hi,
Ok, so we are progressing.
The error is related to the DPL gui. I am pretty sure that if you add “–batch” as argument to the executable, it will run (batch = no gui).
Could it be because you run inside a VM ? And as the instructions tell you to install glfw then it tries to run the gui but it does not work from within the VM ?
Could you try to run glxgears and glxinfo ?
Cheers,
Barth
you are right: with --batch it works. Also glxgears works (nice animation), glxinfo works as well (text ntuple in terminal). Glfw is intstalled. I can try to install on mac, if you think VM will have problems with glfw.
do you have any update about the issue? What I can do is to use non-VM OS. I am running now High Sierra, but the installation failed. I can see the supported system is now Mojave, so I can upgrade to Mojave and try to install it. What do you think? Thank you.