- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
What controls the size of a module .MOD file? I have a 957 line file which is probably 40-50% comments and it produces a 5.35MB .MOD file.
I assume it must be the includes, but it still seems pretty large...
- Balises:
- Intel® Fortran Compiler
Lien copié
7 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
There are no comments in a .mod file. It's symbol table information only. If you have very large PARAMETER constants (arrays or character strings defined), those are represented in the .mod file.
Anything in the include files gets compiled as if it was in the original source. So what's the total content of all the files?
Anything in the include files gets compiled as if it was in the original source. So what's the total content of all the files?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
All my includes amount to less than 400KB...does the module expand arrays or anything like that?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
If they're PARAMETER arrays and are initialized, yes. If they're variables, no. Please submit the sources to Intel Premier Support so that we can look at it - ask that it be assigned to Steve Lionel.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
As usual I forgot my details...this is CVF6.6C on XP SP2. Do you still want to look at this, Steve? It isn't bothering me over-much...the MOD file jsut seemed curiously large. I might look into compiler options in the mean time...
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I am still interested - if you can send me a zip file to steve.lionel at intel.com I'd appreciate it. The module processing of CVF 6.6C is fundamentally similar to that of IVF, though we've done a lot of tweaking since then. It used to be, prior to CVF 6.6, I think, that .mod files included all the declarations of other modules it USEd, but that's no longer the case.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I've sent you an e-mail Steve.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I found the 'problem'. In all the CONTAINed functions I included my main common block definition file. If I move that include to the top of the module and remove it from each function, the .MOD file size drops to a little under 500kb.
Message Edited by judd on 07-22-2005 10:42 AM

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable