View previous topic :: View next topic |
Author |
Message |
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Sat Nov 14, 2020 12:56 am Post subject: Changing up DLL's |
|
|
I have a different version of the DLL's. When I run my small test program in Plato, it works. When I compile and run my full version, it does not. I suspected that "it" was using an older version of the DLL's, but I have purged all the DLL's from Program Files (x86)\silverfrost\ftn95 (all folders) and from my entire system. No salf*.*'s anywhere else. I recompiled all my sources.
What am I doing wrong? What else should I be doing to use a different set of libraries? |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Sat Nov 14, 2020 2:08 am Post subject: |
|
|
More info: I appear to be running the same DLL's in both instances. I added the SC_LIB_VERSION@() call and the number reported is the same in both instances.
Good to know (?). |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Sat Nov 14, 2020 8:16 am Post subject: |
|
|
Bill
Do they use the same version of the compiler?
FTN95 now implements the 2008 intrinsic COMPILER_VERSION() via ISO_FORTRAN_ENV. |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Sat Nov 14, 2020 3:21 pm Post subject: |
|
|
I will add this to the mix. Thanks! |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Sat Nov 14, 2020 3:45 pm Post subject: |
|
|
Also, yes, the same version of the compiler.
I understand now where my testing error was, and this item is now resolved for me. |
|
Back to top |
|
|
JohnCampbell
Joined: 16 Feb 2006 Posts: 2554 Location: Sydney
|
Posted: Sun Nov 15, 2020 2:03 pm Post subject: |
|
|
Paul,
Thanks for this addition to FTN95. |
|
Back to top |
|
|
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Mon Nov 16, 2020 1:38 pm Post subject: |
|
|
Paul,
Where does FTN95 8.66.0 look/expect to find the definition of ISO_FORTRAN_ENV?
Code: | program test
use ISO_FORTRAN_ENV
print*, COMPILER_VERSION()
end program test |
Quote: | Compiling and linking file: FreeFormat1.f95
C:\Users\kenneth smith\Desktop\FreeFormat1.F95(2) : error 404 - Cannot find definition for MODULE ISO_FORTRAN_ENV
Compilation failed. |
I was 100% sure I had all updates on my machine - until this morning. (Not an urgent query. I am in curious mode.) |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
|
Back to top |
|
|
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Mon Nov 16, 2020 5:24 pm Post subject: |
|
|
Thanks Paul. That solves that query. |
|
Back to top |
|
|
|