- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi folks,
I'm new to this forum and maybe this is well known but in any case I'd like to ask it :)
I was wondering what is the real status of intel fortran integration with Xcode.
I mean to say: what versions do work with? And what does 'work' mean exactly? For instance i remember few months ago it was said that Xcode was supporting intel fortran compiler, but it had issues when detecting dynamically allocated arrays etc.
Has all this been sorted out already?
Thanks in advance.
I'm new to this forum and maybe this is well known but in any case I'd like to ask it :)
I was wondering what is the real status of intel fortran integration with Xcode.
I mean to say: what versions do work with? And what does 'work' mean exactly? For instance i remember few months ago it was said that Xcode was supporting intel fortran compiler, but it had issues when detecting dynamically allocated arrays etc.
Has all this been sorted out already?
Thanks in advance.
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
At the moment, Xcode 4.2 is the supported version with the latest Intel compiler. With Xcode 4.2 installed, you have full capabilities of Intel Fortran when compiled from the command line. Use of the Xcode IDE has "limited support", due to Apple not providing the necessary "hooks". I have no idea what is being referenced regarding "detecting dynamically allocated arrays".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
first of all, thanks for the reply ;)
Then the question about 'dynamically allocated arrays': some time ago, a fortran code containing pieces of code like:
real*8, pointer, dimension(:) :: a
allocate (a(5))
do i=1,5
a(i) = 1.d0*i
enddo
could not be debugged well in the sense that when asking Xcode to tell the value of the a(2) for instance, it did not provide the right answer.
If a was declared statically, then the problem disappeared. That is what i mean to say when I say what I say :)
Do I have to understand that this is no longer a problem?
Also, what version of the fortran compiler does work 100% with Xcode 4.2?
best regards and thanks again.
first of all, thanks for the reply ;)
Then the question about 'dynamically allocated arrays': some time ago, a fortran code containing pieces of code like:
real*8, pointer, dimension(:) :: a
allocate (a(5))
do i=1,5
a(i) = 1.d0*i
enddo
could not be debugged well in the sense that when asking Xcode to tell the value of the a(2) for instance, it did not provide the right answer.
If a was declared statically, then the problem disappeared. That is what i mean to say when I say what I say :)
Do I have to understand that this is no longer a problem?
Also, what version of the fortran compiler does work 100% with Xcode 4.2?
best regards and thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Apple debugger, available from within Xcode, does not support Fortran. You must run the Intel Debugger (idb) separately from outside Xcode.
Intel Fortran Composer XE 2011 Update 9 works with Xcode 4.2.
Intel Fortran Composer XE 2011 Update 9 works with Xcode 4.2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sorry Steve but I don't seem to get what you say. Let's see: do I have to understand that I can not fully debug fortran code within Xcode?
In his sense, the status hasn't changed much, has it?
I was hoping that I could use Xcode as a fully working/editting/debugging enviroment, as Xcode is supposed to be that.
Oh well anyway maybe in the future :)
Do you know if there are plans for fully-functional support under Xcode?
Or in anyca se, is there any graphical IDE for idb? The Linux versio has it and I use it quite a bit, and it works fine. For instance can I use/debug intel fortran from within eclipse?
Thanks again.
In his sense, the status hasn't changed much, has it?
I was hoping that I could use Xcode as a fully working/editting/debugging enviroment, as Xcode is supposed to be that.
Oh well anyway maybe in the future :)
Do you know if there are plans for fully-functional support under Xcode?
Or in anyca se, is there any graphical IDE for idb? The Linux versio has it and I use it quite a bit, and it works fine. For instance can I use/debug intel fortran from within eclipse?
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We would very much like to provide full integration in Xcode, including Fortran-knowledgeable dependency analysis and debugging, but Apple, to date, has not provided the hooks in Xcode that we need to do so. We continue to work this issue with Apple.
Yes, you can use Eclipse for an IDE. Sorry, the GUI for idb is not available on OS X.
Yes, you can use Eclipse for an IDE. Sorry, the GUI for idb is not available on OS X.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page