- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys,
I have some problem with my Intel fortran that it does not working properly.
Below are the error message and I hope you guys can help me about this. Thanks in advance.
Intel Visual Fortran Intel 64 Compiler Professional for
applications running on Intel 64, Version 11.1 Build 20091130
Package ID: w_cprof_p_11.1.054
Copyright (C) 1985-2009 Intel Corporation. All rights reserved.
ifort: command line warning #10161: unrecognized source type 'case_a_1';
object file assumed Microsoft Incremental Linker Version
9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved.
-out:case_a_1.exe
-subsystem:console
case_a_1
LINK : fatal error LNK1181: cannot open input file 'case_a_1.obj'
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems to me that case_a_1.obj is not created (compiled) when linker is invoked. Is file case_a_1.f90 included in project?
Jakub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jakub,
Yes, the file (case_a_1.f90) was included in the project.
Rgrds,
Luw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is file case_a_1.obj present in directory where linker searches for it?
Can be case_a_1.f90 compiled from Visual studio using Ctrl+F7?
Are there another source files in project which are compiled OK?
I think that problem can be that You set different path where linker searches for object files than path where compiler stores object files.
Jakub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes, the file is present in that directory and i can compile it.
Current I'm writting a user sub-routine to run Marc and the error message as below,
LINK : fatal error LNK1104: cannot open file 'bufferoverflowu.lib'
link failed for case_a_1.obj
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can You send zipped project directory? I think You have not correctly set paths, where fortran tries to find files.
Jakub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jakub,
Sorry that I don't get you. You want me to zip the folder that I run for analysis, including all the files?
Luw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My suggestion is to send to forum source files (*.f90), project file *(.vfproj) and additional libraries (*.lib) if you are using nonstandard libraries not included in compiler.
We can try to compile your project and find problem.
Jakub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You don't show the actual command, but this error message says to me that you said:
ifort case_a_1
instead of
ifort case_a_1.f90
It is true that CVF would default the extension if it wasn't there, but ifort does not do that. You need to explicitly list the filename plus extension.
- Lorri

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page