- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve
I am wondering if "procedure pointer" will be supported in next release of the compiler. v10 does not support it although Cray pointer is there. we need to develope of non-intel compiler platform, the compiler there is moer Fortran 2003 compliant. Sadly, it does not support the cray pointer.
Abhi
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Abhi,
From your brief description it would seem like you are using an Intel platform (Mac OS/X?) to develop (debug-edit-debug...) for a non-Intel platform. Then when the application is in a sufficiently good working state, compile for the non-Intel platform using the non-Intel compiler on the target platform. During this Intel based development phase you would like to have use of "procedure pointer".
As a work around, available under Windows, and therefore likely available under Linux/OS/X, would be to declare the sharable datain a module as a user defined type and have the module contain a pointer to the user defined type. Then, in place of using ALLOCATE to obtain the memory perform the allocation usinga Memory Mapped File (availableunder Windows and hopefully under Linux). Your "application" canexist as multiple procedureson your system each of whichcan then have multiple pointers, one for its data and other pointers foreach of the otherrunning procedures. This technique would best on a single SMP system. With a small amount of programming on your part might get you what you need or at least close enough to what you need for development.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve and Jim
Thanks a lot for your responses. I will try to implement Jim's idea.
The current scenario for me is that I need to write code that Intel and IBM XL Fortran can handle (the 'other platform' being AIX). Steve, I find that IBM XL Fortran (version 11) is a bit more Fortran 2003conforming than Intel 10. This particular instance is not a big problem but I hope the next version of the compiler comes out soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page