- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am testing ifort Version 8.1 Build 20050823Z Package ID: l_fc_pc_8.1.030 for the following simple program:
program hello
write (*,*) 'Hello, world from Fortran 90'
end
write (*,*) 'Hello, world from Fortran 90'
end
The command 'ifort -v -c -ohello.o hello.f90 > compile.lis 2>&1' generates the command '/opt/intel_fc_80/bin/fortcom -D__INTEL_COMPILER=810 ... -I. -I/include -I/opt/intel_fc_80/include -I/opt/intel_fc_80/substitute_headers -I/usr/include ...'
Why is '-I/include' in the generated command? The include subdirectory for the install directory is /opt/intel_fc_80/include, which is already in the command. The inclusion of this in the path apparently is not hurting anything, but it piqued my curiosity.
The command line generated with ifort v9.0 does NOT contain the same phrase.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It sounds as if the 8.1 compiler was not installed properly. ifort.cfg gets written by the install and it should have replaced INSTALLDIR with the proper path. Are you properly "source"-ing the compiler?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I source /opt/intel_fc_80/bin/ifortvars.sh before running ifort. You will note that "-I /opt/intel_fc_80/include and -I/opt/intel_fc_80/substitute_headers" are present, indicating that the installation directory (/opt/intel_fc_80) include files are being used. I will have our system administrator install again with the latest patches after the holidays, and see if the message still occurs. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Our system administrator reinstalled the compiler (v8.1.031) and the error message has disappeared. Thanks for the suggestion!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page