FuTY / mcgpu

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

Trying to strat Simulations #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello Andreu,

I would to ask about two issues:

1. I tried to start the simulation, which is described in MCGPU v1.3. with the 
following commands:

a. gcc -x c -O3 MC-GPU_v1.3.cu -o MC-GPU_v1.3_CPU.x -I./ -lm -lz

b. ./MC-GPU_v1.3.x MC-GPU_v1.3.in | tee MC-GPU_v1.3.out

after the second command i got the following error

fopen ERROR load_voxels!! File 
/GPU_cluster/voxelized_phantoms/Duke_34y_V5_5mm.raw.vox.gz does not exist!!

2. I tried to run Zubalphatom Data with the follwoing commands :
gcc -O3 zubal2mcgpu.c -o zubal2mcgpu.x

a. ./zubal2mcgpu.x zubal2mcgpu_conversion_table.in voxel_man.dat

b.   gzip voxel_man.dat.vox

c. ../MC-GPU_v1.3.x MC-GPU_v1.3_Zubal.in | tee MC-GPU_v1.3_Zubal.out

the following last erorr came after running the last command:

-- Reading voxel file 'Zubal_voxel_man.vox.gz':

!!Reading ERROR load_voxels!! File is not readable or does not contain the 
string '[SECTION VOXELS HEADER'!!

Thank you very much for your help

Best regards
Ghassan 

Original issue reported on code.google.com by ghassan....@gmail.com on 28 Dec 2013 at 9:49

GoogleCodeExporter commented 9 years ago
Hi Ghassan,

It looks like the program is not able to locate the geometry file.
You will need to edit the .in file and provide the correct name for the voxel 
file (you can use any name, just make sure the file exists). 
By default the program will look for the file in the directory where the 
executable file is located but you can provide also a full path.
For example, I usually keep my phantoms in the directory 
"/GPU_cluster/voxelized_phantoms/", but surely you have a different path to 
your file.
The program can read files in plain text or compressed with gzip.

Happy new year!

     Andreu

Original comment by andre...@gmail.com on 2 Jan 2014 at 6:14

GoogleCodeExporter commented 9 years ago
Hi Andreu,

Thanks  for Answering the last issue. I gained the Duke phantom and the virtual 
family  from the ITIS Foundation 
(http://www.itis.ethz.ch/services/anatomical-models/overview/)as 
(Duke_34y_v_2mm.raw) data  . 
In addition there are two programs with the phantom semcadx and virtual family 
tool. I would like to ask two questions :

1.How could be the raw.data to voxel gometery converted or exported ? 

2. Is there the possibility to simulate a x-ray source in mcgpu with an Energy 
less 60 KeV?

Best regards
Ghassan 

Original comment by ghassan....@gmail.com on 19 Jan 2014 at 3:43

GoogleCodeExporter commented 9 years ago
Hi Ghassan,
To convert the Virtual Family phantom to the voxel format used by MC-GPU you 
will need to create a conversion table following the example provided in the 
file "zubal2mcgpu.zip" in the Downloads tab. 
Following this code used to convert the Zubal phantom you will be able to 
convert any phantom.
Essentially you just need to read the original binary information and then 
apply the conversion table to convert from organ numbers in the phantom to 
material and densities in the Monte Carlo code.

There is no problem to simulate x-ray sources below 60 keV in MC-GPU (the 
example material files I provide are tabulated down to 5 keV I think).

Have a nice day!

    Andreu

Original comment by andre...@gmail.com on 24 Jan 2014 at 4:53