Hello group I need a Fortran Compiler that resembles Fortran Visual Studio. Back
in the mid 90's I could still run old code written in Fortran 77. I know it
sounds weird, but where I work there is a treasure of numerical algorithms that
I like to run. Of course I have Windows XP and I have no clue if there is
anything like Visual Studio out there. At least something that doesn't need a
$900 license to run.
Any help would be great if something like what I asking even exists!!
Jeff
Presuming that you have a C compiler available, my preference is f2c for Fortran
IV, 66 and 77 code.
It's C output makes it relatively easy to incorporate modern libraries; the
translation is of good quality; it can be used as an "ad-hoc" compiler.
http://en.wikipedia.org/wiki/F2c
My preferred tool for Fortran IV work, on anything even remotely resembling a
Unix platform (which includes Microsoft Windows).
--- In Fortran@yahoogroups.com, A-L A-S <sood50@...> wrote:
>
> I develop Fortran programs using Fortran IV.
> I need a Fortran compiler to work with Windows XP.
> Can you please help me ?
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Ok, on Windows, objects are ".OBJ" and libraries are ".LIB". That ".a" file you
are using is a Unix or Linux library.
You will need to download the correct binary library, *or* rebuild the library
itself.
Nothing to do with gfortran... sorry.
--- In Fortran@yahoogroups.com, "Bill Walker" <billwalker_us@...> wrote:
>
> My problem is that it compiles fine until I try to link to say, the
> DISLIN library. It complains that the "Libray file disgf.a is not
> recognized as a valid object archive." The programs that I have tried
> are the examples in the DISLIN install.
>
>
> > Bill Walker wrote:
> > > I gave up trying to get gfortran to work on my vista machine.
> >
> > Why? Lots of people run gfortran on vista. As of gcc 4.3 or so
> > it has become very stable. Many *major* applications have been
> > successfully compiled by it. (Though for best performance, they
> > would probably use compilers like Intel or Pathscale.)
> >
>
I develop Fortran programs using Fortran IV.
I need a Fortran compiler to work with Windows XP.
Can you please help me ?
[Non-text portions of this message have been removed]
some free compilers for windows are:
gfortran
g95
also there are some commercial compilerssuch as:
Intel Fortran Compiler (free on linux for non-commercial usage)
salford
--- In Fortran@yahoogroups.com, A-L A-S <sood50@...> wrote:
>
> I am looking for a Fortran compiler for Fortran IV programs. I use a PC with
Windows XP.
> Can you please help me ?
> Thank you
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
I am looking for a Fortran compiler for Fortran IV programs. I use a PC with
Windows XP.
Can you please help me ?
Thank you
[Non-text portions of this message have been removed]
--- In Fortran@yahoogroups.com, "sainik_md" <sainik_md@...> wrote:
>
> dear friends
> can any one say how to enter x in degrees for sine & cos in
fortran. my compiler doesnot accept SIND & COSD functions
> thanking you
> Mohandoss
>
Hi Mohandoss,
You might just have to convert you degree angles to radians. Just multiply by
pi/180 and you should be able to use the radian functions without a problem.
Otherwise you might have to define your own degree-functions which is probably
not worth it.
Regards,
Robert
dear friends
can any one say how to enter x in degrees for sine & cos in
fortran. my compiler doesnot accept SIND & COSD functions
thanking you
Mohandoss
Hai
I used cygwin on my Windows XP.
here is the link I used to download it
http://www.cygwin.com/
Martin V Mathew
2009/8/24 Antonio Rabadan <ar_abadan@...>
>
>
> Some days ago you were looking for a Fortran compiler for Windows XP, I
> have widows Vista and Iam looking for a Fortran compiler to, did you find it
> ,if so would you let me know how.
>
> Thank you
>
>
> ________________________________
> From: martinmathewv <vmartinmathew@... <vmartinmathew%40gmail.com>>
> To: Fortran@yahoogroups.com <Fortran%40yahoogroups.com>
> Sent: Sunday, May 17, 2009 10:51:20 AM
> Subject: [Fortran] fortran compiler for windows xp
>
> hai
> i wish to learn fortran, but i didn't got a good fortran 90 compiler which
> can work on windows xp. can any of you help me with a link to download a
> compiler
>
> [Non-text portions of this message have been removed]
>
>
>
--
Martin V Mathew
[Non-text portions of this message have been removed]
Some days ago you were looking for a Fortran compiler for Windows XP, I have
widows Vista and Iam looking for a Fortran compiler to, did you find it ,if so
would you let me know how.
\
Thank you
________________________________
From: martinmathewv <vmartinmathew@...>
To: Fortran@yahoogroups.com
Sent: Sunday, May 17, 2009 10:51:20 AM
Subject: [Fortran] fortran compiler for windows xp
hai
i wish to learn fortran, but i didn't got a good fortran 90 compiler which can
work on windows xp. can any of you help me with a link to download a compiler
[Non-text portions of this message have been removed]
Hi
Can anyone help me in change buildnanotube.F . I want to add new atom with this
CONDITION:
63 carbon atom - 1 atom X(totatom =64)
the input file and original file attached.
Thanks.
[Non-text portions of this message have been removed]
hello everybody....
I want to use the binary integral program from IMSL library but when I copy and
paste the program, it doesn't work!!!!!
what should I do???????
Hi,
You can download gfotran then it makes a linux environment on windows.
here is the link: http://gcc.gnu.org/wiki/GFortran
good luck
________________________________
From: martinmathewv <vmartinmathew@...>
To: Fortran@yahoogroups.com
Sent: Sunday, May 17, 2009 7:51:20 PM
Subject: [Fortran] fortran compiler for windows xp
hai
i wish to learn fortran, but i didn't got a good fortran 90 compiler which can
work on windows xp. can any of you help me with a link to download a compiler
[Non-text portions of this message have been removed]
hai
i wish to learn fortran, but i didn't got a good fortran 90 compiler which can
work on windows xp. can any of you help me with a link to download a compiler
Hi to all,
I'm new here.
I had a question please: how can I plot a data file with fortran?
can everyone guide me which command in fortran does the job?
thanks in advance,
mohammad
Yes gfortran is available for windows operating system. In fact i am
using this compiler successfully on my vista and xp system. Good luck
On 2/27/09, yowasi <robertkiwanuka@...> wrote:
> Assuming that you are looking for the compiler itself (not sure what
> you mean by "the free source"), a great compiler is gfortran if you
> are working on a linux machine. Not sure what is available in the ms
> windows free source world.
>
> Regards,
>
> Robert
>
> --- In Fortran@yahoogroups.com, "leila" <leila_phy@...> wrote:
>>
>> Hi,
>> I need the compiler for ofrtran 90 to install on my laptop. does anyone
>> have the free source?
>>
>
>
>
--
Sukhbinder
Assuming that you are looking for the compiler itself (not sure what
you mean by "the free source"), a great compiler is gfortran if you
are working on a linux machine. Not sure what is available in the ms
windows free source world.
Regards,
Robert
--- In Fortran@yahoogroups.com, "leila" <leila_phy@...> wrote:
>
> Hi,
> I need the compiler for ofrtran 90 to install on my laptop. does anyone
> have the free source?
>
Walter,
I am using fortran90. I will look at this tomorrow and let you know if it works.
Thanks.
--- On Sat, 2/14/09, Walter Spector <w6ws@...> wrote:
From: Walter Spector <w6ws@...>
Subject: Re: [Fortran] Re: Progress Indicator
To: Fortran@yahoogroups.com
Date: Saturday, February 14, 2009, 3:45 PM
William Kasirye wrote:
> I used the print, but the problem is that, it does not 'override' what
>has been printed.
Which compiler are you using? The following spins for 10 seconds,and
reports when the seconds element changes. It works with current versions
of g95, gfortran, and Silverfrost FTN95 - as they apparently don't do
much buffering:
program indicate
implicit none
integer, parameter :: max_secs = 10
character, parameter :: cr = achar (13) ! ASCII carraige return (not newline)
integer :: timevals(8)
integer :: current_sec, old_sec
integer :: i
old_sec = 0
i = 0
do
call date_and_time (values=timevals)
current_sec = timevals(7)
! Tell user when the seconds element changes
if (current_sec /= old_sec) then
write (6,'(a,i2,a) ',advance= 'no') 'current second = ', current_sec, cr
old_sec = current_sec
i = i + 1
end if
if (i == max_secs) exit
end do
write (6,*)
end program
With ifort, the I/O buffer doesn't get flushed, even though I tried
putting in F2003 flush statement after the write statement. I should
probably report it to them.
It also works fine with MIPSPro f90.
W.
[Non-text portions of this message have been removed]
William Kasirye wrote:
> I used the print, but the problem is that, it does not 'override' what
>has been printed.
Which compiler are you using? The following spins for 10 seconds,and
reports when the seconds element changes. It works with current versions
of g95, gfortran, and Silverfrost FTN95 - as they apparently don't do
much buffering:
program indicate
implicit none
integer, parameter :: max_secs = 10
character, parameter :: cr = achar (13) ! ASCII carraige return (not newline)
integer :: timevals(8)
integer :: current_sec, old_sec
integer :: i
old_sec = 0
i = 0
do
call date_and_time (values=timevals)
current_sec = timevals(7)
! Tell user when the seconds element changes
if (current_sec /= old_sec) then
write (6,'(a,i2,a)',advance='no') 'current second = ', current_sec, cr
old_sec = current_sec
i = i + 1
end if
if (i == max_secs) exit
end do
write (6,*)
end program
With ifort, the I/O buffer doesn't get flushed, even though I tried
putting in F2003 flush statement after the write statement. I should
probably report it to them.
It also works fine with MIPSPro f90.
W.
I used the print, but the problem is that, it does not 'override' what has been
printed. The alternative is to use the write and have that in a logfile but the
users need to know the progress of the program. Any idea on how to print on just
the SAME line. ie say from when the program moves from 25% complete to 50%, i
need to only show 50%, from 50% to 75% i need to only show 75% done etc.
Thanks.
--- On Sat, 2/7/09, Khokho <khokho_solomi@...> wrote:
From: Khokho <khokho_solomi@...>
Subject: [Fortran] Re: Progress Indicator
To: Fortran@yahoogroups.com
Date: Saturday, February 7, 2009, 3:46 AM
I've always used progress indicators, nothing fancy though. I just
place a PRINT line within the main loop that would print out some
counters. For larger codes you can use the WRITE command to produce
useful information on the progress of your program.
In short, if you write a code that will take more than few seconds to
conclude then let the code report its progress using simple print and
write commands; this will save you a lot of time in the debugging process.
Salem
--- In Fortran@yahoogroups .com, "William Kasirye" <ms42000@... > wrote:
>
> Hi:
>
> I am working with Fortran90. Has anyone used a "progress indicator", or
> some one give me a website with an example. I am working with a program
> with lots of calculations and I need to know that the program is still
> working and where it is. What i need is eg 25% completed, 75%
> completed..100% .
>
> Thanks.
>
> DD
>
[Non-text portions of this message have been removed]
I've always used progress indicators, nothing fancy though. I just
place a PRINT line within the main loop that would print out some
counters. For larger codes you can use the WRITE command to produce
useful information on the progress of your program.
In short, if you write a code that will take more than few seconds to
conclude then let the code report its progress using simple print and
write commands; this will save you a lot of time in the debugging process.
Salem
--- In Fortran@yahoogroups.com, "William Kasirye" <ms42000@...> wrote:
>
> Hi:
>
> I am working with Fortran90. Has anyone used a "progress indicator", or
> some one give me a website with an example. I am working with a program
> with lots of calculations and I need to know that the program is still
> working and where it is. What i need is eg 25% completed, 75%
> completed..100%.
>
> Thanks.
>
> DD
>
Let me know if you come across one.
Thanks.
--- In Fortran@yahoogroups.com, joopin ahmadi <joopinahmadi@...>
wrote:
>
>
> Hi yeah...
>
> that`s a good point..i really need it....please help...
>
> there are a bulk of calculation and i need it too
>
> Thanks you in advanced...
>
> J.A
> --- On Tue, 2/3/09, William Kasirye <ms42000@...> wrote:
> From: William Kasirye <ms42000@...>
> Subject: [Fortran] Progress Indicator
> To: Fortran@yahoogroups.com
> Date: Tuesday, February 3, 2009, 10:56 PM
>
>
>
>
>
>
>
>
>
>
>
> Hi:
>
>
>
> I am working with Fortran90. Has anyone used a "progress
indicator", or
>
> some one give me a website with an example. I am working with a
program
>
> with lots of calculations and I need to know that the program is
still
>
> working and where it is. What i need is eg 25% completed, 75%
>
> completed..100% .
>
>
>
> Thanks.
>
>
>
> DD
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Hi yeah...
that`s a good point..i really need it....please help...
there are a bulk of calculation and i need it too
Thanks you in advanced...
J.A
--- On Tue, 2/3/09, William Kasirye <ms42000@...> wrote:
From: William Kasirye <ms42000@...>
Subject: [Fortran] Progress Indicator
To: Fortran@yahoogroups.com
Date: Tuesday, February 3, 2009, 10:56 PM
Hi:
I am working with Fortran90. Has anyone used a "progress indicator", or
some one give me a website with an example. I am working with a program
with lots of calculations and I need to know that the program is still
working and where it is. What i need is eg 25% completed, 75%
completed..100% .
Thanks.
DD
[Non-text portions of this message have been removed]
Hi:
I am working with Fortran90. Has anyone used a "progress indicator", or
some one give me a website with an example. I am working with a program
with lots of calculations and I need to know that the program is still
working and where it is. What i need is eg 25% completed, 75%
completed..100%.
Thanks.
DD
hi folks...
I'm just doing a kind of modeling, and have written this code with fortran
PowerStation.
but when it comes to make the exe files just shows this error :
"error LNK2001: unresolved external symbol ..........."
I've attached the input files and the code itself.....
Your help would be really appreciated, i`m just in hurry....
Much Thanks
Joopin
[Non-text portions of this message have been removed]
My problem is that it compiles fine until I try to link to say, the
DISLIN library. It complains that the "Libray file disgf.a is not
recognized as a valid object archive." The programs that I have tried
are the examples in the DISLIN install.
> Bill Walker wrote:
> > I gave up trying to get gfortran to work on my vista machine.
>
> Why? Lots of people run gfortran on vista. As of gcc 4.3 or so
> it has become very stable. Many *major* applications have been
> successfully compiled by it. (Though for best performance, they
> would probably use compilers like Intel or Pathscale.)
>
Bill Walker wrote:
> I gave up trying to get gfortran to work on my vista machine.
Why? Lots of people run gfortran on vista. As of gcc 4.3 or so
it has become very stable. Many *major* applications have been
successfully compiled by it. (Though for best performance, they
would probably use compilers like Intel or Pathscale.)
> ... I found a
> compiler called Supersoft Fortran. It compiles a test program OK. Seems
> to be somewhat FORTRAN 77 compliant. Does any one have the docs on this
> compiler? Ever used it?
Yuck. Don't bother. IIRC, it didn't even have a CHARACTER data type.
Why even consider a compiler that was no good 20 years ago, and has not
been developed nor supported since then?
My advice is to figure out what the issue is with gfortran. Then
be happy.
Alternatively, you might try Andys g95 compiler (http://www.g95.org).
It does not implement as much of F2003 as gfortran, but does have a
few interesting features of its own.
Another alternative, free for personal use, is the Salford/Silverfrost
FTN95 compiler. (http://www.silverfrost.com)
W.