/[escript]/trunk/finley/src/Mesh_saveVTK.c
ViewVC logotype

Diff of /trunk/finley/src/Mesh_saveVTK.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1338 by gross, Mon Nov 5 06:32:29 2007 UTC revision 1347 by ksteube, Fri Nov 16 05:37:07 2007 UTC
# Line 129  void Finley_Mesh_saveVTK(const char * fi Line 129  void Finley_Mesh_saveVTK(const char * fi
129            #endif            #endif
130            ierr=MPI_File_open(mesh_p->Nodes->MPIInfo->comm, (char*)filename_p, amode,mpi_info, &mpi_fileHandle_p);            ierr=MPI_File_open(mesh_p->Nodes->MPIInfo->comm, (char*)filename_p, amode,mpi_info, &mpi_fileHandle_p);
131            if (! ierr) {            if (! ierr) {
132                sprintf(error_msg, "saveVTK: File %s could not be opened for writing.", filename_p);            perror(filename_p);
133                  sprintf(error_msg, "saveVTK: File %s could not be opened for writing in parallel.", filename_p);
134                Finley_setError(IO_ERROR,error_msg);                Finley_setError(IO_ERROR,error_msg);
135            } else {            } else {
136               MPI_File_set_view(mpi_fileHandle_p,MPI_DISPLACEMENT_CURRENT,MPI_CHAR, MPI_CHAR, "native" , mpi_info);               MPI_File_set_view(mpi_fileHandle_p,MPI_DISPLACEMENT_CURRENT,MPI_CHAR, MPI_CHAR, "native" , mpi_info);

Legend:
Removed from v.1338  
changed lines
  Added in v.1347

  ViewVC Help
Powered by ViewVC 1.1.26