View previous topic :: View next topic |
Author |
Message |
simon
Joined: 05 Jul 2006 Posts: 268
|
Posted: Wed Jan 15, 2020 1:27 am Post subject: allocate_backend_symbol |
|
|
I have a program that I have not been able to compile in 64-bit mode, but which compiles and runs ok in 32-bit mode. When I compile with version 8.60 I get a message saying:
Quote: | error 1205 - Part of allocate_backend_symbol is not available in FTN95/64 |
The error apparently occurs in a module at the start of a declaration of a subroutine. Does this message mean anything to anyone? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7938 Location: Salford, UK
|
Posted: Wed Jan 15, 2020 8:43 am Post subject: |
|
|
Simon
I can see this failure report in the FTN95 code but I would need a short sample program that demonstrated the error report in order to investigate further. |
|
Back to top |
|
|
Thomas
Joined: 18 Feb 2005 Posts: 56 Location: Gummersbach, Germany
|
Posted: Thu Jan 14, 2021 7:19 pm Post subject: Sample Program |
|
|
The same error occured in our company!
The following sample program MOD_A.F90 can be compiled without error when using
FTN95 MOD_A.F90
When compiling with
FTN95 MOD_A.F90 /64
the reported error appears.
Module MOD_A
Type VP
Integer :: IAV, IV (5,3)
Double Precision :: RV (5,20)
Character (len=16) :: CV (5)
Integer :: IAW, IW (50)
End Type VP
Type (VP) :: VPAKT
End Module
Module MOD_B
Use MOD_A
Contains
Subroutine SUB_1()
! Use MOD_A
call SUB_2
Contains
Subroutine SUB_2
VPAKT%IAV = 1
End Subroutine SUB_2
End Subroutine SUB_1
END Module
If the deactivated USE statement in SUB_1 is activated, it works with and without the /64 option.
Regards _________________ Thomas |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7938 Location: Salford, UK
|
Posted: Fri Jan 15, 2021 8:53 am Post subject: |
|
|
Thomas
Thank you for the sample code. I have made a note that this needs fixing. |
|
Back to top |
|
|
Thomas
Joined: 18 Feb 2005 Posts: 56 Location: Gummersbach, Germany
|
Posted: Fri Jan 15, 2021 9:06 am Post subject: |
|
|
Paul,
Thank you for your reply. For the time beeing we know how to mitigate. We spent some time to analyse and to extract a "minimum" code sample, for submission. The remaining code makes no sense but we believe it helps to understand and to correct.
Regards _________________ Thomas |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7938 Location: Salford, UK
|
Posted: Fri Jan 15, 2021 2:56 pm Post subject: |
|
|
This issue has now been fixed for the next release of FTN95. |
|
Back to top |
|
|
|