Home > Archive > Fortran > February 2007 > How to compile XFoil with FTN95?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to compile XFoil with FTN95?
|
|
| jan@robbe-online.de 2007-02-07, 7:06 pm |
| Hi Folks,
is there anybody out there, who may help me to get the source code of
XFoil (http://web.mit.edu/drela/Public/web...foil6.96.tar.gz)
compiled. Currently I try to compile the code with the Silverfrost
FTN95 Personal Edition (http://www.silverfrost.com/32/ftn95/
personal_edition.asp) but since I don't have experience in UNIX i
don't really know what to do.
Could somebody help me out? I have some problems with the MAKEFILE
files, since FTN95 obviously has its' own syntax on such files.
Maybe someone could explain to me how to correctly compile the code.
There is a simple and short explanation on how to compile in unix but
that doesn't help me.
Thanks in advance!
Regards,
Jan
| |
| Colin Watters 2007-02-07, 7:06 pm |
|
<jan@robbe-online.de> wrote in message
news:1170877813.596820.312490@j27g2000cwj.googlegroups.com...
> Hi Folks,
>
> is there anybody out there, who may help me to get the source code of
> XFoil (http://web.mit.edu/drela/Public/web...foil6.96.tar.gz)
> compiled. Currently I try to compile the code with the Silverfrost
> FTN95 Personal Edition (http://www.silverfrost.com/32/ftn95/
> personal_edition.asp) but since I don't have experience in UNIX i
> don't really know what to do.
> Could somebody help me out? I have some problems with the MAKEFILE
> files, since FTN95 obviously has its' own syntax on such files.
> Maybe someone could explain to me how to correctly compile the code.
> There is a simple and short explanation on how to compile in unix but
> that doesn't help me.
>
> Thanks in advance!
>
> Regards,
> Jan
>
I was under the impression that FTN95 was a windows-only product. I can't
see anything on silverfrost.com to the contrary... what do you see/know that
I don't?
--
Qolin
Email: my qname at domain
Domain: qomputing dot demon dot co dot uk
| |
| Jugoslav Dujic 2007-02-08, 4:12 am |
| Colin Watters wrote:
| <jan@robbe-online.de> wrote in message
| news:1170877813.596820.312490@j27g2000cwj.googlegroups.com...
|| Hi Folks,
||
|| is there anybody out there, who may help me to get the source code of
|| XFoil (http://web.mit.edu/drela/Public/web...foil6.96.tar.gz)
|| compiled. Currently I try to compile the code with the Silverfrost
|| FTN95 Personal Edition (http://www.silverfrost.com/32/ftn95/
|| personal_edition.asp) but since I don't have experience in UNIX i
|| don't really know what to do.
|| Could somebody help me out? I have some problems with the MAKEFILE
|| files, since FTN95 obviously has its' own syntax on such files.
|| Maybe someone could explain to me how to correctly compile the code.
|| There is a simple and short explanation on how to compile in unix but
|| that doesn't help me.
||
|| Regards,
|| Jan
||
|
| I was under the impression that FTN95 was a windows-only product. I can't
| see anything on silverfrost.com to the contrary... what do you see/know that
| I don't?
I am under impression that Jan is on Windows, but the source and make files
are suited for Unix, and he's not quite versed about make.
If that's the case indeed, having taken a look at the package, its ReadMe
file says that:
"XFOIL and its plot library should compile on any Unix system
with normal Fortran-77, C, and X-Windows support."
Thus, the package won't be of any help to Jan, as it supports only
X-Windows (NB: except the name, this has nothing to do with MS Windows).
At least, not without quite a lot of Unix emulation layers, which
probably isn't a viable option. Something else? PGPLOT?
--
Jugoslav
___________
www.xeffort.com
Please reply to the newsgroup.
You can find my real e-mail on my home page above.
| |
| glen herrmannsfeldt 2007-02-08, 4:12 am |
| Jugoslav Dujic wrote:
(snip)
> If that's the case indeed, having taken a look at the package, its ReadMe
> file says that:
> "XFOIL and its plot library should compile on any Unix system
> with normal Fortran-77, C, and X-Windows support."
> Thus, the package won't be of any help to Jan, as it supports only
> X-Windows (NB: except the name, this has nothing to do with MS Windows).
> At least, not without quite a lot of Unix emulation layers, which
> probably isn't a viable option. Something else? PGPLOT?
There are X11 servers for windows, though they might be
commercial products. There is X-Win32-PC and Cygwin/X.
I believe that Cygwin is free for non-commercial use, though I
am not sure exactly what the license says.
Cygwin under Windows should compile and run most unix software,
assuming the appropriate compilers are available.
-- glen
| |
| highegg 2007-02-08, 4:12 am |
| On Feb 7, 8:50 pm, "j...@robbe-online.de" <j...@robbe-online.de>
wrote:
> Hi Folks,
>
> is there anybody out there, who may help me to get the source code of
> XFoil (http://web.mit.edu/drela/Public/web...foil6.96.tar.gz)
> compiled. Currently I try to compile the code with the Silverfrost
> FTN95 Personal Edition (http://www.silverfrost.com/32/ftn95/
> personal_edition.asp) but since I don't have experience in UNIX i
> don't really know what to do.
> Could somebody help me out? I have some problems with the MAKEFILE
> files, since FTN95 obviously has its' own syntax on such files.
> Maybe someone could explain to me how to correctly compile the code.
> There is a simple and short explanation on how to compile in unix but
> that doesn't help me.
>
> Thanks in advance!
>
> Regards,
> Jan
Hi Jan,
XFoil compiles well under Cygwin/g77, or even g95 if you replace the
non-standard AND and RSHIFT in plotlib/ps_subs.f with IAND and ISHFT.
If you find Cygwin too fat, you can try MinGW instead.
Jaroslav
| |
| Lane Straatman 2007-02-08, 7:07 pm |
|
"glen herrmannsfeldt" <gah@ugcs.caltech.edu> wrote in message
news:Q7udnbqBNK7aQ1fYnZ2dnUVZ_vKunZ2d@co
mcast.com...
> Jugoslav Dujic wrote:
> (snip)
>
>
>
>
> There are X11 servers for windows, though they might be
> commercial products. There is X-Win32-PC and Cygwin/X.
> I believe that Cygwin is free for non-commercial use, though I
> am not sure exactly what the license says.
>
> Cygwin under Windows should compile and run most unix software,
> assuming the appropriate compilers are available.
I have both cygwin and the silverfrost IDE. OP is certainly incorrect that
unix is going to help him with the ladder, a windows IDE. I'm using a unix
reference to help with cygwin, but I haven't gotten far. LS
| |
| John Mansell 2007-02-09, 8:07 am |
| Do you really need to recompile /relink ?
There are win32 executables available for download.
http://web.mit.edu/drela/Public/web/xfoil/. It seems to be in two parts
- calculation part & graphics part. According to the blurb, the
calculation parts are the same both intel fortran and unix. The plotting
parts differ.
I have ftn95 and I tried compiling a file taken at random (aigen.f ?).
There are some horrors there. I saw one concerning array number of array
subscripts differing from the declaration.
In message < qdednQPjI4CWHFbYnZ2dnUVZ_hWdnZ2d@comcast
.com>, Lane
Straatman <invalid@invalid.net> writes
>
>"glen herrmannsfeldt" <gah@ugcs.caltech.edu> wrote in message
> news:Q7udnbqBNK7aQ1fYnZ2dnUVZ_vKunZ2d@co
mcast.com...
>I have both cygwin and the silverfrost IDE. OP is certainly incorrect that
>unix is going to help him with the ladder, a windows IDE. I'm using a unix
>reference to help with cygwin, but I haven't gotten far. LS
>
>
--
John Mansell john@wcompsys.co.uk
|
|
|
|
|