Search found 391 matches

by soliday
28 Jul 2010, 11:03
Forum: Bugs
Topic: smoothDist6(s)
Replies: 9
Views: 11916

Re: smoothDist6(s)

I forgot about this. If you are using a full path name and not a relative path name then you will run into this problem. ActiveTcl does not understand the POSIX directory names from cygwin. What you can do is run cygpath with the -m option to convert the pathname to a version that will work with cyg...
by soliday
19 Jul 2010, 14:45
Forum: Bugs
Topic: smoothDist6(s)
Replies: 9
Views: 11916

Re: smoothDist6(s)

One more thing before I dive into this further. The script is a Tcl script, are you using the tclsh from cygwin or from ActiveTcl? The cygwin version will not pass the RPN_DEFNS variable correctly and you will need the ActiveTcl version installed and the cygwin version uninstalled. Refer to RPN erro...
by soliday
19 Jul 2010, 14:11
Forum: Bugs
Topic: smoothDist6(s)
Replies: 9
Views: 11916

Re: smoothDist6(s)

It looks like your RPN_DEFNS environment variable is not set correctly. If you type: echo $RPN_DEFNS do you get: C:\WINDOWS\defns.rpn or something similar and does this file exist? It should be installed by the Elegant installation. Also to test it try running: $ rpn Welcome to rpn version 6, by Mic...
by soliday
06 Jul 2010, 09:23
Forum: Installation
Topic: Elegant on Ubuntu 10.04
Replies: 2
Views: 31031

Re: Elegant on Ubuntu 10.04

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_Systems_Division/Operations_Analysis/downloads/defns.rpn and then set the RPN_DEFNS environment variable to point to i...
by soliday
23 Jun 2010, 11:03
Forum: General
Topic: RPN error
Replies: 6
Views: 2668

Re: RPN error

You need to have C:\Tcl\bin in your path. The installer goes through all the path directories looking for wish85.exe. Once this is found it knows where to install the needed files. Also it copies wish85.exe to wish.exe and oagwish.exe. It also copies tclsh85.exe to tclsh.exe and oagtclsh.exe. The ph...
by soliday
22 Jun 2010, 14:04
Forum: General
Topic: RPN error
Replies: 6
Views: 2668

Re: RPN error

I think I know what it happening. You are probably using the tclsh that comes with cygwin. This version of tclsh does not seem to pass the RPN_DEFNS variable to child processes. I would suggest you use your cygwin setup.exe to uninstall the tcltk package. Next go and install the ActiveTcl version 8....
by soliday
22 Jun 2010, 13:09
Forum: General
Topic: RPN error
Replies: 6
Views: 2668

Re: RPN error

I would start with this little test: $ rpn Welcome to rpn version 6, by Michael Borland and Robert Soliday (June 1999) rpn> -4 abs 4.00000000000 rpn> exit I would also try this with a simple DOS command terminal to see if the problem is cygwin specific. This test in cygwin and DOS terminals works fo...
by soliday
19 May 2010, 14:27
Forum: General
Topic: sdds command help
Replies: 4
Views: 2025

Re: sdds command help

Here is what I would do: sddsprocess test.sdds -pipe=out -filter=column,MAL.DP,0.0,0.0 | sdds2stream -pipe=in -col=betaxFinal This returns 7.431099999999999e-01 Next run: sddsprocess test.sdds test2.sdds "-define=column,betaxFinalNormalized,betaxFinal 7.431099999999999e-01 - 7.431099999999999e-01 /"
by soliday
22 Apr 2010, 09:22
Forum: Installation
Topic: How to use elegant on Windows
Replies: 8
Views: 92929

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.
by soliday
20 Apr 2010, 10:52
Forum: Installation
Topic: installing SDDS 2.8
Replies: 7
Views: 81669

Re: installing SDDS 2.8

There is now a new 32bit Linux RPM file for elegant which solves this problem.