<div dir="ltr"><div><div><div><div>Dear David, Gate users,<br><br>Oh thank you.<br></div>So I have my environment variables updated. But the problem still remains when I run the example B1:<br><font size="4"><b><font size="2">bash: /home/manhcam0510/geant4/<wbr>geant4.10.01.p03-install/<wbr>share/Geant4-10.1.3/gean4make/<wbr>geant4make.sh: No such file or directory<br></font></b></font></div><font size="4"><font size="2">Can anyone show me how to fix it??<br><br></font></font></div><font size="4"><font size="2">Thanks in advance,<br></font></font></div><font size="4"><font size="2">Manh Cam<br></font></font></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><div><div><span style="color:rgb(153,153,153)"><font size="2"><br><br>Nguyễn Mạnh Cầm<br></font></span></div><span style="color:rgb(153,153,153)"><font size="2">Undergraduate Student<br></font></span></div><span style="color:rgb(153,153,153)"><font size="2">Department of Nuclear Physics & Engineering<br></font></span></div><span style="color:rgb(153,153,153)"><font size="2">Faculty of Physics & Engineering Physics<br></font></span></div><span style="color:rgb(153,153,153)"><font size="2">University of Science, VNU-HCM, Ho Chi Minh City, Vietnam<br></font></span></div><div><span style="color:rgb(153,153,153)"><font size="2">Telephone: 0968 922 796<br></font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, May 3, 2017 at 2:49 PM, David Boersma <span dir="ltr"><<a href="mailto:david.boersma@physics.uu.se" target="_blank">david.boersma@physics.uu.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Manh Cam,<br>
<br>
Maybe we can make this a bit more explicit in the docs, but they say that "bash or zsh: source /...path..../geant4.sh" and "[t]csh: source /...path.../geant4.csh". So you need only one of those. Since you are on Ubuntu, which has "bash" as the default shell, you only need to source "geant4.sh", and then proceed as usual.<br>
<br>
David<span class=""><br>
<br>
Den 01/05/2017 kl. 19:36, skrev Mạnh Cầm Nguyễn:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Dear Mr. Paulo, Mr. Rachid, and Gate Users,<br>
<br>
Thanks for your quick replies.<br>
<br>
I'm sorry but I don't really know if my environment variables are set<br>
and how to check it.<br></span>
I followed the step called: "*update your environment variables file*''<span class=""><br>
in Gate installation guide (<br>
<a href="http://wiki.opengatecollaboration.org/index.php/Compilation_Instructions_V7.1" rel="noreferrer" target="_blank">http://wiki.opengatecollaborat<wbr>ion.org/index.php/Compilation_<wbr>Instructions_V7.1</a><br>
) which is these two commands:<br></span>
*source ~/geant4/geant4.10.01.p03-inst<wbr>all/bin/geant4.sh**<br>
source ~/geant4/geant4.10.01.p03-inst<wbr>all/bin/geant4.csh*<span class=""><br>
<br>
But you can see in my attached pictures, there was an error with the<br></span>
*geant4.csh* file*<br>
bash: /home/manhcam0510/geant4/geant<wbr>4.10.01.p03-install/bin/geant4<wbr>.csh:<br>
line 27: syntax error near unexpected token `('**<span class=""><br>
bash: /home/manhcam0510/geant4/geant<wbr>4.10.01.p03-install/bin/geant4<wbr>.csh:<br>
line 27: `set ARGS=($_)'<br></span>
*<span class=""><br>
<br>
And after I tried 3 steps suggested by Mr. Paulo, the error was still<br>
the same as yesterday ("no such file or directory" with the<br>
geant4make.sh file) and I couldn't run the example. Can you tell me more<br>
clearly how to set my environment variables.<br>
Thank you very much<br>
<br>
Manh Cam.<br>
<br>
<br>
<br>
<br>
<br>
<br></span><span class="">
______________________________<wbr>_________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecolla<wbr>boration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollabora<wbr>tion.org/mailman/listinfo/<wbr>gate-users</a><br>
<br>
</span></blockquote><div class="HOEnZb"><div class="h5">
______________________________<wbr>_________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecolla<wbr>boration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollabora<wbr>tion.org/mailman/listinfo/<wbr>gate-users</a></div></div></blockquote></div><br></div>