Changeset 3143
- Timestamp:
- 02/27/10 12:42:13 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/io/pfclose.cpp
r472 r3143 18 18 19 19 /*Close file handle: */ 20 if(fclose(fid)!=0)throw ErrorException(__FUNCT__,exprintf("%s%s","could not close file ",filename)); 20 extern int my_rank; 21 if(my_rank==0){ 22 if(fclose(fid)!=0)throw ErrorException(__FUNCT__,exprintf("%s%s","could not close file ",filename)); 23 } 21 24 } 22 25
Note:
See TracChangeset
for help on using the changeset viewer.