diff options
author | tradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001> | 2000-10-04 12:37:11 +0000 |
---|---|---|
committer | tradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001> | 2000-10-04 12:37:11 +0000 |
commit | bbcb60765758fcacf9a81c28cb8a83af033e1d3c (patch) | |
tree | 500b88a62a82cc6a2a354c37bccc672f07084b7b /src/Panda/App_Info.C | |
parent | 5f7f73d1b7898e3e301512f6e2a1632584eb3982 (diff) |
Made it compiling with Kai C++ compiler on Hitachi SR8000.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOPanda/trunk@17 38c3d835-c875-442e-b0fe-21c19ce1d001
Diffstat (limited to 'src/Panda/App_Info.C')
-rw-r--r-- | src/Panda/App_Info.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Panda/App_Info.C b/src/Panda/App_Info.C index 77f1d4b..2d15ea3 100644 --- a/src/Panda/App_Info.C +++ b/src/Panda/App_Info.C @@ -3,14 +3,14 @@ App_Info::App_Info(int app_num, int app_size, int *world_ranks) { - int world_size; + int i, world_size; app_num_ = app_num; app_size_ = app_size; world_ranks_ = copy_int_list(app_size, world_ranks); MPI_Comm_size(MPI_COMM_WORLD, &world_size); relative_ranks_ = (int *) malloc(sizeof(int)*world_size); - for(int i=0; i < world_size; i++) + for(i=0; i < world_size; i++) relative_ranks_[i] = -1; for(i=0; i < app_size_; i++) relative_ranks_[world_ranks_[i]] = i; |