Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Avisos
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discusiones

CVF v5.x Linker Warning: Exec Size Exceeds Max Allowed

ahbstxz
Principiante
1.380 Vistas
Hello. I havea quick question. I have plodded along on this and, with a lot of work,have achieved a successful compile and link of a Fortran 70 app (in CVF IDE): only 1 Compile Warning and 1 Link Warning (see below). It is CVF v5.x or 6.x-have forgotten on Windows 2003 Server (I know it is not Win95 or XP). I know thistool is dated but details onerr maybe well known. I want to rule out this warning as being source of issue I am having.
The Link warning indicated image (executable) size (356900864)exceeded max allowable (268435456);however, the generated executable is only 268K. So, why the warning? Why isn't the image closer to 268435456 bytes in size??
From the context of your experience, is this a concern or just a decoy; i.e., the executable is as programmed and should work as programmed? The executable runs without err butis not producingexpected results so I thought maybe the size warning should be taken seriously-that it may be producing strange behaviorand I should strive to decrease exec image size by paring down the linked files (.lib, .mod, .def, .inc) by only using what absolutely necessary.
Debug/rmwg_dump.exe : warning LNK4084: total image size 356900864 exceeds max (268435456); image may not run rmwg_dump.exe - 0 error(s), 1 warning(s)
Thank You
0 kudos
5 Respuestas
anthonyrichards
Nuevo Colaborador III
1.380 Vistas
Have you redimensioned any arrays in your code - on purpose or by accident - recently? It looks like you are askingfor huge amounts of storage.
TimP
Colaborador Distinguido III
1.380 Vistas
The warning has been discussed several times on the forum pages. Presumably, this is a reason for leaving the CVF forum archives visible, and for the provision of a search function. It warns you that it may not run on Windows 95.
ahbstxz
Principiante
1.380 Vistas

I am on Windows Server 2003, Standard Edition/S.P. 1. Not Win95.

The Fortran Prog I inherited and it had been created/debugged, etc.; i.e., itshould work. But I had to get it to compile/link in CVF on my machine. I only changed 1 thing in the code-did not redimen any arrays. It does call a lot of third-party libs, etc. The agony was getting all these files together and configuring them properly in the IDE and in proper folders.

The exec image generatedis only 268K--is that correct or does the warning suggest otherwise? This is confusing since I get unexpected, incorrect results so I do not know if the image should be ~350M and, if system could accomodate it, would yield correct results. But it does run w/o err.

jimdempseyatthecove
Colaborador Distinguido III
1.380 Vistas

What happens when your compiler options are set for minimum size? (and favor size over speed and no loop unrolling, etc...)

Jim Dempsey

Steven_L_Intel1
Empleados
1.380 Vistas
The message is trying to tell you that the EXE will not run on some old versions of Windows. It doesn't care what you are building on. If you won't run on Windows 95 or Windows NT4 prior to SP3, then you can ignore this message. Later versions of the MS linker do not give this warning.

The size of the .EXE file does not tell you how much static code and data is in the application.
Responder