Hello,
I wanted open fortran by using xcode. I already spent a lot of time trying to understand what I am doing wrong. I am not able to figure it out. I checked the following website as well:
http://software.intel.com/sites/products/documentation/hpc/composerxe/en...
However, I am not able to work it.
My Xcode is version 4.6.3. My mac OS x is version 10.7.5. The fortran compiler is intel fortran composer xe 2013 for OS X student version.
When I go with the directions given in the link above, I see the following:
-Launch Xcode
-Create a new xcode project
-OS X -> Application ->Command Line tool->Next.
Product name: Hello
Type:C++
Uncheck automatic reference counting.
-Click next. Click Save.
-Move Main.cpp and Hello.1 to trash.
-File->New file->Fortran Fixed Format File.
I do not have Groups&Files under the Target group.
-Click on Targets-> Click on Build Rules.
-Click on Add Build Rule on the lower right.
-Under Process choose fortran source files.
-Under Using choose Intel Fortran Compiler XE 13.0 (Limited Feature).
Go to File.for. Enter the following:
program Hello
write(*,*) 'Hello'
end program Hello
-Build.
I get the following error line by line:
line1 program Hello
error #5149: Illegal character in statement label field.
error #5118: First statement in file must not be continues
line 2 write(*,*) 'Hello'
error #5082: Syntax error, found CHARACTER_CONSTANT
error #5149: Illegal character in statement label field
line 3 end program Hello
error #5082: Syntax error, found END-OF-FILE when expecting one of <LABEL> <END-OF-STATEMENT>
error #5149: Illegal character in statement label field