For Programmers: Free Programming Magazines  


Home > Archive > Fortran > May 2005 > Running a fortran programm under Windows XP









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 Running a fortran programm under Windows XP
Shahabfar

2005-05-26, 8:57 am

Hi there,
I have an executable programm written by Fortran.
but this programm cannot be run under Windows XP.
Is there a way to solve this problem?
Thank you in advance

beliavsky@aol.com

2005-05-26, 8:58 am

Shahabfar wrote:
> Hi there,
> I have an executable programm written by Fortran.
> but this programm cannot be run under Windows XP.
> Is there a way to solve this problem?
> Thank you in advance


More information is needed. What error messages do you get when running
it on Windows XP? Does it run on MS-DOS or on other versions of
Windows? Or is it an executable created on a Unix/Linux or other
non-Microsoft platform? If you have the Fortran source code, you should
try to compile it on a PC running Windows NT/2000/XP. Links to
compilers can be found by searching this newsgroup or the web.

Btw the spelling is "program" not "programm".

Dick Russell

2005-05-26, 3:59 pm

>From your brief (but insufficient) description, I suspect your
executable was produced by a compiler such as the Lahey F77L/EM-32
using old DOS-extender technology. These won't run under XP, or under
Windows 2000 with hot fix #KB835732. The message that appears is
somethng like "Stack Fault Protection...." If this is the case, compile
using a compiler that produces a native Windows executable. Also, you
may be able to use an old 16-bit compiler to do the job. XP will run
some of that stuff.

meek@skyway.usask.ca

2005-05-26, 3:59 pm

In a previous article, "Shahabfar" <mshahabfar@gmail.com> wrote:
>Hi there,
>I have an executable programm written by Fortran.
>but this programm cannot be run under Windows XP.
>Is there a way to solve this problem?
>Thank you in advance
>

Did you try it in a "dos" (i.e. command prompt) window
(I know they aren't the same but if it walks like a duck
and quacks like a duck ...)
I use WATCOM fortran 77 with dos4gw extender and
programs work fine in a XP "dos" window.... unless
they are trying to access ports - if so you have to
know which port addresses you need, and use allowio to run your
program.

Chris
Rich Townsend

2005-05-26, 3:59 pm

beliavsky@aol.com wrote:

>
> Btw the spelling is "program" not "programm".
>


Rubbish, it's "programme".

:)

cheers,

Rich
Richard E Maine

2005-05-26, 3:59 pm

In article <d74l9m$q1$1@scrotar.nss.udel.edu>,
Rich Townsend <rhdt@barVOIDtol.udel.edu> wrote:

> beliavsky@aol.com wrote:
>
>
> Rubbish, it's "programme".


I used to think it amusing to start my Fortran programs with a statement
like

programme main

Worked find in fixed source form. :-)

But later (by many years), some of my British acquaintances told me that
this spelling wasn't actually correct for the use of the word as applied
to a computer program. :-(

--
Richard Maine | Good judgment comes from experience;
email: my first.last at org.domain | experience comes from bad judgment.
org: nasa, domain: gov | -- Mark Twain
Rich Townsend

2005-05-26, 3:59 pm

Richard E Maine wrote:
> In article <d74l9m$q1$1@scrotar.nss.udel.edu>,
> Rich Townsend <rhdt@barVOIDtol.udel.edu> wrote:
>
>
>
>
> I used to think it amusing to start my Fortran programs with a statement
> like
>
> programme main
>
> Worked find in fixed source form. :-)


Are you sure it didn't crash probes into Venus?

>
> But later (by many years), some of my British acquaintances told me that
> this spelling wasn't actually correct for the use of the word as applied
> to a computer program. :-(
>


Indeed. Regrettably, nobody has informed the BBC of this yet....
Steve Lionel

2005-05-26, 9:00 pm

On Thu, 26 May 2005 10:09:12 -0400, Rich Townsend <rhdt@barVOIDtol.udel.edu>
wrote:

>beliavsky@aol.com wrote:
>
>
>Rubbish, it's "programme".


I once had to explain to a student programmer that, despite how she pronounced
the word, Fortran did not understand "interger".

Steve Lionel
Software Products Division
Intel Corporation
Nashua, NH

User communities for Intel Software Development Products
http://softwareforums.intel.com/
Intel Fortran Support
http://developer.intel.com/software/products/support/
Boo, hoo!

2005-05-27, 4:01 am


<beliavsky@aol.com> wrote in message
news:1117101048.010594.60170@g44g2000cwa.googlegroups.com...
> Shahabfar wrote:
>
> More information is needed. What error messages do you get when running
> it on Windows XP?
>Does it run on MS-DOS or on other versions of Windows?


MS-DOS is not, and never has been, a version of the Windows OS, but when
ever have you let facts interfere with your inimitable brand of bullshit!

--
You're Welcome,
Gerry T.
______
"Facts are meaningless. You could use facts to prove anything that's even
remotely true." -- Homer Simpson.





J. F. Cornwall

2005-05-27, 4:01 am

Boo, hoo! wrote:
> <beliavsky@aol.com> wrote in message
> news:1117101048.010594.60170@g44g2000cwa.googlegroups.com...
>
>
>
> MS-DOS is not, and never has been, a version of the Windows OS, but when
> ever have you let facts interfere with your inimitable brand of bullshit!
>


The question was if it ran on MS-DOS, or if it ran on one of the other
flavors of Windows (3.11, 95, 98, ME, NT, 2000). There was no statement
made that MS-DOS is within the set of "other versions of Windows", other
than in your perception...

Sheesh.
Rich Townsend

2005-05-27, 4:01 am

Boo, hoo! wrote:
> <beliavsky@aol.com> wrote in message
> news:1117101048.010594.60170@g44g2000cwa.googlegroups.com...
>
>
>
> MS-DOS is not, and never has been, a version of the Windows OS, but when
> ever have you let facts interfere with your inimitable brand of bullshit!
>


Look, chaps -- a talking turd!
Boo, hoo!

2005-05-27, 4:01 am


"J. F. Cornwall" <JCornwall@cox.net> wrote in message
news:NZwle.71981$yV4.30133@okepread03...
> Boo, hoo! wrote:
when[color=darkred]
bullshit![color=darkred]
>
> The question was if it ran on MS-DOS, or if it ran on one of the other
> flavors of Windows (3.11, 95, 98, ME, NT, 2000). There was no statement
> made that MS-DOS is within the set of "other versions of Windows", other
> than in your perception...
>
> Sheesh.


Sorry you can't read. The question was why doesn't it run on Windows XP.
Get it? Clearly too complicated.

--
You're Welcome,
Gerry T.
______
"The best lesson life has taught me is that the idiots in many cases are
right." -- Churchill.


Boo, hoo!

2005-05-27, 4:01 am


"Rich Townsend" <rhdt@barVOIDtol.udel.edu> wrote in message
news:d766hu$12b$1@scrotar.nss.udel.edu...
> Boo, hoo! wrote:
when[color=darkred]
bullshit![color=darkred]
>
> Look, chaps -- a talking turd!


And who's squeezing your head tonight shithead, or you're jerking off again
(wanking old chap?, anyways don't let me interrupt your self indulgence)?
BTW, is this overtly www wanking of yours part of your duties as a UD(el)
contract employee that your admin sanctions or this is on your own
misinitiative? Never mind.

--
You're Welcome,
Gerry T.
______
"As a native of the snow belt of upstate New York, I too claim the feisty
independence of the Northerner. I was raised, I like to say, breathing
cold, clear Canadian air." Camille Paglia.








bv

2005-05-27, 8:57 pm

m@skyway.usask.ca wrote:
>
> I use WATCOM fortran 77 with dos4gw extender and
> programs work fine in a XP "dos" window....


Interesting - when I reinstalled it with Win95 as host, dos4gw vanished
- now it creates win/nt character mode executables, and it seems faster
than ever.

Clive Page

2005-05-28, 3:58 pm

In message <d74t5k$356$1@scrotar.nss.udel.edu>, Rich Townsend
<rhdt@barVOIDtol.udel.edu> writes
>
>Indeed. Regrettably, nobody has informed the BBC of this yet....


I think that's because the BBC is exclusively run by arts graduates, who
have never dirtied their hands with actual programming.


--
Clive Page
meek@skyway.usask.ca

2005-05-30, 3:58 pm

In a previous article, bv <bvoh@Xsdynamix.com> wrote:
>m@skyway.usask.ca wrote:
>
>Interesting - when I reinstalled it with Win95 as host, dos4gw vanished
>- now it creates win/nt character mode executables, and it seems faster
>than ever.
>

Yes - I usually use win/nt char. mode (whatever that
means ) but have to use 32bit DOS + DOS4GW when I want
direct port, memory access, or INT routines (using "pragmas").
I think the first version of openwatcom did not have dos4gw
- it had some other dos extender(s).

Chris
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com