I’m faced with the following situation.
1) I’ve copied a number of my Fortran executables to my new laptop
(Win 7 Pro, 64-bit).
2) Those programs currently and for years have been working fine on my
other computers (Win XP SP3,32-bit), but some of them wouldn’t run on
the new computer (even in a compatibility mode; an option which is
available in Win 7 Pro).
The error message clearly says that the program is incompatible.
3) Using g95 {GCC 4.1.2 (g95 0.92!) Jun 17 2009} I’ve successfully re-
compiled the first program, and it now runs perfectly in the new
environment.
4) The second program is also compiled with the same command:
...C:\MyFiles\...\...>g95 -fbounds-check -ftrace=full -o LL107
LL107.for
NO errors, NO warnings, and NO *.exe file created!!!
5) The following is displayed after I entered the above command line:
...C:\Users\Monir\AppData\Local\Temp/ccFEqbY7.o:LL107.for:(.data
+0x690): undefined reference to `_pmfrmo_'
There is no “pmfrmo” in the code, so it must be some kind of a keyword
meaningful only to the experts.
Notice also that the path in the returned statement is completely
different than that where the file resides.
So I don’t have a clue where to look for the problem.
SHOULD I try gfortran in this case ?? It might reveal more!
If so, could you please provide the link to download the latest
gfortran (for Win 7 64-bit OS) ??
Thank you kindly.
Monir
On 12/05/2011 05:45 PM, monir wrote:
> 4) The second program is also compiled with the same command:
> ...C:\MyFiles\...\...>g95 -fbounds-check -ftrace=full -o LL107
> LL107.for
> NO errors, NO warnings, and NO *.exe file created!!!
Hmm, that's odd.
> SHOULD I try gfortran in this case ?? It might reveal more!
> If so, could you please provide the link to download the latest
> gfortran (for Win 7 64-bit OS) ??
I would give gfortran a try. Available binaries are linked at
http://gcc.gnu.org/wiki/GFortranBinaries
I have to admit that I do not have much experience with Windows, but I
think the build at
should be OK. There are other builds, but in general, I would prefer the
builds from MinGW-w64 project as they have been created by those who
maintain the 64bit Windows port of GCC.
Tobias
Sorry, I thought this group is for gfortran. My apologies!
Could you please advise what the appropriate DG is ??
Thank you.
Monir
I think you have misread the answer. He suggested to use gfortran ("just
try") and to affirm the suggestion, he stated further that he moved from
g95 to gfortran ("I am not with g95 anymore"). At least that's how I
read the email.
For other mailing lists, see "mailing lists and news groups" at
http://gcc.gnu.org/wiki/GFortran
Tobias
On Dec 5, 12:39 pm, ajm...@gmail.com wrote:
>
> -----Original Message-----
> From: Tobias Burnus <bur...@net-b.de>
>
Thank you for the clarification:-)
1) I’m learning about gfortran before installing the MinGW for Win64,
i.e.; Mingw-w64, at:
http://gcc.gnu.org/wiki/GFortranBinaries
I think this is the appropriate gfortran package I should be
installing on my Win 7 Pro 64-bit m/c.
Correct ??
2) While I’m evaluating the pros and cons of having multiple Fortran
compilers on the same m/c, could you please have a quick look at item
5 of the OP, and advise if it tells you anything at all ??
The (g95) command line:
...C:\MyFiles\...\...>g95 -fbounds-check -ftrace=full -o LL107
LL107.for
returns NO errors, NO warnings, and NO *.exe file is created.
Instead, it returns what appears to be a system generated:
...C:\Users\Monir\AppData\Local\Temp/ccFEqbY7.o:LL107.for:(.data
+0x690): undefined reference to `_pmfrmo_'
3) The above ambiguous statement makes ref. to the Users folder, the
AppData subfolder, the source code file name, an undefined reference
which doesn’t exist anywhere in the system, etc..
Thank you.
Monir