- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I have several source files that use modules. The files containing the module definitions must be compiled first. Is there a way to specify compilation order within the developer? I've tried updating dependencies, but that doesn't seem to work for module dependencies. Another option would be to execute a script that compiles the modules first, but I'm not sure how (or if) I can invoke a script as a pre-compilation step from the developer. Can it be done? Any other solutions would be appreciated as well.
- Balises:
- Intel® Fortran Compiler
Lien copié
4 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I used to have that problem with CVF, but IVF 9.1 is very smart, and works well for me.
For CVF, you can create a library project that includes all the modules, and set the project dependcy to build it first. Make sure the output files go to the same directory as your main project and they will be up to date, or you can reference your dummy lib project.
Ian
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Since you talk about "update dependencies", that tells me you're using CVF which indeed could have this problem due to inadequacies in the build system there. It should not be seen in Intel Visual Fortran.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks Ian. I'd hoped to avoid moving all of the module files to a separate library project, but that might be the best approach.
Steve
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks Steve. Sounds like we probably should upgrade to IVF.
Steve
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