Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29306 Discussions

Error: Command .../ifort failed with exit code 1

Allan_Leuan
Beginner
1,273 Views
I am a new user of Xcode and intel fortran. I encounter the following problem and hope to get some help! Thanks!!
I tried to build and run the following simple fortran 90 code:

subroutine hello(a,b)

implicit none

real,intent(out):: a

real,intent(in):: b

a = b

end subroutine

However, the Xcode gave me an error message as:

"Command /Developer/usr/local/bin/ifort-11.1-base/bin/intel64/ifort failed with exit code 1"

As it provides no further details, I have no clue about what the error is about... Thanks!!

0 Kudos
2 Replies
Udit_P_Intel
Employee
1,273 Views
This looks like a legal program. If Xcode is giving a problem, try something executable like hello world to make sure it compiles and runs.
I just compiled your program with an Intel64 machine in 11.1 version of the compiler and got an object file without any error.
Did you check that an object file indeed wasn't generated?
0 Kudos
Steven_L_Intel1
Employee
1,273 Views
Please continue discussion in the other thread.
0 Kudos
Reply