forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Different results for 32-Bit and 64-Bit versions
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
mecej4



Joined: 31 Oct 2006
Posts: 1943
Location: USA

PostPosted: Sun Dec 07, 2025 8:21 pm    Post subject: Reply with quote

Thanks, Kenneth. I downloaded the DLLs and the test program source from the Silverfrost Gitlab page. I built the 32-bit exe, and it ran fine, displaying your examples.
The 64-bit exe was also built, but when run it displayed "The procedure entry point DGAMMA@ could not be located in the dynamic link library ...NSWC64.DLL.
Back to top
View user's profile Send private message
Kenneth_Smith



Joined: 18 May 2012
Posts: 872
Location: Lanarkshire, Scotland.

PostPosted: Sun Dec 07, 2025 11:36 pm    Post subject: Reply with quote

Mecej4, Thanks for the feedback. Yes, I can replicate that error for the 64 bit test program using the the current FTN version, with the dlls on the Gitlab page that were prepared using FTN v8.97.2.

If I create a new 64 bit dll with the current FTN version all appears to run correctly.

Here are the dlls I created this evening: https://www.dropbox.com/scl/fi/0sloctwtvuctmfk7is4g9/nswc-FTN95-Ver.9.14.0.zip?rlkey=a1tbps9umydbje5u4cjrn5k66&st=5cc3nq9c&dl=0
Back to top
View user's profile Send private message
mecej4



Joined: 31 Oct 2006
Posts: 1943
Location: USA

PostPosted: Mon Dec 08, 2025 12:31 am    Post subject: Reply with quote

Thanks for the new DLLs, Kenneth. Everything is fine now.
Back to top
View user's profile Send private message
Kenneth_Smith



Joined: 18 May 2012
Posts: 872
Location: Lanarkshire, Scotland.

PostPosted: Mon Dec 08, 2025 2:21 pm    Post subject: Reply with quote

Not entirely fine - if you use Plato.

The Plato help says "When there is no project open, you can view the Project Explorer window in order to add references that are used when compiling and linking the current file."

Thus a simple way to compile and run the example file from within Plato is:

1) Open the file nswctest.f95 in Plato

2) In the VIEW tab, ensure that the following are selected: Project Explorer, Standard Tool Bar, and Build Tool Bar

3) Select either the WIN32 or X64 compiler in the Standard Tool Bar.

4) In the Project Explorer window, right click on References, and select Add References.
This will open a dialogue which allows you to select:

nswc32.dll for the 32 bit compiler WIN32

or

nswc64.dll for the 64 bit compiler X64

5) Use the Compile button in the Build Tool Bar to compile nswctest.f95

6) Use the Build button in the Build Tool Bar to compile nswctest.f95 and link the object file with the dll selected in the References window.

7) Use the Start button in the Build Tool Bar to execute the program.


Now this definitely worked back in 2022, while the present Plato does not allow me to add the required DLL as a reference. Something has changed, or I have forgotten a step.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8320
Location: Salford, UK

PostPosted: Tue Dec 09, 2025 8:34 am    Post subject: Reply with quote

Sorry about this. There is a regression in the current Plato v6.0.4.

Unfortunately the pending full release will use v6.0.4.

Users who need this feature can send me a PM for a link to v6.0.5 whilst noting that the next full release will revert to v6.0.4.
Back to top
View user's profile Send private message AIM Address
Kenneth_Smith



Joined: 18 May 2012
Posts: 872
Location: Lanarkshire, Scotland.

PostPosted: Wed Dec 10, 2025 11:52 am    Post subject: Reply with quote

Paul,
Thanks for the explanation. I was very confused by the change in Plato functionality!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group