<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 07.09.2014 10:22, Ali User wrote:<br>
    </div>
    <blockquote
cite="mid:CAAiyeaTJZQCxDJjc5oj5dyncS+LDYyt6+B9-jA5bfTWq5mmkTQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Dear polkovinkov
        <div><br>
        </div>
        <div>Thank you so much for your reply to my question of:</div>
        <div><br>
        </div>
        <i><span style="font-family:arial,sans-serif;font-size:13px">After
            I enter following commands in vGate_2.1:</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">></span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            *Idle> gate/world/daughters/name XXX*</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            *Idle> gate/world/daughters/insert box*</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">></span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            I face this error:</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">></span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            */home/gate/Progs/Gate/gate_</span><span
            style="font-family:arial,sans-serif;font-size:13px">v6.2/source/geometry/src/</span><span
            style="font-family:arial,sans-serif;font-size:13px">GateMaterialDatabase.cc</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            (l.132): GateMaterialDatabase: could not find the definition
            for material</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            'Vacuum' in material files*</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">></span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            And once I enter*Idle> /gate/geometry/</span><span
            style="font-family:arial,sans-serif;font-size:13px">setMaterialDatabase
            GateMaterials.db*</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">> 
             following message appears</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">></span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            *-------- EEEE ------- G4Exception-START -------- EEEE
            -------*</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            **** G4Exception : GateMDBFile*</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            *      issued by : GateMDBFile::GateMDBFile*</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            *Could not find material database file 'GateMaterials.db'*</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            **** Fatal Exception *** core dump ****</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            *-------- EEEE -------- G4Exception-END --------- EEEE
            -------*</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">></span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            the result is the same when I type *Idle></span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">>
            /gate/geometry/</span><span
            style="font-family:arial,sans-serif;font-size:13px">setMaterialDatabase
            data/GateMaterials.db*</span><br
            style="font-family:arial,sans-serif;font-size:13px">
          <span style="font-family:arial,sans-serif;font-size:13px">></span><br
            style="font-family:arial,sans-serif;font-size:13px">
        </i>
        <div><span style="font-family:arial,sans-serif;font-size:13px"><i>>
              what is the problem? and how can I solve this problem to
              define my volume?</i></span></div>
        <div> </div>
        <div><br>
        </div>
        <div>but as I mentioned earlier, I am working with vGate
          (virtual Gate) not Gate. By that I mean vGate is a pack that
          is run by virtual machine, therefore i don't have access to
          modify it. Do you have any idea how to solve my problem in
          vGate?</div>
        <div><br>
        </div>
        <div>Thank you in advance for your help </div>
      </div>
    </blockquote>
    Hi,<br>
    <br>
    There are two files in VGate 2.1 in /home/gate/Progs/Gate/gate_v6.2
    directory: GateMaterials.db, Materials.xml<br>
    <br>
    so you can use in your macro as<br>
    <br>
    /gate/geometry/setMaterialDatabase
    /home/gate/Progs/Gate/gate_v6.2/GateMaterials.db<br>
    <br>
    or if your have a macro file in gate_v6.2 directory<br>
    <br>
    /gate/geometry/setMaterialDatabase GateMaterials.db<br>
    <br>
    <br>
    <br>
    Best regards,<br>
    Mikhail<br>
    <br>
    <br>
  </body>
</html>