Package Details: geant4 11.2.2-1

Git Clone URL: https://aur.archlinux.org/geant4.git (read-only, click to copy)
Package Base: geant4
Description: A simulation toolkit for particle physics interactions.
Upstream URL: http://geant4.cern.ch/
Keywords: matter montecarlo radiation transport
Licenses: custom: http://geant4.cern.ch/license/
Conflicts: geant4_devel
Submitter: Eothred
Maintainer: donpicoro
Last Packager: donpicoro
Votes: 19
Popularity: 0.000178
First Submitted: 2010-04-08 08:54 (UTC)
Last Updated: 2024-06-25 16:12 (UTC)

Dependencies (25)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 15 Next › Last »

Hell-G commented on 2014-05-15 00:53 (UTC)

Thanks donpicoro for your quick reply! I'm using QT5 because I have both versions installed and as you say, Geant4 looks first for QT5. I don't really have a preference and to be honest, before your post, I was not even aware of the differences between QT4 and QT5. Now that I checked the features of QT5, I don't see why QT4 should not be fine for running Geant4 visualizations. Apart from the intrinsic urge that higher version numbers are better of course ;-) Apparently, they are more specific in the installation guide than in the release notes. From the release notes it looked like that QT5 should be just fine. I will try to compile Geant4 against QT4 and see, if it works better. Thanks a lot!

donpicoro commented on 2014-05-14 20:40 (UTC)

According to the documentation: http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/InstallationGuide/html/ch02s03.html it says: "Please note that Qt5 support is still experimental." If you have both installed Qt5 takes precedence over Qt4. You can try forcing the compilation against Qt4 byt setting the QT_QMAKE_EXECUTABLE variable to /usr/bin/qmake-qt4. Of course that is if you want to try to run it with QT4. I do not use Qt5 and I have no issues whatsoever. Is there a reason to need QT5?

Hell-G commented on 2014-05-14 20:25 (UTC)

Hi guys, I'm having the same issue with QT5 since I upgraded to Geant4 version 10. The error just before the segmentation fault is not related to the problem. "Qt Warning - invalid keysym: dead_actute" is just a typo in the libX11 package. See for instance here: http://unix.stackexchange.com/questions/111181/how-to-find-out-whats-wrong-on-all-of-my-qt-programs The typo is still there on my system, although I have libX11 version 1.6.2-1. When I try to run the basic examples, the segmentation fault does not occur all the time. Sometimes the OpenGL viewer opens, but most of the time it crashes. I'm not really experienced with gdb, but I was able to get these hints: Available UI session types: [ Qt, Xm, GAG, tcsh, csh ] [New Thread 0x7fffe48f9700 (LWP 3107)] [New Thread 0x7fffd7ac0700 (LWP 3108)] Program received signal SIGSEGV, Segmentation fault. 0x00007fffefeb81ca in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQt5Widgets.so.5 According to the release notes of Geant4 10, it sounds like QT5 should be supported. What do you think about these statements in the release notes? - Provided scripts for support of Qt5 external libraries. - Added cmake configuration for Wt and Qt5 in "common" and "basic" modules. - Fixes for support of Qt5. I looked through the Geant4 Hypernews. For version 10 they sometimes recommend to go to QT5 instead of QT4 to avoid problems. Any new insights here? Thanks!

xzy3186 commented on 2014-05-13 12:01 (UTC)

@Eothred, donpicoro Thank you all for the nice job!

Eothred commented on 2014-05-13 10:58 (UTC)

Hi, I keep backups of my pkgbuilds on gitorious: https://gitorious.org/eothred/aur/source/209595bc240542ff0d29f4beb485971d1523738d:geant4 (this is from back when I maintained this package, quite a while ago now!) The newer version for Chakra might save you: https://gitorious.org/eothred/ccr/source/99dc59ba953531b0b1300807db50bb12b02312ff:geant4

donpicoro commented on 2014-05-13 10:00 (UTC)

Hi xzy3186, unfortunately I do not have a copy of it. Sorry. If you want to make your own PKGBUILD you should remember that the cmake procedure was on alpha stage at that time so your mileage may vary. However it is not very well documented. Ideally it should be completely possible to do it with cmake but probably it would be easier to do it using autotools. Here is the installation guide from 9.4: http://geant4.slac.stanford.edu/tutorial/installation/Geant4.9.4/Linux/Geant4_9_4_Linux_Installation.htm#_Doing_the_Initial I hope it helps somehow. /Pico

xzy3186 commented on 2014-05-13 09:48 (UTC)

Hi, thanks again for maintaining this package. Do you have any backup PKGBUILD for the version 9.4?

donpicoro commented on 2014-01-22 09:20 (UTC)

1) I do not have a segfault with gv. The important part is that it creates successfully the prim file. 2) as it seems your geant4 installation was compiled against qt5 which for geant4 is still experimental. I do not use qt5 and perhaps that is why I cannot reproduce the error. What qt5 packages do you have so I try to check for that? 3) Fine, I would blame it in on Qt5 for now.

MarkH commented on 2014-01-22 00:00 (UTC)

1) dawn successfully created an eps file and gv opened. Segfault occurs upon closing gv. Generated prim file: http://pastebin.com/BPRmbNUS 2) ldd output: http://pastebin.com/rV8fs0wm 3) Everything is en_US.UTF-8

donpicoro commented on 2014-01-21 15:35 (UTC)

Grrr... I'm flying blind without being able to reproduce the error myself. There are some things I would like to try/know with the same example you used 1) try using the following lines as your vis.mac file: /vis/open DAWNFILE /vis/drawVolume /vis/scene/create /vis/viewer/flush 2) can you please give me the output of "ldd -d -r exampleB1" from the folder where you build the application. 3) Are you using any non "en_US.UTF-8" locale on your system?