- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using cray pointers gives a bug in the following:
character grp(1)
pointer (pgrp, grp)
pgrp = malloc(2)
call subroutine(grp)
BUT (with all other code identical)
call subroutine(grp(1))
works.
This bug only affects pointers to character variables, all others are OK.
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
program test
character grp(1)
pointer (pgrp, grp)
pgrp = malloc(2)
grp(1) = 'a'
grp(2) = 'b'
call test2(grp)
end
subroutine test2(grp)
character grp(*)
write(*,*) grp(2)
return
end
This fails to write grp(2) correctly. Replacing grp by grp(1) in subroutine call does work.
- 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
Running on Fedora core 2 (IA32), kernel 2.6.6
Thanks for trying it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That doesn't tell me the actual version.
Do an
ifort -what
and tell me the result. My guess is that you downloaded the initial release from December and didn't get the current one. This is a flaw in the way we do the non-commercial and evaluation kits. You have to register with Premier Support and download from there.
There's a proposal to update the initial download kits on a quarterly basis. I hope it happens, as the current situation is frustrating for many.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ifort -V gives: Version 8.0 Build 20031016Z Package ID: l_fc_p_8.0.034
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, thanks. -what should work, though.
You indeed have the original December release. Please register with Premier Support and download the current version. You will need two downloads - first, l_fc_pc_8.0.046 - uninstall ifort and install this one. Then there is a patch, l_fc_pc_8.0.046_pe047.1, which installs on top of that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Obviously, I appreciate that Intel have no obligation at all to make evaluation or free software available. However, given that it is there, some warning that it is not the latest version would be appreciated. I am evaluating this for purchase for a University department, and I have just wasted 2 work days.
To be fair, though, I can say that the support appears excellent!
- 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