FuTY / mcgpu

Automatically exported from code.google.com/p/mcgpu
1 stars 0 forks source link

Comments and questions regarding the code and its applications #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I would like to perform simulation with new C1 C2 WCC WCR parameters.
If I change the file MC-GPU_create_material_data.f with the new parameter, it 
is impossible to compile the file. There are some errors

`graai_linear_energy__':
/home/dt229232/mcgpu/MC-GPU_material_files/MC-GPU_create_material_data.f:315: 
undefined reference to `graad1_'
/home/dt229232/mcgpu/MC-GPU_material_files/MC-GPU_create_material_data.f:315: 
undefined reference to `ritai0_'
/home/dt229232/mcgpu/MC-GPU_material_files/MC-GPU_create_material_data.f:356: 
undefined reference to `simpsu_'

I am a "new be" with Penelope where ould I find the missing function ?

Thank you 

Regards

David

Original issue reported on code.google.com by david.ti...@yahoo.fr on 27 Jul 2011 at 9:31

GoogleCodeExporter commented 9 years ago
Hi David,

I ran into the same problems.
I think you're trying to compile MC-GPU using PENELOPE 2008.
But currently MC-GPU only works with PENELOPE 2006. PENELOPE 2008 is using a 
different simulation algorithm for the rayleigh and compton scattering with 
different material files.

Currently you have to compile MC-GPU against the 2006 version of PENELOPE.

Best regards
Markus

Original comment by waldtrau...@googlemail.com on 28 Jul 2011 at 12:29

GoogleCodeExporter commented 9 years ago
Hi David,

Markus' answer is correct: the code to generate the material files has to be 
compiled with penelope 2006. The input material file required by the code is 
also a penelope material file generated with the material.f utility and the 
database from penelope 2006.

Anyway, the C1, C2, Wcc and Wcr parameters only affect the condensed simulation 
of electron transport in penelope and therefore they do not modify in the 
photon interaction cross sections and are totally irrelevant to MC-GPU. 

Best regards!

    Andreu

Original comment by andre...@gmail.com on 30 Jul 2011 at 7:20