Author |
Message |
Topic: Error 1017 |
Emanuele
Replies: 8
Views: 5231
|
Forum: Support Posted: Thu Jul 08, 2021 11:21 am Subject: |
Thank you very much guys! I never would have guessed it!
I am a bit scared because potentially there can be dozens of such situations in the original code!
A curiosity: is it possible th ... |
Topic: Error 1017 |
Emanuele
Replies: 8
Views: 5231
|
Forum: Support Posted: Wed Jul 07, 2021 10:36 pm Subject: |
I managed to reproduce the error with these lines of code:
subroutine test (avis)
real avis, alti, re, gam
alti=35785.845
re=6378.155
gam=0.1
avis=asin((1.+alti/re)*( ... |
Topic: Error 1017 |
Emanuele
Replies: 8
Views: 5231
|
Forum: Support Posted: Wed Jul 07, 2021 10:54 am Subject: |
Thanks Paul, I am trying to isolate the problem, since the code is composed by many routines... |
Topic: Error 1017 |
Emanuele
Replies: 8
Views: 5231
|
Forum: Support Posted: Sun Jul 04, 2021 5:36 pm Subject: Error 1017 |
When I try recompiling an old project to create a .dll for .NET, I get the following error for few subroutines:
"error 1017: Cannot yet process records of type force_temporary in CLR mode" ... |
Topic: FTN95 V8.30 Supports Visual Studio Community 2017 |
Emanuele
Replies: 16
Views: 17429
|
Forum: Support Posted: Wed Sep 05, 2018 8:25 pm Subject: |
...just to say that I am interested too. I hope that the plug-in for VS2017 will find a place in the list! Thanks. |
Topic: Initialization to zero |
Emanuele
Replies: 36
Views: 31874
|
Forum: Support Posted: Sat Jan 02, 2016 5:36 pm Subject: |
Thanks and happy new year to everybody!
2 thngs jump out at me ....
a) it's not sure that the original program had automatic initialization of variables
b) what ar these 'arithmetic errors' exa ... |
Topic: Initialization to zero |
Emanuele
Replies: 36
Views: 31874
|
Forum: Support Posted: Tue Dec 22, 2015 4:57 pm Subject: |
Thank you everybody.
I totally agree that the right thing to do would be initializing the variables in the code when they are used. However this is a complex code and it is not mine, so modifying i ... |
Topic: Initialization to zero |
Emanuele
Replies: 36
Views: 31874
|
Forum: Support Posted: Sun Dec 20, 2015 7:33 pm Subject: |
Thank you. It could work, but I'm a bit scared of setting the global save, since there are subs that are called several times in a run. |
Topic: Initialization to zero |
Emanuele
Replies: 36
Views: 31874
|
Forum: Support Posted: Sun Dec 20, 2015 3:50 pm Subject: Initialization to zero |
I’m working on a fortran program which was probably developed on a system that provided automatic initialization of variables and arrays to zero. On FTN95, this program generates many arithmetic error ... |
Topic: FTN95 64-bit beta test |
Emanuele
Replies: 128
Views: 98922
|
Forum: General Posted: Sun Oct 25, 2015 6:04 pm Subject: Re: |
does the CLR virtual machine/interpreter translate .NET code to x86 instructions or x64 instructions? Are all support DLLS available?
It seems to me that the answer is x86 and the linker refers ... |
Topic: FTN95 64-bit beta test |
Emanuele
Replies: 128
Views: 98922
|
Forum: General Posted: Tue Oct 13, 2015 4:18 pm Subject: Re: |
A new "backend" has been to added to FTN95.exe for "x64" to go alongside the existing backends for "Win32" and ".NET". These backends generate the relevant as ... |
Topic: Calling .NET from Fortran (Shared members) |
Emanuele
Replies: 2
Views: 4505
|
Forum: Support Posted: Wed Nov 19, 2014 10:31 pm Subject: |
Thanks Paul. Quite strange, though, considering that in the opposite case, when Fortran DLLs are called from .NET, members are always seen as shared… |
Topic: Calling .NET from Fortran (Shared members) |
Emanuele
Replies: 2
Views: 4505
|
Forum: Support Posted: Wed Nov 19, 2014 3:41 pm Subject: Calling .NET from Fortran (Shared members) |
Declaring a .NET class by an OBJECT statement, it is possible to access fields of the class using the % operator (ClassName%MemberName) and methods using ASSEMBLY_EXTERNAL statement.
However, this ... |
Topic: Fortran and Visual Studio Express 2013 |
Emanuele
Replies: 2
Views: 4924
|
Forum: Support Posted: Tue Nov 18, 2014 3:28 pm Subject: |
Yes. But Express edition does not support the external FTN95 plug-in, so you have to write the fortran .dll separately (using Plato) and compile it choosing the .NET platform.
Then you can add the re ... |
Topic: Passing allocatable arrays |
Emanuele
Replies: 13
Views: 19593
|
Forum: Support Posted: Mon Nov 17, 2014 10:23 pm Subject: |
Ok, thanks. I am not very familiar with pointers! |
|