[Gate-users] .rnmd file

Angela M K Foudray afoudray at stanford.edu
Tue Aug 15 00:12:11 CEST 2006


I've attached the program, and here is the previous message:

__________________________________

We've got a little program that writes out a file in the format that 
GATE is looking for.  It's not exactly pretty, but it does what you are 
looking for.  Here's a few things about it:

1) It always writes the output to a file called "test.rndm" (so copy 
this file to something else before running the program again)
2) It always ends in a segmentation fault, but its really done it's job 
(been too lazy to change this since it does what you are really looking 
for it to do - i.e. make a file with GATE random seed syntax)
3) You run it with the seed as a flag passed at the command line, so to 
use it you run:

./testRandom 31245

(exchange 31245 with the random seed of your choice).  And voila, a file 
with a new seed.

___________________________________

Let me know if you have any problems with it.

Ange


komarovs at mir.wustl.edu wrote:

> Ange,
> In my list I do not see the answer to the message "generating rndm 
> file" - next message in a thread "ROOT with gate" (It looks like the 
> archive generator screws up the messages). Any way, I couldn’t find 
> this program.
>
> Thank you.
>
> Serg
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Gate-users mailing list
>Gate-users at lists.healthgrid.org
>http://lists.healthgrid.org/mailman/listinfo/gate-users
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20060814/65c04b68/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testRandom
Type: application/octet-stream
Size: 191712 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20060814/65c04b68/attachment.obj>


More information about the Gate-users mailing list