Silverfrost Forums

Welcome to our forums

Changing up DLL's

13 Nov 2020 11:56 #26606

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?

14 Nov 2020 1:08 #26607

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 (?).

14 Nov 2020 7:16 #26608

Bill

Do they use the same version of the compiler?

FTN95 now implements the 2008 intrinsic COMPILER_VERSION() via ISO_FORTRAN_ENV.

14 Nov 2020 2:21 #26609

I will add this to the mix. Thanks!

14 Nov 2020 2:45 #26610

Also, yes, the same version of the compiler.

I understand now where my testing error was, and this item is now resolved for me.

15 Nov 2020 1:03 #26611

Paul,

Thanks for this addition to FTN95.

16 Nov 2020 12:38 #26614

Paul,

Where does FTN95 8.66.0 look/expect to find the definition of ISO_FORTRAN_ENV?

program test
use ISO_FORTRAN_ENV
print*, COMPILER_VERSION()
end program test

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.)

16 Nov 2020 3:43 #26615

Ken

You will need the mod file for ISO_FORTRAN_ENV which you can download from here...

https://www.dropbox.com/s/1anhqxwi57iop6u/mod_files_16Nov2020.zip?dl=0

16 Nov 2020 4:24 #26616

Thanks Paul. That solves that query.

Please login to reply.