Created attachment 838077 [details, diff] patch Dear Geant4 maintainer, I installed Geant4 and the variable DGEANT4_BUILD_STORE_TRAJECTORY is set to OFF by default. And I could not get the opengl window to show the particle trajectories. So, I updated the ebuild file to set that variable to ON (described in the geant4 installation manual as default behaviour). Then, I could see the particle trajectories in the opengl window. I attached a simple patch to change the default behaviour of DGEANT4_BUILD_STORE_TRAJECTORY to ON. Tetumetal,
Hi, GEANT4_BUILD_STORE_TRAJECTORY should not be enabled by default, as that makes simulations a *lot* slower. Please use EXTRA_ECONF="-DGEANT4_BUILD_STORE_TRAJECTORY=ON" for that. You can use a portage.env to make that persistent if you want too.
Hi, Thanks for the tip, I'll use the EXTRA_ECONF in portage.env. I understand that you could get some degree of performance by disabling the STORE_TRAJECTORY. But, for debugging the simulation setup I rely on being able to visualize the particle trajectories. And maybe some users may face the same issue of not being able to visualize particle trajectories, and not being able to understand why is not working; since the default setting is to have STORE_TRAJECTORY enabled. Tetumetal,
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=526c2237f529b379fe6f42a2b9937e6b53625660 commit 526c2237f529b379fe6f42a2b9937e6b53625660 Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2023-05-23 07:27:41 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2023-05-24 06:50:13 +0000 sci-physics/geant: add 4.11.0.4 Closes: https://bugs.gentoo.org/883605 Signed-off-by: Guilherme Amadio <amadio@gentoo.org> sci-physics/geant/Manifest | 1 + sci-physics/geant/geant-4.11.0.4.ebuild | 131 ++++++++++++++++++++++++++++++++ sci-physics/geant/metadata.xml | 1 + 3 files changed, 133 insertions(+)
Please note that I've removed the EXTRA_ECONF from sci-physics/geant. It's not supposed to be used for CMake projects. See https://bugs.gentoo.org/897900. The new ebuilds provide a USE flag to enable trajectories to make it easier for users.
(In reply to Guilherme Amadio from comment #4) > Please note that I've removed the EXTRA_ECONF from sci-physics/geant. It's > not supposed to be used for CMake projects. See > https://bugs.gentoo.org/897900. > > The new ebuilds provide a USE flag to enable trajectories to make it easier > for users. Perfect. Thanks a lot!