Installing ELEGANT with CYGWIN

Moderators: cyao, soliday

Post Reply
fabioluneli
Posts: 26
Joined: 10 Feb 2022, 08:08

Installing ELEGANT with CYGWIN

Post by fabioluneli » 08 Mar 2022, 21:49

Hello!

I am having problem at extracting the Elegant file using cygwin. Looks like cygwin isn't locating the paste, and when i tried "ls" command only two folders appears "bin" and "tmp". Any tip?

Thank you!

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

Re: Installing ELEGANT with CYGWIN

Post by soliday » 09 Mar 2022, 10:12

I don't understand what you are doing. Elegant isn't installed inside of cygwin. Click on the the icon and install it that way. You can then use cygwin to execute elegant.exe after it is installed.

fabioluneli
Posts: 26
Joined: 10 Feb 2022, 08:08

Re: Installing ELEGANT with CYGWIN

Post by fabioluneli » 09 Mar 2022, 22:10

Hello!

Actually i put the wrong title sorry. I am having problem with this step that is attached. I meant that cygwin isn't locating the elegant file that i downloaded. I have already tried to find the file using "ls" command, but only two files appear. Understood?

Thank you!
Attachments
figura duvida.PNG

fabioluneli
Posts: 26
Joined: 10 Feb 2022, 08:08

Re: Installing ELEGANT with CYGWIN

Post by fabioluneli » 09 Mar 2022, 22:19

Just to complete information about the previous reply that i made. I have downloaded elegant software, and it appears like this (attached). This is ok right?

Thank you!
Attachments
elegant software image.PNG

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

Re: Installing ELEGANT with CYGWIN

Post by soliday » 10 Mar 2022, 11:57

To get to c:\ inside of cygwin, you have to go to /cygdrive/c
Your download is probably in /cygdrive/c/Users/<username>/Downloads/

But you are looking at the source code here. I do not recommend compiling it yourself. You should instead download:
https://ops.aps.anl.gov/cgi-bin/oagLog4 ... nt-x64.msi
https://aka.ms/vs/16/release/vc_redist.x64.exe
Run both of these programs outside of cygwin.

After they are installed you can run elegant from inside cygwin. It should automatically be in your path:

$ which elegant
/cygdrive/c/Program Files/APS/Elegant x64/elegant

Post Reply