- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can any one tell me if Intel Fortran support HPF programing?
I have an experience with the following code:
real, dimension(1000,1000) :: A
forall (i=1:1000,j=1:1000)
A(i,j) = i*j
end forall
Though using ifort can compile the code, it will lead to stack overflow run time error even if using /F40960000 compile option. However, using pgf90 or pghpf, everything is ok.
All experiments are carried out in Windows system.
Thanks in advance.
Xianyao Chen
Can any one tell me if Intel Fortran support HPF programing?
I have an experience with the following code:
real, dimension(1000,1000) :: A
forall (i=1:1000,j=1:1000)
A(i,j) = i*j
end forall
Though using ifort can compile the code, it will lead to stack overflow run time error even if using /F40960000 compile option. However, using pgf90 or pghpf, everything is ok.
All experiments are carried out in Windows system.
Thanks in advance.
Xianyao Chen
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
While Intel Fortran does not support all of HPF, it does have many features from HPF including FORALL, as extended in Fortran 95. Large array operations sometimes need to make temporary copies of arrays, and these are placed on the stack. I don't recognize the option you are using - I would typically use /link /stack:10000000 or something like that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Steve,
Thanks. The option /F10000000 is one I learned from Intel Premier support. Acturally, I can not find it in the user guide of Intel Fortran, however, it does work to increase stack used by program.
I also try the option /link /stack:10000000 and I have increased the stack to more than 400Mb, but it still leads to the error of stack overflow.
Xianyao Chen
Thanks. The option /F10000000 is one I learned from Intel Premier support. Acturally, I can not find it in the user guide of Intel Fortran, however, it does work to increase stack used by program.
I also try the option /link /stack:10000000 and I have increased the stack to more than 400Mb, but it still leads to the error of stack overflow.
Xianyao Chen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would suggest sending an example to Intel Premier Support.

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