it seems I still miss something. Now the errors are:
========================
oak002:~> elegantRingAnalysis
Error in startup script: invalid command name "APSDebugPath"
while executing
"APSDebugPath"
(file "/afs/slac/g/beamphysics/software/Elegant_2014/usr/bin/elegantRingAnalysis" line 157)
oak002:~> elegantRingAnalysis
Error in startup script: can't find package Iwidgets
while executing
"package require Iwidgets"
(procedure "APSTabFrame" line 22)
invoked from within
"APSTabFrame .top -parent .userFrame -tabPosition $tabPosition \
-labelList $topLabelList -frameIndexVariable topIndex \
..."
invoked from within
"set topTabList [APSTabFrame .top -parent .userFrame -tabPosition $tabPosition \
-labelList $topLabelList -frameIndexVariable topInde..."
(file "/afs/slac/g/beamphysics/software/Elegant_2014/usr/bin/elegantRingAnalysis" line 1388)
===================
can you suggest what to do?
thanks,
Yuantao
svn problem while running Build-AOP-RPMs.tcl
Re: svn problem while running Build-AOP-RPMs.tcl
You need the Iwidgets Tcl system package. This package also requires the itcl and itk packages. You can get all of these for RHEL 6 at:
ftp://fr2.rpmfind.net/linux/epel/6/x86_ ... x86_64.rpm
ftp://fr2.rpmfind.net/linux/epel/6/x86_ ... x86_64.rpm
ftp://fr2.rpmfind.net/linux/epel/6/x86_ ... noarch.rpm
ftp://fr2.rpmfind.net/linux/epel/6/x86_ ... x86_64.rpm
ftp://fr2.rpmfind.net/linux/epel/6/x86_ ... x86_64.rpm
ftp://fr2.rpmfind.net/linux/epel/6/x86_ ... noarch.rpm
Re: svn problem while running Build-AOP-RPMs.tcl
thank you so much Bob. now it works!!
Yuantao
Yuantao
Re: svn problem while running Build-AOP-RPMs.tcl
Hi Bob,
The display for elegantRingAnalysis now works. However when I click the function to execute it would give me error message like:
couldn't execute "ssub": no such file or directory
I look into the path we set that can run elegantRingAnalysis correctly is like:
$headpath/oag/apps/bin/linux-x86_64
But the new path
/afs/slac/g/beamphysics/software/Elegant_2014/usr/local/oag/apps
has no bin directory in it.
I try symbolic link /afs/slac/g/beamphysics/software/Elegant_2014/usr/bin to afs/slac/g/beamphysics/software/Elegant_2014/usr/local/oag/apps/bin
But it doesn't work.
So we will need your help to tell us what is the correct path we should set in order to run elegantRingAnalysis correctly.
Thank you for the help!!
Min-Huey
The display for elegantRingAnalysis now works. However when I click the function to execute it would give me error message like:
couldn't execute "ssub": no such file or directory
I look into the path we set that can run elegantRingAnalysis correctly is like:
$headpath/oag/apps/bin/linux-x86_64
But the new path
/afs/slac/g/beamphysics/software/Elegant_2014/usr/local/oag/apps
has no bin directory in it.
I try symbolic link /afs/slac/g/beamphysics/software/Elegant_2014/usr/bin to afs/slac/g/beamphysics/software/Elegant_2014/usr/local/oag/apps/bin
But it doesn't work.
So we will need your help to tell us what is the correct path we should set in order to run elegantRingAnalysis correctly.
Thank you for the help!!
Min-Huey
Re: svn problem while running Build-AOP-RPMs.tcl
ssub is sort of specific to our cluster. As far as I understand, it is only executed by elegantRingAnalysis if you have selected the "Use GridEngine?" option. You can get the ssub code from http://www.aps.anl.gov/asd/oag/download ... .21.tar.gz
It is in the oag/apps/src/utils/sge/ directory. But it requires that you are running GridEngine on your cluster and would probably have to be edited to work with the names of the queues on your cluster.
--Bob
It is in the oag/apps/src/utils/sge/ directory. But it requires that you are running GridEngine on your cluster and would probably have to be edited to work with the names of the queues on your cluster.
--Bob