- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys!
I'm in the process of converting some older code form the 90s to use some of the newer libraries (multi-threaded LAPACK/BLAS). I'm having a problem with one code. I believe I've managed to correct the library dependencies but I get the following error when I try to compile and link it:
ifort: error #10236: File not found: 'sig2d.exe'
sig2d.exe is the name of the target executable that I'm trying to create. Can anybody provide some insight into what the problem could be?
Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you upload a Makefile (or your command line) and build log? That error needs some context.to be able to provide any helpful feedback.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Take the "-c" flag out of this line:
$(FC) -o -c $@ $(OBJS) $(LDFLAGS) $(LIBS) ../../../lib/$(ACAL) ../../../lib/libutil.a
The -c tells the compiler to compile but not link, which is not what you want. Also the -c is getting in the way of -o so that sgid.exe is interpreted as an input file, not output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, that compiles without errors, but now I get warnings:
ifort: warning #10145: no action performed for file 'sig2d.o'
I thought it had something to do with the format of the source...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
any ideas about the error #10145? im on a time crunch to get these codes converted. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please post the current version of the makefile that causes the error message to be issued. You posted an older version earlier, and you indicate that you have made some changes to it, but we do not know what those were.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The warning would have been caused by a command such as [bash]ifort -c sig2d.o[/bash] possibly with other compiler options. The command does not make sense, since no Fortran source is specified; hence the warning, The question then is, did make generate such a command from the makefile? When I ran make on your latest makefile, I did not get this warning.
It is possible that the makefile that you are using is not quite the same as that which you posted. Please check. Another thing to try is to clean all old object files and rebuild.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The latest makefile was copied directly from the build directory I was using in VMware into windows and then uploaded here, so it is the latest version.
I have been performing a make clean prior to rebuilding.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page