View previous topic :: View next topic |
Author |
Message |
Salvador
Joined: 25 Aug 2020 Posts: 9
|
Posted: Fri Aug 28, 2020 5:55 pm Post subject: |
|
|
@mecej4-- I found "alive female spawner", which is on line 2114. However, the 'g' on column 73 I cannot find.
Also, do I change Real 8 between parenthesis to Real*8 all over the code?
I apologize for my naiveness about fortran |
|
Back to top |
|
|
mecej4
Joined: 31 Oct 2006 Posts: 1886
|
Posted: Fri Aug 28, 2020 7:08 pm Post subject: |
|
|
The file that you uploaded to filesanywhere.com contains a 'g' at the end of line 2114:
Code: | 1 of alive female spawner super-individuals on their day of spawning |
That 'g' is in column 73, as you will see if you open the file in Plato or another text editor that shows line and column numbers.
REAL(8) and REAL*8 mean quite different things, depending on the compiler chosen. In "REAL(8)", the 8 is a kind number, which is more a label than a quantity. In "REAL*8", the 8 is the length of the variable in bytes. Many of the old mainframe computers did not employ the concept of a byte.
You will do well by reading a Fortran book or the FTN95 help file and understand kind numbers. |
|
Back to top |
|
|
Salvador
Joined: 25 Aug 2020 Posts: 9
|
Posted: Sat Aug 29, 2020 1:01 am Post subject: |
|
|
I did a search for all the REAL(eight) and replaced all with REAL*8. I also found the g and made it a comment.
But something strange happens; I am able to compile but only if I use plato. If I use the command line it won't compile. I can settle as long as I can compile
Once the file is compiled into a ftn95_test.EXE another file is created and is named "ftn95_test.obj"
If at this point I have to do this on the command line: SLINK ftn95_test.obj
I get this error message:
*** SLINK can't process the 64 bit object file ftn95_test.obj |
|
Back to top |
|
|
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Sat Aug 29, 2020 1:11 am Post subject: |
|
|
Suggest you take a look at this video from Paul at Silverfrost which outlines both command line and plato modes of compiling/running programs.
https://www.youtube.com/watch?v=7P8vPlCPxuk |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Sun Aug 30, 2020 2:03 am Post subject: |
|
|
Use slink64 not slink |
|
Back to top |
|
|
|