View previous topic :: View next topic |
Author |
Message |
johnbarnes
Joined: 28 May 2014 Posts: 11 Location: Oxfordshire, UK
|
Posted: Mon Jun 23, 2014 11:33 am Post subject: CHECK mode limit reached |
|
|
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 |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Mon Jun 23, 2014 3:07 pm Post subject: |
|
|
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 |
|
 |
johnbarnes
Joined: 28 May 2014 Posts: 11 Location: Oxfordshire, UK
|
Posted: Mon Jun 23, 2014 5:42 pm Post subject: |
|
|
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 |
|
 |
davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Mon Jun 23, 2014 6:49 pm Post subject: |
|
|
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 |
|
 |
johnbarnes
Joined: 28 May 2014 Posts: 11 Location: Oxfordshire, UK
|
Posted: Mon Jun 23, 2014 7:43 pm Post subject: |
|
|
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 |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Tue Jun 24, 2014 7:15 am Post subject: |
|
|
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 |
|
 |
JohnCampbell
Joined: 16 Feb 2006 Posts: 2615 Location: Sydney
|
Posted: Thu Jun 26, 2014 1:22 pm Post subject: |
|
|
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 |
|
 |
narayanamoorthy_k
Joined: 19 Jun 2014 Posts: 142 Location: Chennai, IN
|
Posted: Thu Jun 26, 2014 2:57 pm Post subject: |
|
|
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 |
|
 |
|