How to use elegant on Windows
How to use elegant on Windows
Hello,
I'm trying to use elegant on my pc(windows).But I don't know where should I start.I have followed the Guide to Installing SDDS and OAG Simulation Software on Windows and I have elegant,SDDS toolkit,and Cygwin on my computer.But I don't
know what should I do to do a accelerator simulation.I have read the manuals of elegant and SDDS,but all they tell me is how to use certain commands.But my problem is I don't know where to type these commands.Can you give me some advice or tell me where to start.
I'm trying to use elegant on my pc(windows).But I don't know where should I start.I have followed the Guide to Installing SDDS and OAG Simulation Software on Windows and I have elegant,SDDS toolkit,and Cygwin on my computer.But I don't
know what should I do to do a accelerator simulation.I have read the manuals of elegant and SDDS,but all they tell me is how to use certain commands.But my problem is I don't know where to type these commands.Can you give me some advice or tell me where to start.
Re: How to use elegant on Windows
Can anyone give me some advise on how to produce the script and how to made elegant work with it? I'm confused by the hundreds pages of manuals.
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: How to use elegant on Windows
A good first step is to download the example files and scripts, which you'll find at http://www.aps.anl.gov/Accelerator_Syst ... ml#elegant
then follow steps 3 and 4 of the windows guide.
I'm not a Windows user. Perhaps some of the windows users out there can help.
--Michael
then follow steps 3 and 4 of the windows guide.
I'm not a Windows user. Perhaps some of the windows users out there can help.
--Michael
Re: How to use elegant on Windows
Thank you for your help ! I've had the example files ,but I don't know how to run them.
For example,the notebook read:
To run and plot results
% runSim
The run time is considerable so be patient.
But how to run the script runSim.type the name in the UNIX shell? or do something else?
For example,the notebook read:
To run and plot results
% runSim
The run time is considerable so be patient.
But how to run the script runSim.type the name in the UNIX shell? or do something else?
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: How to use elegant on Windows
Yes, just type the name in the Unix shell. First, you need to navigate to the proper directory using the "cd" command. There are various unix tutorials on the web that you may want to look at. For example: http://www.ee.surrey.ac.uk/Teaching/Unix/unix1.html
One thing I noticed is that cygwin no longer includes the Tcl shell (tclsh), so that will cause some problems with the examples. We are looking into what we can do about this.
--Michael
One thing I noticed is that cygwin no longer includes the Tcl shell (tclsh), so that will cause some problems with the examples. We are looking into what we can do about this.
--Michael
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: How to use elegant on Windows
Actually, I'm wrong about cygwin not include tclsh. It can be selected as part of the installation process for cygwin.
--Michael
--Michael
Re: How to use elegant on Windows
Thank you ! Now I can run these examples.But when I used the sddsplot,I got an error message.It read:Before you can print ,you must install a printer. The screen shots are shown in the following.
Re: How to use elegant on Windows
Try changing the default printer. sddsplot has to load the printer drivers and it has trouble with some printers.