Changeset 616
- Timestamp:
- Aug 16, 2011 5:46:39 PM (12 years ago)
- Location:
- epicsdf/doc
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
epicsdf/doc/build/html/_sources/installation.txt
r608 r616 101 101 svn co https://subversion.xor.aps.anl.gov/bcdaext/epd_deployment epd_deployment 102 102 cd epd_deployment 103 mkdir images104 103 105 104 2. Copy Enthought installer to Pilatus host computer:: 106 105 107 cp /APSshare/epd/downloads/epd-7.1- 1-rh5-x86.sh ./images108 chmod +x ./images/epd-7.1- 1-rh5-x86.sh106 cp /APSshare/epd/downloads/epd-7.1-2-rh5-x86_64.sh ./images 107 chmod +x ./images/epd-7.1-2-rh5-x86_64.sh 109 108 110 109 3. Check the installation script for valid paths against what is available on the Pilatus host computer. 111 There are several scripts. Here, just edit the macros in the 32-bit script110 There are several scripts. Here, just edit the macros in the 64-bit script 112 111 113 * ``install-rhel5- 32.sh``: installer shell script for 32-bit support112 * ``install-rhel5-64.sh``: installer shell script for 64-bit support 114 113 115 114 ============= ====================================================== … … 121 120 ============= ====================================================== 122 121 123 :note: Consider adding the path defined by ``${EPD_ROOT}/bin`` 124 to the shell ``PATH`` variable. 122 :note: 123 Consider adding the path defined by ``${EPD_ROOT}/bin`` 124 to the shell ``PATH`` variable. 125 125 126 :note: Suggest ``EPD_ROOT=/home/det/epd`` for Pilatus detectors. This makes 127 the Python executable available at 128 ``/home/det/epd/epd-7.1-1-rh5-x86/bin/python`` 126 :note: 127 Suggest ``EPD_ROOT=/home/det/epd`` for Pilatus detectors. This makes 128 the Python executable available at 129 ``/home/det/epd/rh5-x86_64/bin/python`` 130 131 These parameters seem to work well: 132 133 SRC=/tmp/epd_deployment/images/epd-7.1-2-rh5-x86_64.sh 134 LIBCA=/home/det/epics/base-3.14.9/lib/linux-x86_64/libca.so.3.14 135 EPD_ROOT=/home/det/epd 129 136 130 137 4. Run installation script:: 131 138 132 /bin/sh ./install-rhel5- 32.sh139 /bin/sh ./install-rhel5-64.sh 133 140 134 141 The directory ``/tmp/epd_deployment`` can be discarded now. 142 143 5. Consider defining this environment variable:: 144 145 EPD=/home/det/epd/rh5-x86_64 135 146 136 147 Test PyEPICS … … 142 153 :: 143 154 144 command_line> ${EPD _ROOT}/bin/python155 command_line> ${EPD}/bin/python 145 156 import epics 146 157 print epics.caget('S:SRcurrentAI') 147 158 148 159 149 This can be run as 160 This can be run as:: 150 161 151 162 ${EPD_ROOT}/bin/python test_pyepics.py … … 177 188 as its argument (including the ``df:``):: 178 189 179 /home/det/epd/ epd-7.1-1-rh5-x86/bin/python src/epicsdf.py 15iddLAX:p100:df:190 /home/det/epd/rh5-x86_64/bin/python src/epicsdf.py 15iddLAX:p100:df: 180 191 181 192 Configure ``epicsdf`` … … 190 201 DATABASE_PREFIX 15iddLAX:p100:df: 191 202 APP_BASE_DIR /home/det/epicsdf 192 PYTHON /home/det/epd/ epd-7.1-1-rh5-x86/bin/python203 PYTHON /home/det/epd/rh5-x86_64/bin/python 193 204 =================== ========================================================= 205 206 These parameters seem to work well (replace ``yyyyyyy:zzzzzz`` with correct PV parts): 207 208 DATABASE_PREFIX=yyyyyyy:zzzzzz:df: 209 APP_BASE_DIR=/home/det/epicsdf 210 PYTHON=/home/det/epd/rh5-x86_64/bin/python 194 211 195 212 Test this by running each of these commands individually and looking at the output … … 243 260 -M,Z security data c true command name -c scheduling class 244 261 -w,w wide output n numeric WCHAN,UID -H process hierarchy 245 # started 9233: /home/det/epd/ epd-7.1-1-rh5-x86/bin/python /home/det/epicsdf/src/epicsdf.py 15iddLAX:p100:df:262 # started 9233: /home/det/epd/rh5-x86_64/bin/python /home/det/epicsdf/src/epicsdf.py 15iddLAX:p100:df: 246 263 247 264 -
epicsdf/doc/build/html/installation.html
r607 r616 198 198 <div class="highlight-python"><pre>cd /tmp 199 199 svn co https://subversion.xor.aps.anl.gov/bcdaext/epd_deployment epd_deployment 200 cd epd_deployment 201 mkdir images</pre> 200 cd epd_deployment</pre> 202 201 </div> 203 202 </li> 204 203 <li><p class="first">Copy Enthought installer to Pilatus host computer:</p> 205 <div class="highlight-python"><pre>cp /APSshare/epd/downloads/epd-7.1- 1-rh5-x86.sh ./images206 chmod +x ./images/epd-7.1- 1-rh5-x86.sh</pre>204 <div class="highlight-python"><pre>cp /APSshare/epd/downloads/epd-7.1-2-rh5-x86_64.sh ./images 205 chmod +x ./images/epd-7.1-2-rh5-x86_64.sh</pre> 207 206 </div> 208 207 </li> 209 208 <li><dl class="first docutils"> 210 209 <dt>Check the installation script for valid paths against what is available on the Pilatus host computer.</dt> 211 <dd><p class="first">There are several scripts. Here, just edit the macros in the 32-bit script</p>210 <dd><p class="first">There are several scripts. Here, just edit the macros in the 64-bit script</p> 212 211 <ul class="simple"> 213 <li><tt class="docutils literal"><span class="pre">install-rhel5- 32.sh</span></tt>: installer shell script for 32-bit support</li>212 <li><tt class="docutils literal"><span class="pre">install-rhel5-64.sh</span></tt>: installer shell script for 64-bit support</li> 214 213 </ul> 215 214 <table border="1" class="docutils"> … … 243 242 </tbody> 244 243 </table> 244 <table class="docutils field-list" frame="void" rules="none"> 245 <col class="field-name" /> 246 <col class="field-body" /> 247 <tbody valign="top"> 248 <tr class="field"><th class="field-name">note:</th><td class="field-body"><blockquote class="first"> 249 <div><p>Consider adding the path defined by <tt class="docutils literal"><span class="pre">${EPD_ROOT}/bin</span></tt> 250 to the shell <tt class="docutils literal"><span class="pre">PATH</span></tt> variable.</p> 251 </div></blockquote> 245 252 <table class="last docutils field-list" frame="void" rules="none"> 246 253 <col class="field-name" /> 247 254 <col class="field-body" /> 248 255 <tbody valign="top"> 249 <tr class="field"><th class="field-name">note:</th><td class="field-body">Consider adding the path defined by <tt class="docutils literal"><span class="pre">${EPD_ROOT}/bin</span></tt>250 to the shell <tt class="docutils literal"><span class="pre">PATH</span></tt> variable.</td>251 </tr>252 256 <tr class="field"><th class="field-name">note:</th><td class="field-body">Suggest <tt class="docutils literal"><span class="pre">EPD_ROOT=/home/det/epd</span></tt> for Pilatus detectors. This makes 253 257 the Python executable available at 254 <tt class="docutils literal"><span class="pre">/home/det/epd/epd-7.1-1-rh5-x86/bin/python</span></tt></td> 255 </tr> 256 </tbody> 257 </table> 258 <tt class="docutils literal"><span class="pre">/home/det/epd/rh5-x86_64/bin/python</span></tt></td> 259 </tr> 260 </tbody> 261 </table> 262 </td> 263 </tr> 264 </tbody> 265 </table> 266 <p>These parameters seem to work well:</p> 267 <blockquote class="last"> 268 <div><p>SRC=/tmp/epd_deployment/images/epd-7.1-2-rh5-x86_64.sh 269 LIBCA=/home/det/epics/base-3.14.9/lib/linux-x86_64/libca.so.3.14 270 EPD_ROOT=/home/det/epd</p> 271 </div></blockquote> 258 272 </dd> 259 273 </dl> 260 274 </li> 261 275 <li><p class="first">Run installation script:</p> 262 <div class="highlight-python"><pre>/bin/sh ./install-rhel5- 32.sh</pre>276 <div class="highlight-python"><pre>/bin/sh ./install-rhel5-64.sh</pre> 263 277 </div> 264 278 </li> 265 279 </ol> 266 280 <p>The directory <tt class="docutils literal"><span class="pre">/tmp/epd_deployment</span></tt> can be discarded now.</p> 281 <ol class="arabic" start="5"> 282 <li><p class="first">Consider defining this environment variable:</p> 283 <div class="highlight-python"><pre>EPD=/home/det/epd/rh5-x86_64</pre> 284 </div> 285 </li> 286 </ol> 267 287 <div class="section" id="test-pyepics"> 268 288 <h3>Test PyEPICS<a class="headerlink" href="#test-pyepics" title="Permalink to this headline">¶</a></h3> 269 289 <p>Test the Python EPICS support (<a class="reference external" href="http://cars9.uchicago.edu/software/python/pyepics3/">PyEPICS</a>) 270 290 by printing the APS storage ring current.</p> 271 <div class="highlight-python"><pre>command_line> ${EPD _ROOT}/bin/python291 <div class="highlight-python"><pre>command_line> ${EPD}/bin/python 272 292 import epics 273 293 print epics.caget('S:SRcurrentAI')</pre> 274 294 </div> 275 <p>This can be run as </p>276 < blockquote>277 < div>${EPD_ROOT}/bin/python test_pyepics.py</div></blockquote>295 <p>This can be run as:</p> 296 <div class="highlight-python"><pre>${EPD_ROOT}/bin/python test_pyepics.py</pre> 297 </div> 278 298 <p>If this fails on the <tt class="docutils literal"><span class="pre">import</span> <span class="pre">epics</span></tt> statement, then the <tt class="docutils literal"><span class="pre">libCa.so</span></tt> module 279 299 is probably not found.</p> … … 302 322 <dt>Try running the program directly. Note the program accepts a single PV prefix</dt> 303 323 <dd><p class="first">as its argument (including the <tt class="docutils literal"><span class="pre">df:</span></tt>):</p> 304 <div class="last highlight-python"><pre>/home/det/epd/ epd-7.1-1-rh5-x86/bin/python src/epicsdf.py 15iddLAX:p100:df:</pre>324 <div class="last highlight-python"><pre>/home/det/epd/rh5-x86_64/bin/python src/epicsdf.py 15iddLAX:p100:df:</pre> 305 325 </div> 306 326 </dd> … … 330 350 </tr> 331 351 <tr><td>PYTHON</td> 332 <td>/home/det/epd/ epd-7.1-1-rh5-x86/bin/python</td>352 <td>/home/det/epd/rh5-x86_64/bin/python</td> 333 353 </tr> 334 354 </tbody> … … 336 356 </dd> 337 357 </dl> 358 <p>These parameters seem to work well (replace <tt class="docutils literal"><span class="pre">yyyyyyy:zzzzzz</span></tt> with correct PV parts):</p> 359 <blockquote> 360 <div>DATABASE_PREFIX=yyyyyyy:zzzzzz:df: 361 APP_BASE_DIR=/home/det/epicsdf 362 PYTHON=/home/det/epd/rh5-x86_64/bin/python</div></blockquote> 338 363 <p>Test this by running each of these commands individually and looking at the output 339 364 in the <tt class="docutils literal"><span class="pre">shell/epicsdf.log</span></tt> log file:</p> … … 381 406 -M,Z security data c true command name -c scheduling class 382 407 -w,w wide output n numeric WCHAN,UID -H process hierarchy 383 # started 9233: /home/det/epd/ epd-7.1-1-rh5-x86/bin/python /home/det/epicsdf/src/epicsdf.py 15iddLAX:p100:df:</pre>408 # started 9233: /home/det/epd/rh5-x86_64/bin/python /home/det/epicsdf/src/epicsdf.py 15iddLAX:p100:df:</pre> 384 409 </div> 385 410 </div> -
epicsdf/doc/build/html/searchindex.js
r609 r616 1 Search.setIndex({objects:{"":{epicsdf:[5,0,1]},"epicsdf.epicsdf":{setPeriod:[5,1,1],run:[5,1,1],sendMail:[5,1,1],df:[5,1,1],demo:[5,1,1],getDisk:[5,1,1],wf2str:[5,1,1], df2epics:[5,1,1],onMessagePvChange:[5,1,1],isValidPeriod:[5,1,1],caput:[5,1,1],onPeriodPvChange:[5,1,1],caget:[5,1,1],logger:[5,1,1],onAlarmPvChange:[5,1,1],onDiskPvChange:[5,1,1],onEmailsPvChange:[5,1,1],doPeriodicUpdate:[5,1,1]},epicsdf:{epicsdf:[5,2,1]}},terms:{all:[5,3,1,2],code:[1,2,3,4,5,6],ioc15iddlax:1,inpa:3,inpb:3,mnt:3,epd_deploy:1,prefix:[5,3,1],follow:1,disk:[5,0,3,1,2],children:1,row:1,auto_set:1,ver:1,aug:1,specif:3,send:[5,3,1,2],apsshar:1,program:1,present:3,under:1,esc:1,doperiodicupd:5,sent:3,sourc:[5,3,4,1,6],everi:[1,2],string:[5,3],email_list:[5,3],candid:5,caput:[5,3],level:1,gui:[1,6],cmd:1,list:[5,3,1],"try":1,item:[5,1],adjust:1,pvname:5,small:3,epd_root:1,df_demo:5,cron:[0,1,2],zero:[5,3],llsv:3,download:1,even:1,index:[5,1,6],what:1,xor:[1,6],nano:2,sum:1,current:1,version:1,p100k:1,"new":[5,3,1],net:1,method:5,full:1,abov:2,gener:3,here:[3,1],address:[3,1],path:[3,1,2],sinc:[5,1],valu:[5,3,1],wait:5,box:3,search:6,sender:1,getdisk:5,host:[5,0,1,2,6],boi:1,amount:0,earli:3,implement:0,onmessagepvchang:5,extra:1,modul:[5,4,1,6],iocinit:1,unix:[5,0],"boolean":3,instal:[1,6],total:[5,3],select:1,from:[5,0,4,1,3],describ:1,would:0,memori:1,regist:1,prec:3,next:[5,1],few:1,flnk:3,call:[5,0,1],calc:3,type:[5,3,1,2],minor:3,more:1,sort:1,flaw:1,desir:3,warn:1,xorapp:1,command_lin:1,accept:[5,1],examin:5,particular:0,hold:3,cach:5,starter:1,must:[5,1],none:5,word:5,past:2,work:[5,1],det:1,dev:5,cat:1,remain:3,can:[5,3,1],control:[0,1],give:5,process:[5,0,3,1,2],"15iddlaxapp":1,p100:[3,1],indic:[5,0,3,6],high:3,dbloadrecord:1,liter:5,occur:1,end:1,goal:[3,6],secur:1,reprogram:3,write:[0,1],how:1,forest:1,sid:1,verifi:1,simpl:1,css:1,updat:[5,3],watch:[5,0,3,1,2],after:5,befor:1,attent:3,mai:3,data:[0,1,3],grow:3,demonstr:[5,3],rhel5:1,author:1,egu:3,callback:5,maintain:0,environ:2,allow:[5,3,1],enter:[1,2],tty:1,feedback:3,move:1,lsv:3,through:3,hierarchi:1,paramet:[5,3],pyepic:[5,1],style:1,group:1,monitor:[5,0],fit:1,pct:3,bin:[3,1],mail:[5,1],might:1,epics_host_arch:3,non:3,good:1,"return":5,greater:5,python:[0,1,2,4,5,6],subdirectori:1,now:[3,1],nor:3,name:[5,3,1],trac:6,edit:[3,1,2],hihi:3,sevr:3,mode:1,each:[0,1],found:[3,1],calcout:[5,3],side:3,mean:[3,1],just:1,replac:5,individu:1,procedur:1,"15iddlax":[3,1],connect:5,sion:1,our:[5,1],happen:5,orient:1,out:1,variabl:[5,0,3,1,2],hysteresi:3,"100k":1,space:[5,0,3,1,2],req:1,lolo:3,reboot:1,content:[0,4,1,6],onalarmpvchang:5,rel:1,print:1,gov:[5,1,6],pilatu:[1,6],sendmail:[5,1],situat:1,wf2str:5,free:[5,0,3],reason:1,base:3,dictionari:5,"byte":5,bash:2,softioc:3,thread:1,argument:[5,1],could:[5,3,1],keep:1,length:3,place:1,outsid:5,epics_bas:3,onto:0,localdomain:1,first:1,oper:[3,1],softwar:[3,1],major:3,directli:1,onc:5,arrai:5,misc:1,number:[0,3],date:1,instruct:[1,6],done:1,messag:[5,3],ring:1,size:0,given:[5,1],script:[0,1,2],top:1,mkdir:1,system:[0,1],construct:5,npp:3,cumul:1,statement:1,termin:1,conveni:[1,2],includ:1,shell:[0,1,2],consol:0,option:[3,1],wchan:1,tool:[0,1,3],copi:1,specifi:1,appropri:1,necessarili:0,wide:1,hhsv:3,keyword:[5,1],whenev:3,second:5,charact:3,project:[0,3],str:5,entri:3,minut:[1,2],browser:6,pre:5,sai:1,comput:[0,1,2,3,5,6],anl:[1,6],rh5:1,ani:[0,3],prj:[5,3,1],packag:[4,3,2],sax:1,have:[3,1],tabl:[0,6],need:[5,1,2],built:[3,1],someapp:1,inform:[5,0,1],test_pyep:1,self:[5,1],srcurrentai:1,note:[5,3,1,2],also:[1,2],client:[0,1,3,4,5,6],build:[1,6],which:[1,2],command:[5,3,1,2],detector:[0,1,6],noth:1,singl:[0,1,3],sure:2,distribut:[1,6],deploy:1,previou:3,reach:0,react:0,most:2,"class":[5,1],url:1,doc:[1,6],alarm:[5,3,6],request:[3,1],doe:[5,3,1],ondiskpvchang:5,determin:5,show:1,text:[5,0,1],epicsdf:[0,1,2,3,4,5,6],cdt:1,session:1,threshold:0,find:1,help:1,absolut:1,onli:[5,1],locat:2,acquir:0,hopr:3,configur:[3,1],forev:[5,1],should:[5,1],"15id":1,dict:5,local:[5,1,2],reset:3,variou:3,get:5,stop:[0,1,2],nativ:1,made:3,"import":[5,1,2],report:[5,0,1,2],recalcul:3,restart:[0,1,2],app_base_dir:1,partit:[5,0,3,1,2],contain:1,where:[5,0,1],shm:5,respond:5,arr:5,set:[5,0,3,2],art:1,see:[5,3],df2epic:5,result:5,fail:1,dectri:1,statu:1,enthought:[1,6],databas:[5,0,1,3,6],autosav:[3,1],written:1,between:[5,3],drawn:4,email:[5,3,1,2],altern:5,kei:1,start_ioc:3,numer:1,screen:[3,1],job:[5,0,1,2],tue:1,addit:1,both:[1,2],against:1,instanc:5,context:1,improv:3,col:1,p300:[5,3],point:3,within:[5,1],schedul:[0,1],period:[5,0,1,3],chmod:1,linux:1,cancel:1,assum:[0,1],hyst:3,quit:[1,2],devic:3,three:5,empti:3,trigger:[5,3],interest:0,imag:1,convert:5,anywher:1,adl:[3,1],those:0,replic:5,look:1,defin:[5,3,1],calcul:[3,6],behavior:3,error:1,synapps_5_4:1,caget:[5,3,1],libca:1,wfter:1,setperiod:5,suse:1,demo:5,them:5,revis:1,ascii:1,sever:[5,1],develop:[5,3],obsolet:1,suggest:1,make:[1,2],mayb:1,same:[3,1,2],trip:3,fragment:3,html:[1,6],iocboot:1,document:[0,4,3,2,6],http:[1,6],x86:1,effect:1,user:[3,1],ioc:[5,0,1,3,6],typic:[0,3],task:[0,1,2],off:5,macro:[3,1],exampl:[3,1],isvalidperiod:5,thi:[5,0,1,3],epd:1,usual:[3,1],identifi:2,execut:1,when:[5,0,1,3],obtain:0,scrape:1,yet:1,makefil:2,except:1,newdisk:5,add:1,valid:[5,1],logger:5,save:[1,2],libcom:1,match:1,real:1,around:1,format:1,five:2,know:1,background:[5,0],press:1,bit:1,opi:1,desc:3,insert:1,resid:[5,1],like:1,lost:1,docutil:5,onemailspvchang:5,negat:1,necessari:3,either:3,leav:1,output:[0,1,2],signal:[3,1],www:6,old:3,manual:1,some:[5,3,1,2],back:1,percentag:3,intern:5,home:1,successfulli:3,tmp:[5,1],deselect:1,medm:[3,1,6],waveform:[5,3],larg:0,unit:5,condit:3,epic:[0,1,2,3,4,5,6],leader:1,preload:1,database_prefix:1,iocnam:1,run:[5,0,3,1,2],usag:5,step:1,usax:1,hsv:3,src:[5,1],page:[1,6],onperiodpvchang:5,constructor:5,discard:1,luck:1,editor:[1,2],checkup:[1,2],routin:[5,3],bcdaext:[1,6],numpi:5,"float":5,been:[0,1,3],ensur:[0,1],chang:[5,3,1],subvers:[1,6],storag:1,your:1,span:5,log:[5,0,1,2],area:0,support:[0,1,2,3,5,6],"long":1,avail:[5,0,1,3],start:[0,3,1,2],handler:5,interfac:3,low:[3,1,2],forward:3,"function":5,head:1,properli:1,forc:[5,3],link:[0,3,6],crontab:[1,2],jemian:5,line:[3,1,2],"true":1,info:[5,1],notat:1,ppid:1,consist:[4,3,2],possibl:5,"default":[5,3,1],displai:5,record:[5,3,2],below:3,limit:0,problem:1,uid:1,creat:[3,1],s15dserv:1,"int":5,certain:3,dure:[5,1],pid:[0,1,2],repres:5,"char":5,exist:[5,3,1,6],file:[0,3,1,2],check:[5,0,1,2],probabl:1,camonitor:5,boot:5,detail:5,virtual:1,field:3,other:[5,1],bool:5,test:[3,1],you:[1,2],ndarrai:5,consid:1,svn:1,directori:[1,2],propset:1,diskfre:[5,0,4,6],descript:[5,2],eol:1,ignor:1,time:[5,3,1],push:5,escap:1},objtypes:{"0":"py:module","1":"py:method","2":"py:class"},titles:["epicsdf project: documentation","Installation Instructions for Pilatus Detectors","Host computer support documentation","EPICS IOC support documentation","Source code documentation","<tt class=\"docutils literal\"><span class=\"pre\">epicsdf</span></tt>: EPICS diskfree, in python","Contents"],objnames:{"0":"Python module","1":"Python method","2":"Python class"},filenames:["index","installation","host/index","epics/index","src/index","src/epicsdf","contents"]})1 Search.setIndex({objects:{"":{epicsdf:[5,0,1]},"epicsdf.epicsdf":{setPeriod:[5,1,1],run:[5,1,1],sendMail:[5,1,1],df:[5,1,1],demo:[5,1,1],getDisk:[5,1,1],wf2str:[5,1,1],onMessagePvChange:[5,1,1],isValidPeriod:[5,1,1],onPeriodPvChange:[5,1,1],caput:[5,1,1],caget:[5,1,1],df2epics:[5,1,1],onEmailsPvChange:[5,1,1],onAlarmPvChange:[5,1,1],onDiskPvChange:[5,1,1],logger:[5,1,1],doPeriodicUpdate:[5,1,1]},epicsdf:{epicsdf:[5,2,1]}},terms:{all:[5,3,1,2],code:[1,2,3,4,5,6],ioc15iddlax:1,inpa:3,inpb:3,mnt:3,epd_deploy:1,prefix:[5,3,1],follow:1,disk:[5,0,3,1,2],children:1,row:1,auto_set:1,ver:1,aug:1,specif:3,send:[5,3,1,2],apsshar:1,program:1,present:3,under:1,esc:1,doperiodicupd:5,sent:3,sourc:[5,3,4,1,6],everi:[1,2],string:[5,3],email_list:[5,3],candid:5,caput:[5,3],level:1,gui:[1,6],cmd:1,list:[5,3,1],"try":1,item:[5,1],adjust:1,pvname:5,small:3,zzzzzz:1,epd_root:1,df_demo:5,x86_64:1,cron:[0,1,2],zero:[5,3],llsv:3,download:1,even:1,index:[5,1,6],what:1,xor:[1,6],nano:2,sum:1,current:1,version:1,p100k:1,"new":[5,3,1],net:1,method:5,full:1,abov:2,gener:3,here:[3,1],address:[3,1],path:[3,1,2],sinc:[5,1],valu:[5,3,1],wait:5,box:3,search:6,sender:1,getdisk:5,host:[5,0,1,2,6],boi:1,amount:0,earli:3,implement:0,onmessagepvchang:5,extra:1,modul:[5,4,1,6],iocinit:1,unix:[5,0],"boolean":3,instal:[1,6],total:[5,3],select:1,from:[5,0,4,1,3],describ:1,would:0,memori:1,regist:1,prec:3,next:[5,1],few:1,flnk:3,call:[5,0,1],calc:3,type:[5,3,1,2],minor:3,more:1,sort:1,flaw:1,desir:3,warn:1,xorapp:1,command_lin:1,accept:[5,1],examin:5,particular:0,hold:3,cach:5,starter:1,must:[5,1],none:5,word:5,past:2,work:[5,1],det:1,dev:5,cat:1,remain:3,can:[5,3,1],control:[0,1],give:5,process:[5,0,3,1,2],"15iddlaxapp":1,p100:[3,1],indic:[5,0,3,6],high:3,dbloadrecord:1,liter:5,occur:1,end:1,goal:[3,6],secur:1,reprogram:3,write:[0,1],how:1,forest:1,sid:1,verifi:1,simpl:1,css:1,updat:[5,3],watch:[5,0,3,1,2],after:5,befor:1,attent:3,mai:3,data:[0,1,3],grow:3,demonstr:[5,3],rhel5:1,author:1,egu:3,callback:5,maintain:0,environ:[1,2],allow:[5,3,1],enter:[1,2],tty:1,feedback:3,move:1,lsv:3,through:3,hierarchi:1,paramet:[5,3,1],pyepic:[5,1],style:1,group:1,monitor:[5,0],fit:1,pct:3,bin:[3,1],mail:[5,1],might:1,epics_host_arch:3,non:3,good:1,"return":5,greater:5,python:[0,1,2,4,5,6],yyyyyyi:1,subdirectori:1,now:[3,1],nor:3,name:[5,3,1],trac:6,edit:[3,1,2],hihi:3,sevr:3,mode:1,each:[0,1],found:[3,1],calcout:[5,3],side:3,mean:[3,1],just:1,replac:[5,1],individu:1,procedur:1,"15iddlax":[3,1],connect:5,sion:1,our:[5,1],happen:5,orient:1,out:1,variabl:[5,0,3,1,2],hysteresi:3,"100k":1,space:[5,0,3,1,2],req:1,lolo:3,reboot:1,content:[0,4,1,6],onalarmpvchang:5,rel:1,print:1,gov:[5,1,6],correct:1,pilatu:[1,6],sendmail:[5,1],situat:1,wf2str:5,free:[5,0,3],reason:1,base:[3,1],dictionari:5,"byte":5,bash:2,softioc:3,thread:1,argument:[5,1],could:[5,3,1],keep:1,length:3,place:1,outsid:5,epics_bas:3,onto:0,localdomain:1,first:1,oper:[3,1],softwar:[3,1],major:3,directli:1,onc:5,arrai:5,misc:1,number:[0,3],date:1,instruct:[1,6],done:1,messag:[5,3],ring:1,size:0,given:[5,1],script:[0,1,2],top:1,mkdir:[],system:[0,1],construct:5,npp:3,cumul:1,statement:1,termin:1,conveni:[1,2],includ:1,shell:[0,1,2],consol:0,option:[3,1],wchan:1,tool:[0,1,3],copi:1,specifi:1,part:1,necessarili:0,wide:1,hhsv:3,keyword:[5,1],whenev:3,second:5,charact:3,project:[0,3],str:5,entri:3,minut:[1,2],browser:6,pre:5,sai:1,comput:[0,1,2,3,5,6],anl:[1,6],rh5:1,ani:[0,3],prj:[5,3,1],packag:[4,3,2],sax:1,have:[3,1],tabl:[0,6],need:[5,1,2],seem:1,built:[3,1],someapp:1,inform:[5,0,1],test_pyep:1,self:[5,1],srcurrentai:1,note:[5,3,1,2],also:[1,2],client:[0,1,3,4,5,6],build:[1,6],which:[1,2],command:[5,3,1,2],detector:[0,1,6],noth:1,singl:[0,1,3],sure:2,distribut:[1,6],deploy:1,previou:3,reach:0,react:0,most:2,"class":[5,1],url:1,doc:[1,6],alarm:[5,3,6],request:[3,1],doe:[5,3,1],ondiskpvchang:5,determin:5,show:1,text:[5,0,1],epicsdf:[0,1,2,3,4,5,6],cdt:1,session:1,threshold:0,find:1,help:1,absolut:1,onli:[5,1],locat:2,acquir:0,hopr:3,configur:[3,1],forev:[5,1],should:[5,1],"15id":1,dict:5,local:[5,1,2],reset:3,variou:3,get:5,stop:[0,1,2],nativ:1,made:3,"import":[5,1,2],report:[5,0,1,2],recalcul:3,restart:[0,1,2],app_base_dir:1,partit:[5,0,3,1,2],contain:1,where:[5,0,1],shm:5,respond:5,arr:5,set:[5,0,3,2],art:1,see:[5,3],df2epic:5,result:5,fail:1,dectri:1,statu:1,enthought:[1,6],databas:[5,0,1,3,6],autosav:[3,1],written:1,between:[5,3],drawn:4,email:[5,3,1,2],altern:5,kei:1,start_ioc:3,numer:1,screen:[3,1],job:[5,0,1,2],tue:1,addit:1,both:[1,2],against:1,instanc:5,context:1,improv:3,col:1,p300:[5,3],point:3,within:[5,1],schedul:[0,1],period:[5,0,1,3],chmod:1,linux:1,cancel:1,assum:[0,1],hyst:3,quit:[1,2],devic:3,three:5,empti:3,trigger:[5,3],interest:0,imag:1,convert:5,anywher:1,adl:[3,1],those:0,replic:5,look:1,defin:[5,3,1],calcul:[3,6],behavior:3,error:1,synapps_5_4:1,caget:[5,3,1],editor:[1,2],libca:1,wfter:1,setperiod:5,suse:1,demo:5,them:5,revis:1,ascii:1,sever:[5,1],develop:[5,3],obsolet:1,suggest:1,make:[1,2],mayb:1,same:[3,1,2],trip:3,fragment:3,html:[1,6],iocboot:1,document:[0,4,3,2,6],http:[1,6],x86:[],effect:1,user:[3,1],ioc:[5,0,1,3,6],typic:[0,3],task:[0,1,2],off:5,lib:1,macro:[3,1],well:1,exampl:[3,1],isvalidperiod:5,thi:[5,0,1,3],epd:1,usual:[3,1],identifi:2,execut:1,when:[5,0,1,3],obtain:0,scrape:1,yet:1,makefil:2,except:1,newdisk:5,add:1,valid:[5,1],logger:5,save:[1,2],libcom:1,match:1,real:1,around:1,format:1,five:2,know:1,background:[5,0],press:1,bit:1,opi:1,desc:3,insert:1,resid:[5,1],like:1,lost:1,docutil:5,onemailspvchang:5,negat:1,necessari:3,either:3,leav:1,output:[0,1,2],signal:[3,1],www:6,old:3,manual:1,some:[5,3,1,2],back:1,percentag:3,intern:5,home:1,successfulli:3,tmp:[5,1],deselect:1,medm:[3,1,6],waveform:[5,3],larg:0,unit:5,condit:3,epic:[0,1,2,3,4,5,6],leader:1,preload:1,database_prefix:1,iocnam:1,run:[5,0,3,1,2],usag:5,step:1,usax:1,hsv:3,src:[5,1],page:[1,6],onperiodpvchang:5,constructor:5,discard:1,luck:1,checkup:[1,2],routin:[5,3],bcdaext:[1,6],numpi:5,"float":5,appropri:1,been:[0,1,3],ensur:[0,1],chang:[5,3,1],subvers:[1,6],storag:1,your:1,span:5,log:[5,0,1,2],area:0,support:[0,1,2,3,5,6],"long":1,avail:[5,0,1,3],start:[0,3,1,2],handler:5,interfac:3,low:[3,1,2],forward:3,"function":5,head:1,properli:1,forc:[5,3],link:[0,3,6],crontab:[1,2],jemian:5,line:[3,1,2],"true":1,info:[5,1],notat:1,ppid:1,consist:[4,3,2],possibl:5,"default":[5,3,1],displai:5,record:[5,3,2],below:3,limit:0,problem:1,uid:1,creat:[3,1],s15dserv:1,"int":5,certain:3,dure:[5,1],pid:[0,1,2],repres:5,"char":5,exist:[5,3,1,6],file:[0,3,1,2],check:[5,0,1,2],probabl:1,camonitor:5,boot:5,detail:5,virtual:1,field:3,other:[5,1],bool:5,test:[3,1],you:[1,2],ndarrai:5,consid:1,svn:1,directori:[1,2],propset:1,diskfre:[5,0,4,6],descript:[5,2],eol:1,ignor:1,time:[5,3,1],push:5,escap:1},objtypes:{"0":"py:module","1":"py:method","2":"py:class"},titles:["epicsdf project: documentation","Installation Instructions for Pilatus Detectors","Host computer support documentation","EPICS IOC support documentation","Source code documentation","<tt class=\"docutils literal\"><span class=\"pre\">epicsdf</span></tt>: EPICS diskfree, in python","Contents"],objnames:{"0":"Python module","1":"Python method","2":"Python class"},filenames:["index","installation","host/index","epics/index","src/index","src/epicsdf","contents"]}) -
epicsdf/doc/source/installation.rst
r607 r616 101 101 svn co https://subversion.xor.aps.anl.gov/bcdaext/epd_deployment epd_deployment 102 102 cd epd_deployment 103 mkdir images104 103 105 104 2. Copy Enthought installer to Pilatus host computer:: 106 105 107 cp /APSshare/epd/downloads/epd-7.1- 1-rh5-x86.sh ./images108 chmod +x ./images/epd-7.1- 1-rh5-x86.sh106 cp /APSshare/epd/downloads/epd-7.1-2-rh5-x86_64.sh ./images 107 chmod +x ./images/epd-7.1-2-rh5-x86_64.sh 109 108 110 109 3. Check the installation script for valid paths against what is available on the Pilatus host computer. 111 There are several scripts. Here, just edit the macros in the 32-bit script110 There are several scripts. Here, just edit the macros in the 64-bit script 112 111 113 * ``install-rhel5- 32.sh``: installer shell script for 32-bit support112 * ``install-rhel5-64.sh``: installer shell script for 64-bit support 114 113 115 114 ============= ====================================================== … … 121 120 ============= ====================================================== 122 121 123 :note: Consider adding the path defined by ``${EPD_ROOT}/bin`` 124 to the shell ``PATH`` variable. 122 :note: 123 Consider adding the path defined by ``${EPD_ROOT}/bin`` 124 to the shell ``PATH`` variable. 125 125 126 :note: Suggest ``EPD_ROOT=/home/det/epd`` for Pilatus detectors. This makes 127 the Python executable available at 128 ``/home/det/epd/epd-7.1-1-rh5-x86/bin/python`` 126 :note: 127 Suggest ``EPD_ROOT=/home/det/epd`` for Pilatus detectors. This makes 128 the Python executable available at 129 ``/home/det/epd/rh5-x86_64/bin/python`` 130 131 These parameters seem to work well: 132 133 SRC=/tmp/epd_deployment/images/epd-7.1-2-rh5-x86_64.sh 134 LIBCA=/home/det/epics/base-3.14.9/lib/linux-x86_64/libca.so.3.14 135 EPD_ROOT=/home/det/epd 129 136 130 137 4. Run installation script:: 131 138 132 /bin/sh ./install-rhel5- 32.sh139 /bin/sh ./install-rhel5-64.sh 133 140 134 141 The directory ``/tmp/epd_deployment`` can be discarded now. 142 143 5. Consider defining this environment variable:: 144 145 EPD=/home/det/epd/rh5-x86_64 135 146 136 147 Test PyEPICS … … 142 153 :: 143 154 144 command_line> ${EPD _ROOT}/bin/python155 command_line> ${EPD}/bin/python 145 156 import epics 146 157 print epics.caget('S:SRcurrentAI') 147 158 148 159 149 This can be run as 160 This can be run as:: 150 161 151 162 ${EPD_ROOT}/bin/python test_pyepics.py … … 177 188 as its argument (including the ``df:``):: 178 189 179 /home/det/epd/ epd-7.1-1-rh5-x86/bin/python src/epicsdf.py 15iddLAX:p100:df:190 /home/det/epd/rh5-x86_64/bin/python src/epicsdf.py 15iddLAX:p100:df: 180 191 181 192 Configure ``epicsdf`` … … 190 201 DATABASE_PREFIX 15iddLAX:p100:df: 191 202 APP_BASE_DIR /home/det/epicsdf 192 PYTHON /home/det/epd/ epd-7.1-1-rh5-x86/bin/python203 PYTHON /home/det/epd/rh5-x86_64/bin/python 193 204 =================== ========================================================= 205 206 These parameters seem to work well (replace ``yyyyyyy:zzzzzz`` with correct PV parts): 207 208 DATABASE_PREFIX=yyyyyyy:zzzzzz:df: 209 APP_BASE_DIR=/home/det/epicsdf 210 PYTHON=/home/det/epd/rh5-x86_64/bin/python 194 211 195 212 Test this by running each of these commands individually and looking at the output … … 243 260 -M,Z security data c true command name -c scheduling class 244 261 -w,w wide output n numeric WCHAN,UID -H process hierarchy 245 # started 9233: /home/det/epd/ epd-7.1-1-rh5-x86/bin/python /home/det/epicsdf/src/epicsdf.py 15iddLAX:p100:df:262 # started 9233: /home/det/epd/rh5-x86_64/bin/python /home/det/epicsdf/src/epicsdf.py 15iddLAX:p100:df: 246 263 247 264
Note: See TracChangeset
for help on using the changeset viewer.