Silverfrost Forums

Welcome to our forums

CHECK mode limit reached

23 Jun 2014 10:33 #14258

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

23 Jun 2014 2:07 #14262

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.

23 Jun 2014 4:42 #14263

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

23 Jun 2014 5:49 #14264

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.

23 Jun 2014 6:43 #14265

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.

24 Jun 2014 6:15 #14266

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.

26 Jun 2014 12:22 #14276

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

26 Jun 2014 1:57 #14280

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

Please login to reply.