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 on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 Discussions

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

Allan_Leuan
Beginner
751 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
Ron_Green
Moderator
751 Views
there is not enough information here to go on. You are using an 11.1 compiler. The newest version of this compiler was validated against Xcode 3.2.2. What version of Xcode are you using? Versions 4.0 and 4.1 will not work with this compiler.

Does this code compile from the command line?

ron
0 Kudos
Allan_Leuan
Beginner
751 Views
I use Xcode 3.2. I figured out the problem was that I forgot to include a "main" file in the resource folder. It was a silly mistake. Thanks for the reply!
0 Kudos
Reply