Elegant on Ubuntu 10.04

Moderators: cyao, soliday

Post Reply
MDP
Posts: 25
Joined: 02 Jul 2010, 07:33
Location: DESY Hamburg/Germany

Elegant on Ubuntu 10.04

Post by MDP » 06 Jul 2010, 08:36

Hello,

I just started with elegant and I have some problems to run it on Ubuntu 10.04. I tried to execute some of the examples from the web page but some of them didn't work and I got the message:

Code: Select all

unable to open FM1#1.R16 2.898284e-01 1e-5 sene in mode r: No such file or directory
ensure the RPN_DEFNS environment variable is set
Error:
Unable to open file "run1.mat" for reading (SDDS_InitializeInput)
Could it be that I just have to set a path to the named variables? Then, the next problem would be that I don't know how to do that...
May one of you help me with this problems?

Thank you in advance!
Cheers,
MDP


PS: The cwiggler1 example run without any problems...

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

Re: Elegant on Ubuntu 10.04

Post by soliday » 06 Jul 2010, 09:23

Which example are you trying to run. It looks like you might not have the environment variable RPN_DEFNS set. You have to download defns.rpn from:

http://www.aps.anl.gov/Accelerator_Syst ... /defns.rpn

and then set the RPN_DEFNS environment variable to point to it. If you are in a bash shell the command would look like:

export RPN_DEFNS=/home/MDP/defns.rpn

If you are in a csh or tcsh shell the command would look like:

setenv RPN_DEFNS /home/MDP/defns.rpn

MDP
Posts: 25
Joined: 02 Jul 2010, 07:33
Location: DESY Hamburg/Germany

Re: Elegant on Ubuntu 10.04

Post by MDP » 06 Jul 2010, 09:35

Hi soliday,

thank you for your help! Now, it works perfectly!

It was the betaMatching example that didn't run.

Thanks again.
Cheers, MDP

Post Reply