replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - CHECK mode limit reached
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 

CHECK mode limit reached

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
johnbarnes



Joined: 28 May 2014
Posts: 11
Location: Oxfordshire, UK

PostPosted: Mon Jun 23, 2014 11:33 am    Post subject: CHECK mode limit reached Reply with quote

My project has grown in size and I now see this fatal run-time error reported when I try to debug a CheckMate Win32 build:

Salford run-time library.
Insufficient memory available for CHECK mode
Fatal run-time error

Is there something I can do to provide enough memory for CHECK mode?

I have increased the Windows 7 Virtual memory setting but see no difference.

Thanks,
John
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Mon Jun 23, 2014 3:07 pm    Post subject: Reply with quote

What version of FTN95 are you running?
At recent version has a related fix for Windows 7 64bit.
In fact the fix is in the salflibc.dll that goes with the FTN95.
Back to top
View user's profile Send private message AIM Address
johnbarnes



Joined: 28 May 2014
Posts: 11
Location: Oxfordshire, UK

PostPosted: Mon Jun 23, 2014 5:42 pm    Post subject: Reply with quote

Looks like "What version..." might be an interesting question.

The licence I got was for version 7.1, which I downloaded and installed after using the free personal edition for some time. I do all my compiling in Plato which seems a bit coy about what the underlying compliter version is.

After installing version 7.1, I did download and install the free FTN95 Express - perhaps that has zapped version 7.1?

Please advise.

Running the compiler from a command window give this:

C:\FortranProjects\SCAPE\ENGINE2>ftn95 /version

Silverfrost FTN95/.NET Copyright (C) 1993-2009 Silverfrost Ltd
---------------------------------------------------------------

Version: 5.40.0
Built: Mon Oct 5 20:01:35 2009

Operating System: Microsoft .NET on Windows 7
CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz Model
15 Step 11
CPU Features: MMX, SSE, SSE2, x86-64
Status: Personal Edition
Back to top
View user's profile Send private message
davidb



Joined: 17 Jul 2009
Posts: 560
Location: UK

PostPosted: Mon Jun 23, 2014 6:49 pm    Post subject: Reply with quote

FTN95 Express comes with a different (earlier) version of the compiler (Version 5.40) and therefore probably "downdated" version 7.1 (look at the FTN95 Startup screen to see what version you have installed now).

Don't worry though. You can re-install FTN95 over the top to re-instate 7.1. This should allow 7.1 to work with both Plato and the Visual Studio shell in FTN95 Express.

This has always worked for me.
_________________
Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl
Back to top
View user's profile Send private message
johnbarnes



Joined: 28 May 2014
Posts: 11
Location: Oxfordshire, UK

PostPosted: Mon Jun 23, 2014 7:43 pm    Post subject: Reply with quote

The re-install did not help but I restored use of the version 7.1 by removing an entry for the Express version from the PATH setting.

Now my app run OK in CHECK mode.

Thanks folks.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Tue Jun 24, 2014 7:15 am    Post subject: Reply with quote

John

Make sure that there are no old copies of salflibc.dll in use. Use the one that goes with the latest FTN95.

After that, there is a memory limit for /CHECK so ultimately you may have to do the testing on a small model and then increase the size (without /CHECK) after testing.
Back to top
View user's profile Send private message AIM Address
JohnCampbell



Joined: 16 Feb 2006
Posts: 2615
Location: Sydney

PostPosted: Thu Jun 26, 2014 1:22 pm    Post subject: Reply with quote

The problem is that \program files is not valid for Windows 7_64 (Yet to know what Win 8 expects)

My suggestion is to modify fvars.bat to include:
set program_files="c:\program files (x86)"
set ftn95_dir = %program_files%\silverfrost\ftn95
etc

You may find from typing SET that something like %program_files% is already defined as an environment variable.

It is not too difficult to design a version of fvars.bat that is more flexible and can be installed into cmd.exe shortcut with the /K option.
This can also overcome some of the sys admin restrictions in Win 7.
(I am yet to venture into Win 8.1 !)

John
Back to top
View user's profile Send private message
narayanamoorthy_k



Joined: 19 Jun 2014
Posts: 142
Location: Chennai, IN

PostPosted: Thu Jun 26, 2014 2:57 pm    Post subject: Reply with quote

Hi John

I too faced the same issue in /CHECK. But followed your steps, but it could not help..

When I use /CHECK option in compilation, it gives error saying "Salford Run-time library. Insufficient memory available for CHECK mode. Fatal run-time error" How do I get over this. I have Win7 OS and fine. The same in normal mode (without /CHECK), it runs fine.

Pls. help to get this fixed..

Thanks
_________________
Thanks and Regards
Moorthy
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
Page 1 of 1

 
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