Search Criteria
Package Details: geant4 11.3.0-1
Package Actions
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.000099 |
First Submitted: | 2010-04-08 08:54 (UTC) |
Last Updated: | 2024-12-08 19:13 (UTC) |
Dependencies (29)
- boost (boost-gitAUR)
- clhepAUR
- cmake (cmake-gitAUR)
- expat (expat-gitAUR)
- glu (glu-gitAUR)
- openmotif
- python (python37AUR, python311AUR, python310AUR)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- soqt (soqt-gitAUR)
- xerces-c
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- geant4-abladataAUR (optional) – Data files for nuclear shell effects in INCL/ABLA hadronic mode
- geant4-channelingdataAUR (optional) – Data files for the simulations of channeling trajectories
- geant4-ensdfstatedataAUR (optional) – Nuclei properties from the Evaluated Nuclear Structure Data Files
- geant4-incldataAUR (optional) – Data files for proton and neutron density profiles
- geant4-ledataAUR (optional) – Data files for low energy electromagnetic processes
- geant4-levelgammadataAUR (optional) – Data files for photon evaporation
- geant4-neutronhpdataAUR (optional) – Experimental neutron data files with thermal cross sections
- geant4-nudexlibdataAUR (optional) – Nuclear De-excitation data library for (n,gamma) reactions
- geant4-particlehpdataAUR (optional) – Data files from the TALYS nuclear model code
- geant4-particlexsdataAUR (optional) – Data files for evaluated p, d, t, He3, He4 and gamma cross sections, replaces geant4-neutronxsdata
- geant4-piidataAUR (optional) – Data files for shell ionisation cross sections
- geant4-radioactivedataAUR (optional) – Data files for radioactive decay hadronic processes
- geant4-realsurfacedataAUR (optional) – Data files for measured optical surface reflectance
- geant4-saiddataAUR (optional) – Data files from evaluated cross-sections in SAID data-base
- geant4-urrptdataAUR (optional) – Particle Tables for the treatment of low-energy neutrons in the Unresolved Resonance Region (URR)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (optional) – for histogram visualizations and analysis
- python (python37AUR, python311AUR, python310AUR) (optional) – for G4Python support
- tcsh (tcsh-gitAUR) (optional) – for C Shell support
Required by (24)
- bxdecay0-geant4
- bxdecay0-geant4-git
- dd4hep
- g4python-git
- g4see-git
- geant4-abladata (optional)
- geant4-channelingdata (optional)
- geant4-ensdfstatedata (optional)
- geant4-incldata (optional)
- geant4-ledata (optional)
- geant4-lend (optional)
- geant4-levelgammadata (optional)
- geant4-neutronhpdata (optional)
- geant4-neutronxsdata
- geant4-nudexlibdata (optional)
- geant4-particlehpdata (optional)
- geant4-particlexsdata (optional)
- geant4-piidata (optional)
- geant4-radioactivedata (optional)
- geant4-realsurfacedata (optional)
- geant4-saiddata (optional)
- geant4-urrptdata (optional)
- opengate
- opengate-git
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 15 Next › Last »
donpicoro commented on 2021-07-09 17:20 (UTC)
Hello again @gipert:
I see your point with the LD_LIBRARY_PATH. For now I will not modify things as you seem to be the only one being affected by this. I will however investigate the possibility to add this in /etc/ld.so.conf.d/*.conf as it seems to be place to put it according to /etc/ld.so.conf and my simple understanding of this. I have never done this so let's see whether I manage for the next release in December.
As for the compilation standard... I meant that the minimum supported for the next version will be c++17 if I'm not mistaken. I misunderstood your remark. I myself have not fiddled with non-default standards but I'll give them a whirl for the next release as well.
Cheers,
gipert commented on 2021-07-09 16:56 (UTC)
Hi @donpicoro, thanks for the notes, I forgot Geant4 data is installed through separate packages. By the way, I know that you're just installing
geant4.sh
as it is. The problem is that settingLD_LIBRARY_PATH
globally is bad practice and can break other software (see e.g. here). This happened to me lately (see here), and I had to removegeant4.sh
to fix the issue.Of course this should be somehow fixed/clarified in Geant4, and what I'm suggesting here is at least to just avoid sourcing
geant4.sh
by default, if the software is installed below/usr/local
and is anyhow globally visible. You could add a warning printout during package installation and let the user decide what to do with it.Le me know what you think and thanks for maintaining the package!
PS: on the C++ standard, I assume the official docs are wrong then?
donpicoro commented on 2021-06-30 21:28 (UTC)
Hello @gipert:
compiling with C++17 standard: Geant4 does not yet support that standard. This will come in version 11 in early december. Stay tuned.
LD_LIBRARY_PATH in /urs/bin/geant4.sh: I just source it because those as the instruction. The script is left 100% vanilla. NOTE that this script does not set the DATA environment variables. That I handle in separate scripts as they are optional dependencies... this was the easiest and most sustainable way to deal with this.
gipert commented on 2021-06-29 14:00 (UTC)
Sourcing
/urs/bin/geant4.sh
by default is a good idea, to get the Geant4 data env variables automatically set. That script is nasty though, because it sets LD_LIBRARY_PATH, which is both useless and possibly breaks other software. What about stripping that line from the script?gipert commented on 2021-06-29 13:54 (UTC)
What about compiling with the C++17 standard?
hugo_loio commented on 2021-04-11 17:09 (UTC)
Thank you very much for the help @donpicoro!
donpicoro commented on 2021-04-09 13:01 (UTC)
Dear hugo_loio,
The way I set up the geant4 package by default it does not bring the data files. This is to keep the package size small for people not using those (sometimes massive) datasets. The script
/urs/bin/geant4.sh
sets some generic variables like LD_LIBRARY_PATH and so on.To get the data files, please install the corresponding dataset package. They will bring their own /etc/profile.d/*.[c]sh files.
Please find the dataset packages in aur https://aur.archlinux.org/packages/?O=0&SeB=nd&K=geant4-&outdated=&SB=n&SO=a&PP=50&do_Search=Go
Cheers,
/Pico
hugo_loio commented on 2021-04-09 09:51 (UTC)
Geant4 environment variables aren't being loaded in my system. For example the
printenv | grep G4
command gives no output. I tried sourcing both /urs/bin/geant4.sh and /etc/profile.d/geant4_profile.sh and that didn't make a difference.donpicoro commented on 2021-01-31 21:43 (UTC)
OK, this is I how I deal with this:
I hope this works to your satisfaction. I want to keep it this way as moving file into the geant4 file tree is not recommended as many times the geant4 version changes but not the datasets.
Cheers,
/Pico
gvannoye commented on 2021-01-19 17:41 (UTC)
When installing the geant4-* optionnal dependencies and evaluating
/usr/share/Geant4-10.7.0/geant4make/geant4make.sh
, the definition of ressource file paths shell variables (G4NEUTRONHPDATA, G4LEDATA, …) is not correct.I would suggest either copying the content of the
/usr/share/geant4-*data/
folders to/usr/share/Geant${pkgver}/data/
or modifying the geant4make files (I don't know which other files would need to be changed, so the first option might be better).« First ‹ Previous 1 2 3 4 5 6 7 8 .. 15 Next › Last »