- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Visual Studio 2010 with Intel Fortran Composer XE 2013 Update 1.
I am developing a scientific program and I can compile it in Debug Win32 mode. Once I try to do the same in x64 (Configuration Manager-> Active Solution Platform -> x64) I got a huge number of errors like
Error 431 Compilation Aborted (code 1) C:\Projects_VS\aaa.F90 1
Error 430 error #6580: Name in only-list does not exist. [INPUT_MAIN_DATA_FILE] C:\Projects_VS\bbb.F90 79
Error 429 error #6580: Name in only-list does not exist. [name] C:\Projects_VS\ccc.F90 77
Error 428 error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_INPUT_DATA] C:\Projects_VS\ddd.F90 79
Error 427 error #7002: Error in opening the compiled module file. Check INCLUDE paths. [ALGORITHM] C:\Projects_VS\aaa.F90 77
Error 426 Compilation Aborted (code 1) C:\Projects_VS\transform.F90 1
With a different program the same procedure worked fine. I have searched the whole day to find the answer but without any success.
I am really looking forward for your help.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One thing to check is whether the 32-bit compilation produced module files (*.mod) that the compiler attempts to reuse during the 64-bit compilation. You may need to have the two sets of module files put in different subdirectories, and you may need to delete the module files and rebuild.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is probably the case that your program called "aaa.f90" had some sort of compilation failure that then cascaded into the other errors.
You started by showing error #431 --- can you either post the build log, or give some of the earlier error messages?
Otherwise, all we can do is make wild guesses as to the cause.
--Lorri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am sorry if I was not clear enough. I have played with the project and I even more confused. Once I change something in a single file and recompile the project, everything is fine.
Once I try ‘Clean solution’ first, I got 426 errors. I cannot find which mod file causes the trouble. Now it happens in Win32 platform compilation.
Do you have any ideas how can I trace and spot the error?
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to inspect the build log and locate the very first error appearing in that log and do what's necessary to fix that error. With modules its typical that when the compilation fails for a source file containing one or more modules that many additional errors follow corresponding to subsequent USE of the module in other areas of the source code and/or other source files.
As Lorri suggested, if you are able to attach the build log to a reply that would provide greater details about the errors that occurred and the ability to offer more specific advice on how to resolve the errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All, Thanks for your help. I have found the mistake. This was a circular dependency of some modules.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad you resolved it.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page