last commit was the wrong thing, trying something else to create a directory

This commit is contained in:
James McClure
2014-05-11 19:06:19 -04:00
parent 9f57073d16
commit 02df70e576

View File

@@ -1,6 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <direct.h>
#include <sys/stat.h>
#include <iostream>
#include <exception>
#include <stdexcept>
@@ -2383,7 +2383,7 @@ int main(int argc, char **argv)
sprintf(tmpstr,"vis%03d",logcount);
if (rank==0){
mkdir(tmpstr);
mkdir(tmpstr,0777);
}
MPI_Barrier(MPI_COMM_WORLD);