Changeset 4244
- Timestamp:
- Feb 8, 2007, 9:58:52 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/util.py
r4226 r4244 15 15 16 16 from anuga.geospatial_data.geospatial_data import ensure_absolute 17 from anuga_parallel.parallel_api import barrier 17 18 18 19 def file_function(filename, … … 508 509 509 510 dir_name = dir_name 510 if access(dir_name,W_OK) == 0: 511 if myid == 0 and access(dir_name,F_OK) == 0: 512 # if access(dir_name,F_OK) == 0: 511 513 print 'Make directory %s' %dir_name 514 print "myid", myid 512 515 mkdir (dir_name,0777) 516 barrier() 513 517 screen_output_name = dir_name + "screen_output_%d_%d.txt" %(myid,numprocs) 514 518 screen_error_name = dir_name + "screen_error_%d_%d.txt" %(myid,numprocs)
Note: See TracChangeset
for help on using the changeset viewer.