Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

ifort

tarikf
Beginner
1,359 Views
hi!!

i've got a problem.

i tried to compile a simple source code by using the command ifort.
According to the users guide, the executable should be produces automatically, cause by using the compiler the linker is invoked too.
but all i get is an object-file, there's no .exe
can anyone tell me why??

thx
tarik
0 Kudos
6 Replies
Steven_L_Intel1
Employee
1,359 Views
Please show the exact command line you are using and the output of that command. Are you perhaps using /compile_only or -c?
0 Kudos
tarikf
Beginner
1,359 Views
it looked like the following


C:>ifort test.f90
Intel Fortran Compiler for 32-bit applications, Version 8.1 Build 20040802
Z Package ID: w_fc_p_8.1.019
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
30 DAY EVALUATION LICENSE

ifort: NOTE: The evaluation period for this product ends on 18-feb-2005 UTC.
ifort: error: unable to run 'Bin'

thx
0 Kudos
Steven_L_Intel1
Employee
1,359 Views
The problem here is that it was unable to run the linker due to a configuration error. Do you have either Microsoft Visual C++.NEY or Visual Studio.NET installed? What is the contents of C:Program FilesIntelFortrancompiler80IA32BINifort.cfg?
0 Kudos
tarikf
Beginner
1,359 Views
hi steve!

this is what i found:

# This Configuration file may be used for additional switches

# Enable Microsoft* Visual C++.NET 7.0 compatibility
-Qvc7.1

# Path to Microsoft* Visual C++.NET 7.0 linker
-Qlocation,link,"Bin"

# *Other names and brands may be claimed as the property of others

you're right, but how can i change path of the linker
unfortunately i do not have visual c++ installed

tarik
0 Kudos
Steven_L_Intel1
Employee
1,359 Views
Visual C++.NET is a required prerequisite for using Intel Visual Fortran. If you are using the command line only and don't mind some restrictions, see here.
0 Kudos
tarikf
Beginner
1,359 Views
that's great

thanks very much steve

tarik
0 Kudos
Reply