[107924] users/mojca/notes

mojca at macports.org mojca at macports.org
Tue Jul 9 03:24:39 PDT 2013


Revision: 107924
          https://trac.macports.org/changeset/107924
Author:   mojca at macports.org
Date:     2013-07-09 03:24:39 -0700 (Tue, 09 Jul 2013)
Log Message:
-----------
geant4: submit a patch to Geant4 bug tracker

Modified Paths:
--------------
    users/mojca/notes/Gate.txt
    users/mojca/notes/Geant4.txt

Modified: users/mojca/notes/Gate.txt
===================================================================
--- users/mojca/notes/Gate.txt	2013-07-09 10:21:01 UTC (rev 107923)
+++ users/mojca/notes/Gate.txt	2013-07-09 10:24:39 UTC (rev 107924)
@@ -19,10 +19,14 @@
 - figure out if there is some CMAKE variable to copy the examples automatically
 - maybe put the Gate binary to libexec and create a shell script in ${prefix}/bin/Gate which sets all the necessary variables (data files) and calls the real binary afterwards
 - in case of errors, Gate reports location where the file is built (that weird build path that doesn't exist any more)
+- to load the material database, it would be great if Gate would look into some predefined location
+  in general/src/GateTools.cc there is
+    G4String GateTools::FindGateFile(const G4String& fileName)
+  which checks for the environmental variable GATEHOME and may potentially load the material database and other files from there
+  but for the start, try to copy the material database somewhere and set GATEHOME
 
 Something like tho following is needed for running Gate:
-	export LOCALE="en_GB.UTF-8"
-	export LC_ALL="en_GB.UTF-8"
+	export LC_NUMERIC=C
 	export G4LEDATA="/opt/local/share/Geant4/Data/G4EMLOW6.32"
 	export G4LEVELGAMMADATA="/opt/local/share/Geant4/Data/PhotonEvaporation2.3"
 	export G4NEUTRONHPDATA="/opt/local/share/Geant4/Data/G4NDL4.2"
@@ -31,4 +35,4 @@
 	export G4RADIOACTIVEDATA="/opt/local/share/Geant4/Data/RadioactiveDecay3.6"
 	export G4REALSURFACEDATA="/opt/local/share/Geant4/Data/RealSurface1.0"
 	export G4SAIDXSDATA="/opt/local/share/Geant4/Data/G4SAIDDATA1.1"
-	/opt/local/bin/Gate $@
\ No newline at end of file
+	/opt/local/bin/Gate $@

Modified: users/mojca/notes/Geant4.txt
===================================================================
--- users/mojca/notes/Geant4.txt	2013-07-09 10:21:01 UTC (rev 107923)
+++ users/mojca/notes/Geant4.txt	2013-07-09 10:24:39 UTC (rev 107924)
@@ -166,3 +166,4 @@
 
 Bugs:
 - http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1485 "aida-config --implementation" doesn't work
+- http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1487 LC_NUMERIC confuses strtod when Qt is being used
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130709/4a0ccc0f/attachment-0001.html>


More information about the macports-changes mailing list