~vcs-imports/escript-finley/trunk

« back to all changes in this revision

Viewing changes to escript/src/DataFactory.cpp

  • Committer: jfenwick
  • Date: 2010-10-11 01:48:14 UTC
  • Revision ID: svn-v4:77569008-7704-0410-b7a0-a92fef0b09fd:trunk:3259
Merging dudley and scons updates from branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifdef USE_NETCDF
22
22
#include <netcdfcpp.h>
23
23
#endif
24
 
#ifdef PASO_MPI
 
24
#ifdef ESYS_MPI
25
25
#include <mpi.h>
26
26
#endif
27
27
 
185
185
   NcError err(NcError::silent_nonfatal);
186
186
   int mpi_iam=0, mpi_num=1;
187
187
   // Create the file.
188
 
#ifdef PASO_MPI
 
188
#ifdef ESYS_MPI
189
189
   MPI_Comm_rank(MPI_COMM_WORLD, &mpi_iam);
190
190
   MPI_Comm_size(MPI_COMM_WORLD, &mpi_num);
191
191
#endif