[gate-users] missing materials

Nehmeh, Sadek/Medical Physics nehmehs at mskcc.org
Fri Nov 25 20:42:03 CET 2005


One fix can be what Jose suggested, that is using geant4.7.0 instead. 

	Sadek

-----Original Message-----
From: gate-users-bounces at lphe1pet1.epfl.ch
[mailto:gate-users-bounces at lphe1pet1.epfl.ch] On Behalf Of FENG,YUXIN
Sent: Friday, November 25, 2005 2:37 PM
To: GATE feedback and helpline for Users
Subject: Re: [gate-users] missing materials

Hi all,

I found the same erros after I install Gate 2.2.0 with GEANT4 7.1.
GateMaterials.db did in the gate directory. If I remove GateMaterials.db
and run Gate again, it shows another error of that GateMaterials.db can
not find.
It means that the program does find GateMaterials.db.

With GateMaterials.db in the gate directory, the details of the erro
message are below:

---> warning from G4Material::GetMaterial(). The material: Air
does not exist in the table. Return NULL pointer.

---> warning from G4Element::GetElement(). The element: Nitrogen 
does not exist in the table. Return NULL pointer.

---> warning from G4Element::GetElement(). The element: Oxygen 
does not exist in the table. Return NULL pointer.

---> warning from G4Element::GetElement(). The element: Argon does 
not exist in the table. Return NULL pointer.

---> warning from G4Element::GetElement(). The element: Carbon 
does not exist in the table. Return NULL pointer.

It seams to me that error is in the calling of 
G4Element::GetElement().
Could you tell me how to fix it?

Thanks


Yuxin



On Fri Nov 25 13:25:20 EST 2005, Assen Kirov <kirova at mskcc.org> 
wrote:

> Sadek,
> Is the GateMaterials.db file with all materials in your new gate 
> directory?
> If not take it from a previous install.
> Assen
> 
> Nehmeh, Sadek/Medical Physics wrote:
> 
>> Hi All,
>> 
>> I have installed gate2.2.0 with geant4.7.1.p01 and clhep1.9.2.1 
>> on my Fedora Core. All packages were compiled with absolutely no 
>> errors. The geant4 examples were also compiled successfully, and 
>> I was able to run all of them. However forgate gate, it can't 
>> find the material elements; here's the message I am getting 
>> everytime an element is being called:
>> 
>> ---> warning from G4Material::GetMaterial(). The material: Air 
>> does not exist in the table. Return NULL pointer.
>> 
>> 
>> Any suggestions? Thanks.
>> 
>>  Sadek
>> 
>> 
>> 
>>     
>> =====================================================================
>>         Please note that this e-mail and any files transmitted 
>> with it may be     privileged, confidential, and protected from 
>> disclosure under     applicable law. If the reader of this 
>> message is not the intended     recipient, or an employee or 
>> agent responsible for delivering this     message to the 
>> intended recipient, you are hereby notified that any     
>> reading, dissemination, distribution, copying, or other use of 
>> this     communication or any of its attachments is strictly 
>> prohibited.  If     you have received this communication in 
>> error, please notify the     sender immediately by replying to 
>> this message and deleting this     message, any attachments, and 
>> all copies and backups from your     computer.
>> 
>> 
>> _______________________________________________
>> gate-users mailing list
>> gate-users at lphe1pet1.epfl.ch
>> http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
>> 
>> 
> 
> -- Assen S. Kirov, Ph.D.
> Assistant Attending Physicist
> Department of Medical Physics, Room S-1119H
> Memorial Sloan-Kettering Cancer Center
> 1275 York Avenue,  New York, NY 10021
> tel (212) 639-7126, fax (212) 717 3010
> 
> 
> 
> _______________________________________________
> gate-users mailing list
> gate-users at lphe1pet1.epfl.ch
> http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
> 
> 



--
FENG,YUXIN

_______________________________________________
gate-users mailing list
gate-users at lphe1pet1.epfl.ch
http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users







More information about the Gate-users mailing list