diff options
author | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2001-08-10 23:30:40 +0000 |
---|---|---|
committer | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2001-08-10 23:30:40 +0000 |
commit | eab33c34e1d040743b13180a7b40fdc6c879f177 (patch) | |
tree | 67b3634fa34716b33f7e8182525c20ea0546b1d5 /src/ioutil_Utils.h | |
parent | 770d915a294c3e8904d052720a96ffed0fdaf803 (diff) |
Added routine IOUtil_CreateDirectory() which creates an output directory
on processor 0 and all other I/O processors. This should fix problems with
parallel I/O on non-shared filesystems such as a cluster or in metacomputing
runs between different machines.
Also closes PR CactusBase-758.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@129 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
Diffstat (limited to 'src/ioutil_Utils.h')
-rw-r--r-- | src/ioutil_Utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ioutil_Utils.h b/src/ioutil_Utils.h index 36c3878..c7e8b2e 100644 --- a/src/ioutil_Utils.h +++ b/src/ioutil_Utils.h @@ -32,6 +32,11 @@ int IOUtil_2DPlanes (cGH *GH, const CCTK_REAL origin_phys[], int slice_center[]); +int IOUtil_CreateDirectory (cGH *GH, + const char *dirname, + int multiple_io_procs, + int ioproc); + #ifdef __cplusplus } #endif |