elegant2astra conversion

Moderators: cyao, michael_borland

Post Reply
jatuporn.saisut
Posts: 1
Joined: 17 Jun 2014, 01:16

elegant2astra conversion

Post by jatuporn.saisut » 02 Jul 2014, 14:12

Hi all,
I try to convert the output of Elegant to an input for Astra (using cygwin on windows7). I get message "elegant2astra: line 79: syntax error: unexpected end of file". What should I do?

Thanks for your help,
Jatuporn

michael_borland
Posts: 2008
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: elegant2astra conversion

Post by michael_borland » 07 Jul 2014, 08:35

Jatuporn,

I'm not able to reproduce this error on linux. Which shell are you using in cygwin? You can find out by typing "echo $SHELL".

--Michael

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

Re: elegant2astra conversion

Post by soliday » 07 Jul 2014, 09:34

That message usually means that you have windows style carrage returns in the script. However on my system, even when I convert it to windows style carrage returns, it still works. Can you cd to the directory with elegant2astra and run "dos2unix elegant2astra" this will convert the carrage returns.

Post Reply