[Gate-users] Couldnt run Gate command: v4.0.0 on Mac OS X 10.5.4
Niklas Rehfeld
rehfeld at imnc.in2p3.fr
Mon Feb 23 14:21:14 CET 2009
Hello,
Replace the two files and compile again. It should normally work (I
couldn't test it on Mac, but I was told it works).
Niklas
On Mon, 23 Feb 2009 13:19:57 +0100, Massimiliano Colarieti-Tosti
<mct at kth.se> wrote:
> hello!
>
> i am having a similar problem.
> could you please attach again the offended files, i.e.:
> GateCrossSectionsTable.hh
> GateCrossSectionsTable.cc
> or could you please tell me how i can recover them from the archive?
> i am a newbie and was not able to find them.
>
> thanks a lot in advance,
>
> /mamo
>
> #
> m a s s i m i l i a n o c o l a r i e t i - t o s t i
> @
> Royal Institute of Technology,
> School of Technology and Health -
> Marinens väg 30,
> 13640 Handen,
> S w e d e n
>
>> Uwe, thank you so much ! Gate works now , (I only tested
>> benchmarkPET.mac for now)..
>>
>> to summarize:
>>
>> I used 3 files of Uwe Pietrzyk which are attached in the previous 2
>> emails on this subject
>> GateCrossSectionsTable.hh in gate_v4.0.0/source/physics/
>> include
>> GateCrossSectionsTable.cc in gate_v4.0.0/source/
>> physics/
>> src
>> variables.gmk in gate_v4.0.0
>>
>> I didn't need to make the changes suggested by Magnus Dahlbom,
>> although perhaps they are same/similar (i haven't checked this)
>> changes to the Uwe's variables.gmk files.
>>
>> Arda Konik
>>
>>
>>
>> On Nov 21, 2008, at 4:19 PM, Magnus Dahlbom wrote:
>>
>> > You’re the man! That took care of all of the error messages at
>> > least. The benchmark is now running – I will let you know how it
>> > goes. In the end I did not use your variable file, but used the
>> > instructions I got from ludovic Ferrer (see below). Should this
>> > information be forwarded to the Gate “headquarters” to be included
>> > in the installation documentation?
>> >
>> > Thanks again!
>> >
>> > Magnus
>> >
>> > Changes to variables.gmk file:
>> >
>> > CPPFLAGS += -DG4ANALYSIS_USE_ROOT -D_REENTRANT -I$(ROOTSYS)/include
>> > by
>> > CPPFLAGS += -DG4ANALYSIS_USE_ROOT `root-config --cflags`
>> >
>> > and lines
>> > EXTRALIBS += -L$(ROOTSYS)/lib \
>> > -lCore -lCint \
>> > -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad \
>> > -lTree -lRint -lPostscript \
>> > -lMatrix -lPhysics -lMathCore \
>> > -lThread -lm -ldl -lpthread -rdynamic
>> > by
>> > EXTRALIBS += `root-config --libs`
>> >
>> >
>> > On 11/21/08 1:54 PM, "Uwe Pietrzyk" <U.Pietrzyk at fz-juelich.de>
>> wrote:
>> >
>> >> Hi Arda, hi Magnus,
>> >>
>> >> reading your eMails, I remember that I had to modify two more
>> files!
>> >> Sorry, I forgot. You find them attached to this eMail.
>> >> The ..hh file has to be copied to gatev4.0.0/source/include and
>> >> the ..cc file has to be placed into gatev4.0.0/source/src and the
>> >> original files have to be removed from the respective folders.
>> >> I am not an expert to tell you exactly, what was wrong with the
>> >> original
>> >> files; something quite formal, but obviously serious to cause the
>> >> problems.
>> >> Then, please, re-compile after cleaning the tmp and bin
>> directories.
>> >>
>> >> I hope this helps.
>> >>
>> >> Kind regards,
>> >>
>> >> Uwe
>> >>
>> >> -----
>> >>
>> >>
>> >>
>> >>
>> >>
>> --------------------------------------------------------------------------------
>> >>
>> --------------------------------------------------------------------------------
>> >> Forschungszentrum Jülich GmbH
>> >> 52425 Jülich
>> >>
>> >> Sitz der Gesellschaft: Jülich
>> >> Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
>> >> Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
>> >> Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
>> >> Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
>> >> Dr. Sebastian M. Schmidt
>> >>
>> --------------------------------------------------------------------------------
>> >>
>> --------------------------------------------------------------------------------
>> >>
>> >>
>> >>
>> >>>
>> >>>
>> >>> On Nov 21, 2008, at 2:59 AM, Uwe Pietrzyk wrote:
>> >>>
>> >>>>
>> >>>> Hi Arda,
>> >>>>
>> >>>> I nearly used an identical setup except for GEANT where I used
>> >>>> GEANT4.9.1.p02 and I have MacOS 10.5.5
>> >>>> on MacBook and Mac Mini. But you could replace the variables.gmk
>> >>>> in the Gatev4..-directory by the one you
>> >>>> find attached to this eMail and re-compile gate, after cleaning
>> >>>> up the tmp and bin folder in the gate directory.
>> >>>>
>> >>>> Best wishes and good luck
>> >>>>
>> >>>> Uwe Pietrzyk
>> >>>>
>> >>>>
>> >>
>> >>
>> >
>> >
>> /----------------------------------------------------------------------
>> >> Prof. Dr. Uwe Pietrzyk
>> >> Diplom-Physiker
>> >> Institut für Neurowissenschaften und Biophysik / INB-3 (Medizin)
>> >> Forschungszentrum Jülich GmbH
>> >> 52425 Jülich
>> >> Tel: +49-2461-61 4763
>> >> Fax: +49-2461-61 2820 + 8229
>> >> Mobil: +49-162-103-4871
>> >> eMail: U.Pietrzyk at fz-juelich.de
>> >> http://www.fz-juelich.de/inb/inb-3/
>> >> &
>> >> Bergische Universität Wuppertal
>> >> Fachbereich C - Physik / D.08.01
>> >> Gaußstr. 20
>> >> 42097 Wuppertal
>> >> Tel: +49-(0)202-439-3523
>> >> Fax: +49-(0)202-439-2811
>> >> eMail: Uwe.Pietrzyk at physik.uni-wuppertal.de
>> >> http://www.medizinphysik.uni-wuppertal.de
>> >>
>> ----------------------------------------------------------------------/
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> > IMPORTANT WARNING: This email (and any attachments) is only intended
>> > for the use of the person or entity to which it is addressed, and
>> > may contain information that is privileged and confidential. You,
>> > the recipient, are obligated to maintain it in a safe, secure and
>> > confidential manner. Unauthorized redisclosure or failure to
>> > maintain confidentiality may subject you to federal and state
>> > penalties. If you are not the intended recipient, please immediately
>> > notify us by return email, and delete this message from your
>> computer.
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://lists.healthgrid.org/archives/gate-users/attachments/20081121/9027fbee/attachment.htm
>>
>> Previous message: [Gate-users] Couldnt run Gate command: v4.0.0 on
>> Mac OS X 10.5.4
>> Next message: [Gate-users] Implementing CAD-geometries in Gate
>> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> More information about the Gate-users mailing list
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.tgz
Type: application/x-gzip
Size: 4322 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20090223/d12acfcb/attachment-0002.bin>
More information about the Gate-users
mailing list