Where is "plotTwiss"

Moderators: cyao, soliday

Post Reply
Fenia
Posts: 3
Joined: 09 Mar 2012, 12:23

Where is "plotTwiss"

Post by Fenia » 13 Mar 2012, 14:51

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

soliday
Posts: 405
Joined: 28 May 2008, 09:15

Re: Where is "plotTwiss"

Post by soliday » 13 Mar 2012, 15:00

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.

Fenia
Posts: 3
Joined: 09 Mar 2012, 12:23

Re: Where is "plotTwiss"

Post by Fenia » 13 Mar 2012, 15:32

Thank you very much !

Fenia

Fenia
Posts: 3
Joined: 09 Mar 2012, 12:23

Re: Where is "plotTwiss"

Post by Fenia » 15 Mar 2012, 16:52

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

ywang25
Posts: 52
Joined: 10 Jun 2008, 19:48

Re: Where is "plotTwiss"

Post by ywang25 » 16 Mar 2012, 07:48

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

Post Reply