First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 230716
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Physics related packages <sci-physics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sébastien Fabbro <bicatali@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 230716 depends on: 231962 Show dependency tree
Bug 230716 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-07-04 10:50 0000
Please keyword geant-4. I'm planning to add geant4 support to sci-physics/root.
Thanks.

------- Comment #1 From Raúl Porcel 2008-07-10 12:49:33 0000 -------
sparc stable

------- Comment #2 From Raúl Porcel 2008-07-10 12:51:34 0000 -------
I didn't mean stable and this needs a lot of keywords as well :P Will check
later

------- Comment #3 From Jeroen Roovers 2008-07-15 04:27:38 0000 -------
Marked ~hppa. Shame about the missing support for a test suite...

------- Comment #4 From Ferris McCormick 2008-07-15 17:28:58 0000 -------
Added ~sparc for testing, everything seems OK.  That said, please note:
1.  This also requires keywords for:
  sci-physics/clhep-2.0.3.3
  sci-physics/paw-2.14.04-r2
  sci-physics/geant-3.21.14-r2
  media-gfx/dawn-3.88a

2.  On my system, it also requires a package.use.mask for openinventor because
openinventor will not build (apparently include file problems).

3.  It's really to bad that with USE=examples this package does not actually
build the examples; only installs source.  It seems to be impossible to build
them from the GNUmakefile provided (without further instructions which are not
provided so far as I can find).

I'm leaving this open for comment, because I'm curious why USE=examples does
not build the examples.  (Or at least explain how to get it done.  It looks
like that's a matter of setting up a lot of environment variables, such as in
make G4INSTALL=/usr/share/geant4 G4SYSTEM=Linux-g++
but there are clearly a lot more of them, and the examples do not build easily
in the /var/tmp/portage/sci-portage build directory, either.)

------- Comment #5 From Sébastien Fabbro 2008-07-16 09:26:37 0000 -------
Hi Ferris,

Thanks for clear review of the testing.
Could you file a bug for openinventor with your failure?

USE=examples should not build anything since it is not required for a working
package.

I'm cc-ing he original ebuild author (see bug #212221), who I'm also including
a test he sent me on a priv. email:

# mkdir ~/geant4
# cp -r /usr/share/doc/geant-4*/examples ~/geant4
# cd ~geant4/examples/advanced/cosmicray_charging
# make

and now for a fancy and useless picture (and seeing $G4WORKDIR break)

# G4LEDATA=$G4DATA/G4EMLOW5.1/ $G4WORKDIR/bin/$G4SYSTEM/CRCharging init.mac

or for some calculations (with a suprisingly condensed output to run00_*)

# G4LEVELGAMMADATA=$G4DATA/PhotonEvaporation2.0 G4LEDATA=$G4DATA/G4EMLOW5.1/
~/geant4/bin/Linux-g++/CRCharging primaries/protons_solmin.mac

The .mac files are Geant4 macros for one of their interpreters;
init.mac has other output drivers in comments you could activate if
you really wanted to go into the matter.

------- Comment #6 From Ferris McCormick 2008-07-16 13:39:56 0000 -------
Bug filed for openinventor and cross-referenced here.  I don't know if the
little band-aid I used to get openinventor to build makes it good for geant;
I'll verify as time permits.

------- Comment #7 From Benjamin Bannier 2008-07-16 19:47:58 0000 -------
Hi,

(In reply to comment #5)

more up to date (now that we fixed the environment variables) instruction how
to build+run e.g. this example would be

> # mkdir ~/geant4
> # cp -r /usr/share/doc/geant-4*/examples ~/geant4
> # cd ~geant4/examples/advanced/cosmicray_charging
> # make
> 
> and now for a fancy and useless picture (and seeing $G4WORKDIR break)

... shouldn't break anymore (and nice to see if X display is working)

> # G4LEDATA=$G4DATA/G4EMLOW5.1/ $G4WORKDIR/bin/$G4SYSTEM/CRCharging init.mac

~geant4/bin/$G4SYSTEM/CRCharging init.mac

> 
> or for some calculations (with a suprisingly condensed output to run00_*)
> 
> # G4LEVELGAMMADATA=$G4DATA/PhotonEvaporation2.0 G4LEDATA=$G4DATA/G4EMLOW5.1/
> ~/geant4/bin/Linux-g++/CRCharging primaries/protons_solmin.mac

~/geant4/bin/Linux-g++/CRCharging primaries/protons_solmin.mac

where ~/geant4 is $G4WORKDIR.

b.

------- Comment #8 From Ferris McCormick 2008-08-10 14:39:39 0000 -------
I've removed the package.use.mask on openinventor for geant because
openinventor now builds correctly on sparc.

------- Comment #9 From Sébastien Fabbro 2008-08-22 15:57:33 0000 -------
Ferris,

Is geant-4.9 ok? Can we close this bug?
Thanks

------- Comment #10 From Sébastien Fabbro 2008-09-23 11:39:19 0000 -------
I guess we can close this one since geant is ~sparc.

First Last Prev Next    No search results available      Search page      Enter new bug