beginner for help to use fortran by Xcode

beginner for help to use fortran by Xcode

 am new to fortran, Xcode and mac area. But I don't know how to use fortran.  At first, I have problem starting fortran. I followed this link http://software.intel.com/sites/products/documentation/hpc/composerxe/en... 

but when I change the built rules and do built, there are two errors. 

Ld Warning symbol(s) not found for architecture x86_64

Ld Error Command /usr/bin/ifort-14.0 failed with exit code 1

the mac I use is OS 10.9.1 and intel core i5, I think it's 64bt. 

And the complier I use is  Intel® Fortran Composer XE for OS X*. for free 30 days

the Xcode I use is 5.0.2

Hope someone could help me with easy understanding words.

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hello Fan Z.,

You seem to did everything correctly. Could you paste here the build log - it would help to undestand the cause of the linker error. To see the build log, open Log Navigator, click latest Build, then locate Link step line and expand it (rightmost button in the line).

Thanks,

Denis

Quote:

Denis Briltz (Intel) wrote:

Hello Fan Z.,

You seem to did everything correctly. Could you paste here the build log - it would help to undestand the cause of the linker error. To see the build log, open Log Navigator, click latest Build, then locate Link step line and expand it (rightmost button in the line).

Thanks,

Denis

Thank you, here is the picture attached following your advice. So what should I do?

Attachments: 

Fan Z.,

Thanks for the screenshot. It looks as if your Fortran program does not have main entry point ("program main"). You may need to write it to be able to create executable.

Regards,

Denis

Leave a Comment

Please sign in to add a comment. Not a member? Join today