- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I want to compile the following program
programbc
implicit none
integer nx,ny,nz,ns
implicit none
integer nx,ny,nz,ns
parameter (nx=34,ny=33,nz=34,ns=2)
real rho(nx,ny,nz),phi(ns+1,nx,ny,nz),p(nx,ny,nz)
p(2:nx-1,1,2:nz-1) = rho(2:nx-1,1,2:nz-1)*phi(1,2:nx-1,1,2:nz-1)
end program
when I change the multiplication line,with a do loop,there will not be any error.
is there any way to get around this problem without rewriting the code with do loops
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had similar problems previously. If I remember correctly it compiled ok if you did not use debug.
But, after reporting the errors, it was fixed in version 9.0.030, which I now use. I tested your program there in, debug mode, and it compiled ok.
Best wishes
Lars M

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