Package Details: geant4 11.1.1-1

Git Clone URL: (read-only, click to copy)
Package Base: geant4
Description: A simulation toolkit for particle physics interactions.
Upstream URL:
Keywords: matter montecarlo radiation transport
Licenses: custom:
Conflicts: geant4_devel
Submitter: Eothred
Maintainer: donpicoro
Last Packager: donpicoro
Votes: 17
Popularity: 0.001568
First Submitted: 2010-04-08 08:54 (UTC)
Last Updated: 2023-02-14 16:11 (UTC)

Dependencies (23)

Sources (2)

Latest Comments

1 2 3 4 5 6 .. 14 Next › Last »

Eothred commented on 2022-11-07 15:32 (UTC)

That's not to be defined in the PKGBUILD, so the maintainer is correct in doing it this way. makepkg can be configured for parallel builds, see

Firestar commented on 2022-11-07 15:20 (UTC)

I found that you enabled GEANT4_BUILD_MULTITHREADED=ON but make do not have the -j parameter. Can you enable it as the compilation is very slow?

donpicoro commented on 2022-03-09 13:44 (UTC)

@f3fora: my bad... my emacs-pkgbuild-mode made a number on me. Now it's fixed.

f3fora commented on 2022-03-09 10:53 (UTC) (edited on 2022-03-09 11:06 (UTC) by f3fora)

==> Making package: geant4 11.0.1-1 (Wed 09 Mar 2022 11:49:30)
==> Retrieving sources...
  -> Found geant4-v11.0.1.tar.gz
  -> Found geant4.install
==> Validating source files with md5sums...
    geant4-v11.0.1.tar.gz ... FAILED
    geant4.install ... Passed
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'geant4-11.0.1-1':
error: packages failed to build: geant4-11.0.1-1


md5sum geant4-v11.0.1.tar.gz
598d6d3489214a1e7e3c4c02084b7faa  geant4-v11.0.1.tar.gz

donpicoro commented on 2022-01-31 10:12 (UTC)

Hello again,

I guess you are compiling it "normally" and not inside a 'chroot' (

As soon as I try to compile it I run into a dependency black hole similar to what I reported before.

At to moment I do not have the time to keep looking into this issue, in particular for this driver that you report is not functional yet.

I will keep this in the back of my head and give it a go every once in a while.


gipert commented on 2022-01-30 20:58 (UTC)

With this PKGBUILD I manage to compile it: The error you get is because VTK needs the Java headers. Let me know whether the driver is then actually usable for you, it wasn't for me.

Another feature I would really like to use is HDF5 support for object persistency. The problem is that multithreaded G4 requires the HDF5 C library to be compiled in thread-safe mode, and this is not the case with the Arch package (there are compatibility issues with other Arch packages, as far as I understand).

A workaround would be to compile a private version of the HDF5 library, but it would require quite a bit of PKGBUILD development, I guess.

Good luck!

donpicoro commented on 2022-01-30 19:31 (UTC)

Dear @gipert,

how did you manage to get the Vtk support working? As soon as I added -DGEANT4_USE_VTK=ON I ended up needing a ton of extra dependencies only to get it to fail at the end.

This are the dependencies:


and in the end it failed anyway

CMake Error in source/CMakeLists.txt:
  Imported target "VTK::Java" includes non-existent path


gipert commented on 2022-01-25 16:44 (UTC)

Forget about my last comment. I tested the new driver a bit and found it quite unstable, at least on Arch. We should maybe reconsider it once the feature is more mature.

gipert commented on 2022-01-13 15:57 (UTC)

Hello @donpicoro, thanks a lot for keeping the package up to date. What about supporting the VTK visualization driver?