<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello everyone,
    <br>
    <br>
    I did as Patay Gergely said,and had no problems<br>
    <br>
    <br>
    <div class="moz-cite-prefix">on 2014年05月14日 19:07, Patay Gergely
      wrote:<br>
    </div>
    <blockquote cite="mid:53734E61.906@mediso.hu" type="cite">Hello
      everyone,
      <br>
      <br>
      I encountered this bug too.
      <br>
      Actually, even the main-cpu.mac won't work out-of-the-box, because
      the
      <br>
      Gate[Geometry|Source]VoxelInterfileReader::ReadData function
      assumes that the
      <br>
      binary data has the extension ".i33" regardless of the "name of
      data file" row
      <br>
      in the .hdr file.
      <br>
      This can easily circumvent by renaming 'thorax_phantom.bin' to
      <br>
      'throrax_phantom.i33' (or alternatively, not overwriting the
      m_dataFileName
      <br>
      variable with a hardcoded one).
      <br>
      <br>
      A more serious issue is that the GPU version does not seem to
      respect the
      <br>
      /gate/source/srcvoxel/setPosition command (and the voxel size
      information from
      <br>
      the interfile header), so the phantom is out of the FOV.
      <br>
      See the attached plot where red (CPU) and blue (GPU) dots
      represent the source
      <br>
      positions from Singles.dat files.
      <br>
      <br>
      cheers,
      <br>
        Gergely
      <br>
      <br>
      ---
      <br>
      <br>
      Gergely Patay
      <br>
        physicist
      <br>
      Mediso Medical Imaging Systems Ltd.
      <br>
      Hungary
      <br>
      <br>
      <br>
      <br>
      On 2014-05-14 10:11, JAN Sebastien wrote:
      <br>
      <blockquote type="cite">Hi Bryan,
        <br>
        <br>
        In the ccmake interface, did you set ON the following variable:
        <br>
        <br>
        GATE_DOWNLOAD_EXAMPLES_DATA
        <br>
        <br>
        ?
        <br>
        <br>
        Cheers
        <br>
        <br>
        Seb
        <br>
        <br>
        *De :*gate-users-bounces@lists.opengatecollaboration.org
        <br>
        [<a class="moz-txt-link-freetext" href="mailto:gate-users-bounces@lists.opengatecollaboration.org">mailto:gate-users-bounces@lists.opengatecollaboration.org</a>] *De
        la part de*
        <br>
        Bryan McIntosh
        <br>
        *Envoyé :* mardi 13 mai 2014 17:12
        <br>
        *À :* <a class="moz-txt-link-abbreviated" href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a>
        <br>
        *Objet :* [Gate-users] GATE 7.0 GPU PET example; incomplete
        phantom?
        <br>
        <br>
        Hi everyone,
        <br>
        <br>
        I successfully installed GATE 7.0 and the Nvidia CUDA tools
        yesterday, and am
        <br>
        eager to try out one of the GPU examples on my workstation.
        However, when I
        <br>
        attempt to run the PET example it looks like there may be a
        problem with the
        <br>
        thorax_phantom.bin that was downloaded during the installation.
        The exact error
        <br>
        message is:
        <br>
        <br>
        *** G4Exception : GeomSolids0002
        <br>
        <br>
               issued by : G4Box::G4Box()
        <br>
        <br>
        Dimensions too small for Solid: ncat_solid!
        <br>
        <br>
              hX, hY, hZ = 0, 0, 0
        <br>
        <br>
        Has anyone else run into this? is there a different phantom file
        that I should
        <br>
        be using? The MD5 hash on the file seems to match with the
        <br>
        thorax_phantom.bin.md5 file that was provided in the example
        folder.
        <br>
        <br>
        Thanks for your time,
        <br>
        <br>
        -Bryan
        <br>
        <br>
        <br>
        <br>
        _______________________________________________
        <br>
        Gate-users mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>
        <br>
<a class="moz-txt-link-freetext" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a>
        <br>
        <br>
      </blockquote>
      <br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>