/[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

trunk/finley/src/Mesh_saveVTK.c revision 1338 by gross, Mon Nov 5 06:32:29 2007 UTC temp_trunk_copy/finley/src/Mesh_saveVTK.c revision 1384 by phornby, Fri Jan 11 02:29:38 2008 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.1384

  ViewVC Help
Powered by ViewVC 1.1.26