<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Helvetica Neue";
panose-1:2 0 5 3 0 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:15161917;
mso-list-template-ids:1270905208;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi Ernest,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here it is:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoNormal" style="color:#454545;mso-list:l0 level1 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">From CPU Folder…<o:p></o:p></span>
<ul style="margin-top:0in" type="circle">
<li class="MsoNormal" style="color:#454545;mso-list:l0 level2 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">../common/st.cmd.linuxRT.cpu<o:p></o:p></span>
<ul style="margin-top:0in" type="square">
<li class="MsoNormal" style="color:#454545;mso-list:l0 level3 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">../common/cpuStart<o:p></o:p></span>
<ul style="margin-top:0in" type="square">
<li class="MsoNormal" style="color:#454545;mso-list:l0 level4 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">../facility/envSet.sh<o:p></o:p></span>
<ul style="margin-top:0in" type="square">
<li class="MsoNormal" style="color:#454545;mso-list:l0 level5 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">. $FACILITY_ROOT/epics/iocCommon/common/commonSetup.sh<o:p></o:p></span></li></ul>
</li><li class="MsoNormal" style="color:#454545;mso-list:l0 level4 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">. nfsMount.sh<o:p></o:p></span></li><li class="MsoNormal" style="color:#454545;mso-list:l0 level4 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">. ${EPICS_IOCS}/${HOSTNAME}/kernel-modules.cmd<o:p></o:p></span></li><li class="MsoNormal" style="color:#454545;mso-list:l0 level4 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">su $IOC_USER -c $(which caRepeater) &<o:p></o:p></span></li></ul>
</li><li class="MsoNormal" style="color:#454545;mso-list:l0 level3 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">su $IOC_USER -c linuxRT_cpu_load_viocs.sh<o:p></o:p></span>
<ul style="margin-top:0in" type="square">
<li class="MsoNormal" style="color:#454545;mso-list:l0 level4 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">su $IOC_USER -c 'linuxRT_startup_vioc.sh $VIOC $IOC_EXECUTABLE'<o:p></o:p></span>
<ul style="margin-top:0in" type="square">
<li class="MsoNormal" style="color:#454545;mso-list:l0 level5 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">STARTUP_CMD=$EPICS_IOCS/common/st.cmd.linuxRT<o:p></o:p></span>
<ul style="margin-top:0in" type="square">
<li class="MsoNormal" style="color:#454545;mso-list:l0 level6 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">< ${EPICS_IOCS}/facility/st.cmd.linuxRT.pre<o:p></o:p></span>
<ul style="margin-top:0in" type="square">
<li class="MsoNormal" style="color:#454545;mso-list:l0 level7 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">epicsEnvSet("ACF_FILE","/afs/slac.stanford.edu/g/lcls/epics/iocCommon/facility/Acf/lclsSecurity.acf")<o:p></o:p></span></li><li class="MsoNormal" style="color:#454545;mso-list:l0 level7 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">epicsEnvSet("ACF_INIT","/afs/slac.stanford.edu/g/lcls/epics/iocCommon/facility/Acf/soft_init_acf.cmd.soft")<o:p></o:p></span></li></ul>
</li><li class="MsoNormal" style="color:#454545;mso-list:l0 level6 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">< ${ST_CMD}<o:p></o:p></span></li><li class="MsoNormal" style="color:#454545;mso-list:l0 level6 lfo1"><span style="font-size:9.0pt;font-family:"Helvetica Neue"">< ${EPICS_IOCS}/common/st.cmd.soft.post<o:p></o:p></span></li></ul>
</li></ul>
</li></ul>
</li></ul>
</li></ul>
</li></ul>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">"Williams Jr., Ernest L." <ernesto@slac.stanford.edu><br>
<b>Date: </b>Thursday, May 17, 2018 at 8:52 PM<br>
<b>To: </b>"Hoobler, Sonya" <sonya@slac.stanford.edu>, "lerftest-ctrls@jlab.org" <lerftest-ctrls@jlab.org><br>
<b>Cc: </b>"Williams Jr., Ernest L." <ernesto@slac.stanford.edu>, "Slepicka, Hugo Henrique" <slepicka@slac.stanford.edu><br>
<b>Subject: </b>Re: [Lerftest-ctrls] linxuRT CPU system time<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div id="divtagdefaultwrapper">
<p><span style="font-size:12.0pt;color:black">Hi Sonya and Hugo,<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black">Since LERF is a temporary facility with few linuxRT computers, we should just override "TZ=PST8PDT" in "kernel-modules.cmd"<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;font-family:"Courier New";color:black"># Always use Pacific timezone. This will be fixed in future kernel images, but
<br>
# no harm in being redundant. <br>
export TZ=PST8PDT <br>
echo "Pacific timezone is "$TZ</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;font-family:"Courier New";color:black">Note: commonSetup.sh is maintained by CVS.</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-size:12.0pt;font-family:"Courier New";color:black">I am not sure if it is worth the trouble to put logic that figures out the Locale/Region.<br>
<br>
</span><span style="font-size:12.0pt;color:black">Hugo, can you tell us the order of all these start scripts?<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black">I need a clear order of who calls who.<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p style="margin-bottom:12.0pt"><span style="font-size:12.0pt;color:black">Starting from: </span><span style="font-size:12.0pt;font-family:"Courier New";color:black">/usr/local/lcls/epics/iocCommon/lcls-llrfcpu01/</span><span style="font-size:12.0pt;font-family:"Courier New";color:aqua">startup.cmd</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black">Cheers,<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<div id="Signature">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Ernest Williams <br>
Dept. Head, Advanced Control Systems<br>
Advanced Instrumentation Research, Technology Innovation Directorate<br>
SLAC National Laboratory, Stanford University<o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> Lerftest-ctrls <lerftest-ctrls-bounces@jlab.org> on behalf of Williams Jr., Ernest L. <ernesto@slac.stanford.edu><br>
<b>Sent:</b> Thursday, May 17, 2018 8:34 PM<br>
<b>To:</b> Hoobler, Sonya; lerftest-ctrls@jlab.org<br>
<b>Subject:</b> Re: [Lerftest-ctrls] linxuRT CPU system time</span><span style="font-size:12.0pt;color:black">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div id="x_divtagdefaultwrapper">
<p><span style="font-size:12.0pt;color:black">Hi Sonya,<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black">Do you mind if I go in a fix this?<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black">I will need to reboot both linuxRT computers.<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black">Cheers,<o:p></o:p></span></p>
<div id="x_Signature">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Ernest Williams <br>
Dept. Head, Advanced Control Systems<br>
Advanced Instrumentation Research, Technology Innovation Directorate<br>
SLAC National Laboratory, Stanford University<o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="x_divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> Lerftest-ctrls <lerftest-ctrls-bounces@jlab.org> on behalf of Sonya Hoobler <sonya@slac.stanford.edu><br>
<b>Sent:</b> Thursday, May 17, 2018 2:24 PM<br>
<b>To:</b> lerftest-ctrls@jlab.org<br>
<b>Subject:</b> [Lerftest-ctrls] linxuRT CPU system time</span><span style="font-size:12.0pt;color:black">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">Hi Hugo,<br>
<br>
I see commonSetup.sh sets the time zone to SLAC time:<br>
<br>
export TZ=PST8PDT<br>
<br>
How do we want to handle this?<br>
<br>
And actually, the linuxRT CPU system time is 8 hours ahead:<br>
<br>
#date<br>
Thu May 17 22:19:05 PDT 2018<br>
<br>
so that is odd.<br>
<br>
Thanks,<br>
Sonya<br>
<br>
<br>
_______________________________________________<br>
Mailing List: Lerftest-ctrls@jlab.org<br>
<a href="https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls">https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls</a><br>
Wiki: <a href="https://wiki.jlab.org/lerf/index.php/Network">https://wiki.jlab.org/lerf/index.php/Network</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>