- Timestamp:
- 10/21/10 13:40:52 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/OutputResultsx/OutputResultsx.cpp
r6372 r6375 27 27 char cpu_outputfilename[100]; //easier to convert an integer with sprintf 28 28 bool io_gather; 29 bool io_split;30 29 int solutiontype; 31 30 Results *results = NULL; … … 59 58 /*What strategy? : */ 60 59 parameters->FindParam(&io_gather,IoGatherEnum); 61 parameters->FindParam(&io_split,IoSplitEnum);62 60 63 61 … … 66 64 if(my_rank==0) fid=pfopen(outputfilename ,"wb"); 67 65 } 68 if(io_split){66 else{ 69 67 /*We are opening different files for output on all cpus. Append the rank to the filename, and open: */ 70 68 sprintf(cpu_outputfilename,"%s.%i",outputfilename,my_rank);
Note:
See TracChangeset
for help on using the changeset viewer.