Page 1 of 1
Where is "plotTwiss"
Posted: 13 Mar 2012, 14:51
by Fenia
Dear all,
Does anyone know which part I missed during the installation elegant or sdds, which resulted that I don't have the command "plotTwiss"? Thank you very much.
Best,
Fenia
Re: Where is "plotTwiss"
Posted: 13 Mar 2012, 15:00
by soliday
It is in the OAG.1.18 source download.
http://www.aps.anl.gov/asd/oag/cgi-bin/ ... .18.tar.gz
This is giant collection of various scripts that we distribute in one big bundle.
The plotTwiss command is at oag/apps/src/tcltkapp/oagapp/plotTwiss
You will need to install the OAG Tcl/Tk Interpreter (oagwish) to be able to run it.
Re: Where is "plotTwiss"
Posted: 13 Mar 2012, 15:32
by Fenia
Thank you very much !
Fenia
Re: Where is "plotTwiss"
Posted: 15 Mar 2012, 16:52
by Fenia
Hello,
I am so sorry to ask you a question again. I followed your instruction to download the OAG.1.18 source file and asked our cluster people to install those scripts. They did by installing those script under /usr/local/oag/apps/src/tcltkapp/oagapp. And oagwish was installed under /usr/bin/oagwish.
I tried to run a file as : plotTwiss -fileroot aps. It still showed: plotTwiss: Command not found.
When I "which plotTwiss", it is said: plotTwiss: Command not found. And I "which oagwish", it is showing: /usr/bin/oagwish
Could you please help me figure out what problem it is now? Thank you very much.
Fenia
Re: Where is "plotTwiss"
Posted: 16 Mar 2012, 07:48
by ywang25
You can either add full path before the command
/usr/local/oag/apps/src/tcltkapp/oagapp/plotTwiss
or add the path to the PATH environment variable.
Yusong