<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(166, 166, 166) solid;font-family:"Segoe UI","Segoe WP","Segoe UI WPC",Tahoma,Arial,sans-serif;font-size:10pt;color:rgb(51, 51, 51);} .ms-cui-menusection-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decoration:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(205, 230, 247);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;margin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-icon {margin: 0px 6px 0px 6px;vertical-align:middle!important;padding-bottom: 2px;display:inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(205, 230, 247) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {padding:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85px;height:24px;overflow:hidden}.wf {speak:none; font-weight:normal; font-variant:normal; text-transform:none; -webkit-font-smoothing:antialiased; vertical-align:middle; display:inline-block;}.wf-family-owa {font-family:'o365Icons'}@font-face { font-family:'o365IconsIE8'; src:url('prem/15.0.995.34/resources/styles/office365icons.ie8.eot?#iefix') format('embedded-opentype'), url('prem/15.0.995.34/resources/styles/office365icons.ie8.woff') format('woff'), url('prem/15.0.995.34/resources/styles/office365icons.ie8.ttf') format('truetype'); font-weight:normal; font-style:normal;}@font-face { font-family:'o365IconsMouse'; src:url('prem/15.0.995.34/resources/styles/office365icons.mouse.eot?#iefix') format('embedded-opentype'), url('prem/15.0.995.34/resources/styles/office365icons.mouse.woff') format('woff'), url('prem/15.0.995.34/resources/styles/office365icons.mouse.ttf') format('truetype'); font-weight:normal; font-style:normal;}.wf-family-owa {font-family:'o365IconsMouse'}.ie8 .wf-family-owa {font-family:'o365IconsIE8'}.ie8 .wf-owa-play-large:before {content:'\e254';}.notIE8 .wf-owa-play-large:before {content:'\e054';}.ie8 .wf-owa-play-large {color:#FFFFFF/*$WFWhiteColor*/;}.notIE8 .wf-owa-play-large {border-color:#FFFFFF/*$WFWhiteColor*/; width:1.4em; height:1.4em; border-width:.1em; border-style:solid; border-radius:.8em; text-align:center; box-sizing:border-box; -moz-box-sizing:border-box; padding:0.1em; color:#FFFFFF/*$WFWhiteColor*/;}.ie8 .wf-size-play-large {width:40px; height:40px; font-size:30px}.notIE8 .wf-size-play-large {width:40px; height:40px; font-size:30px}.notIE8 .wf-owa-triangle-down-small:before {content:'\e052';}.ie8 .wf-owa-triangle-down-small:before { content:'\e052';}.ie8 .wf-owa-triangle-down-small {color:#666666/*$WFGreyColor*/;}.wf-size-x20 {font-size: 20px!important;}
<!--
p
{margin-top:0;
margin-bottom:0}
.ms-cui-menu
{background-color:#ffffff;
border:1px rgb(166,166,166) solid;
font-family:"Segoe UI","Segoe WP","Segoe UI WPC",Tahoma,Arial,sans-serif;
font-size:10pt;
color:rgb(51,51,51)}
.ms-cui-menusection-title
{}
.ms-cui-ctl
{vertical-align:text-top;
text-decoration:none;
color:rgb(51,51,51)}
.ms-cui-ctl-on
{background-color:rgb(205,230,247)}
.ms-cui-img-cont-float
{display:inline-block;
margin-top:2px}
.ms-cui-smenu-inner
{padding-top:0px}
.ms-owa-paste-option-icon
{margin:0px 6px 0px 6px;
vertical-align:middle!important;
padding-bottom:2px;
display:inline-block}
.ms-rtePasteFlyout-option
{padding:8px 4px 8px 4px;
outline:none}
.ms-cui-menusection
{float:left;
width:85px;
height:24px;
overflow:hidden}
.wf
{speak:none;
font-weight:normal;
font-variant:normal;
text-transform:none;
vertical-align:middle;
display:inline-block}
.wf-family-owa
{font-family:'o365Icons'}
@font-face
{font-family:'o365IconsIE8';
font-weight:normal;
font-style:normal}
@font-face
{font-family:'o365IconsMouse';
font-weight:normal;
font-style:normal}
.wf-family-owa
{font-family:'o365IconsMouse'}
.ie8 .wf-family-owa
{font-family:'o365IconsIE8'}
.notIE8 .wf-owa-play-large
{border-color:#FFFFFF;
width:1.4em;
height:1.4em;
border-width:.1em;
border-style:solid;
text-align:center;
padding:0.1em;
color:#FFFFFF}
.ie8 .wf-size-play-large
{width:40px;
height:40px;
font-size:30px}
.notIE8 .wf-size-play-large
{width:40px;
height:40px;
font-size:30px}
.wf-size-x20
{font-size:20px!important}
.ms-cui-menu
{background-color:#ffffff;
border:1px rgb(166,166,166) solid;
font-family:"Segoe UI","Segoe WP","Segoe UI WPC",Tahoma,Arial,sans-serif;
font-size:10pt;
color:rgb(51,51,51)}
.ms-cui-ctl
{vertical-align:text-top;
text-decoration:none;
color:rgb(51,51,51)}
.ms-cui-ctl-on
{background-color:rgb(205,230,247)}
.ms-cui-img-cont-float
{display:inline-block;
margin-top:2px}
.ms-cui-smenu-inner
{padding-top:0px}
.ms-owa-paste-option-icon
{margin:0px 6px 0px 6px;
vertical-align:middle!important;
padding-bottom:2px;
display:inline-block}
.ms-rtePasteFlyout-option
{padding:8px 4px 8px 4px;
outline:none}
.ms-cui-menusection
{float:left;
width:85px;
height:24px;
overflow:hidden}
.wf
{speak:none;
font-weight:normal;
font-variant:normal;
text-transform:none;
vertical-align:middle;
display:inline-block}
.wf-family-owa
{font-family:'o365Icons'}
@font-face
{font-family:'o365IconsIE8';
font-weight:normal;
font-style:normal}
@font-face
{font-family:'o365IconsMouse';
font-weight:normal;
font-style:normal}
.wf-family-owa
{font-family:'o365IconsMouse'}
.ie8 .wf-family-owa
{font-family:'o365IconsIE8'}
.notIE8 .wf-owa-play-large
{border-color:#FFFFFF;
width:1.4em;
height:1.4em;
border-width:.1em;
border-style:solid;
text-align:center;
padding:0.1em;
color:#FFFFFF}
.ie8 .wf-size-play-large
{width:40px;
height:40px;
font-size:30px}
.notIE8 .wf-size-play-large
{width:40px;
height:40px;
font-size:30px}
.wf-size-x20
{font-size:20px!important}
-->
--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"></span><span style="font-size:10pt">Hi again everyone,</span></p>
<p><br>
<span style="font-size:10pt"></span></p>
<p><span style="font-size:10pt">just to update the issue: the problem seems to rely on (my) Gate not loading the Materials.xml and Surfaces.xml-files, even though I have them named this way and even though I'm launching Gate inside the directory where the files
are. </span></p>
<p><br>
<span style="font-size:10pt"></span></p>
<p><span style="font-size:10pt">If anyone has encountered the same before, please let me know if you know a solution. Otherwise, I'll update the user-list if I find a solution on my own.</span></p>
<p><br>
<span style="font-size:10pt"></span></p>
<p><span style="font-size:10pt">Regards,</span></p>
<p><br>
<span style="font-size:10pt"></span></p>
<p><span style="font-size:10pt">David</span><br>
</p>
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>Från:</b> gate-users-bounces@lists.opengatecollaboration.org <gate-users-bounces@lists.opengatecollaboration.org> för David Larsson <davlars@kth.se><br>
<b>Skickat:</b> den 2 februari 2015 10:14<br>
<b>Till:</b> Vesna Cuplov<br>
<b>Kopia:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Ämne:</b> Re: [Gate-users] Issue enabling Surfaces/Optical Photons - COMMAND NOT FOUND - Gate v.7</font>
<div> </div>
</div>
<div>
<p><font size="2">Hi Vesna, </font></p>
<p><br>
<font size="2"></font></p>
<p><font size="2">thanks for your answer. Yes I did add 'OpticalBoundary', 'OpticalAbsorption', 'OpticalRayleigh' and 'OpticalMie' within my mac-script, however I still get the same error message (i.e. 'surfaces'-commands not found/available).
</font></p>
<p><br>
<font size="2"></font></p>
<p><font size="2">I have tried to run the same script on a previous Geant4-compilation (9.6) as well as earlier libraries of CLHEP (2.1.3.1 and 2.1.4.1) but still have the same issue. It seems like I have succesfully turned ON the GATE_USE_OPTICAL setting (since
I can add optical physical processes without any problems) but still, the surface-options seems to still be lacking. Anyone having encountered the same or knows what I could try to resolve this?
</font></p>
<p><br>
<font size="2"></font></p>
<p><font size="2">Thanks for your help,</font></p>
<p><br>
<font size="2"></font></p>
<p><font size="2">David</font></p>
<p><font size="2"><br>
</font></p>
<div id="Signature">
<div style="font-family:Tahoma; font-size:13px"><span lang="sv"></span></div>
</div>
<div style="color:rgb(33,33,33)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>Från:</b> Vesna Cuplov <vesna.cuplov@gmail.com><br>
<b>Skickat:</b> den 31 januari 2015 16:37<br>
<b>Till:</b> David Larsson<br>
<b>Kopia:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Ämne:</b> Re: [Gate-users] Issue enabling Surfaces/Optical Photons - COMMAND NOT FOUND - Gate v.7</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Hello David,<br>
<br>
Did you specify the following physics processes?<br>
<br>
/gate/physics/addProcess OpticalAbsorption <br>
/gate/physics/addProcess OpticalRayleigh <br>
/gate/physics/addProcess OpticalBoundary <== needed for Surface processes<br>
/gate/physics/addProcess OpticalMie <br>
<br>
</div>
Hope this helps,<br>
vesna<br>
<div><br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jan 28, 2015 at 6:59 PM, David Larsson <span dir="ltr">
<<a href="mailto:davlars@kth.se" target="_blank">davlars@kth.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Dear Gate-users,<br>
<br>
I'm just about to start working with optical photons in Gate and have gotten a test script for trying this feature. However, when running I get the error message below:<br>
<br>
<br>
***** COMMAND NOT FOUND </gate/micropixels/surfaces/name glasslayer_micropixels> *****<br>
<br>
I can manually within Gate see that "surfaces" is not an enabled feature of any created geometry. I've followed the User guide and made sure that GATE_USE_OPTICAL is set to "ON", recompiled and re-run the Gate-installation (make install). However, I still seem
to get this issue.<br>
<br>
I'm working with the following package versions:<br>
<br>
Root version is 5.34/22<br>
<br>
Geant4 version is 10.0.3<br>
<br>
CMake version 2.8.12.2<br>
<br>
CLHEP version is 2.2.0.3<br>
<br>
Gate version is 7.0<br>
<div><br>
Does anyone know what I have to do to enable surface and optical photon options? Does anyone know how to proceed from the above?<br>
<br>
Thanks in advance for your help.<br>
<br>
Best regards,<br>
<br>
David Larsson<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>