/[escript]/trunk/escript/src/Utils.cpp
ViewVC logotype

Diff of /trunk/escript/src/Utils.cpp

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

revision 1704 by phornby, Fri Jul 11 13:12:46 2008 UTC revision 1705 by ksteube, Thu Aug 14 05:56:40 2008 UTC
# Line 69  void printParallelThreadCnt() Line 69  void printParallelThreadCnt()
69    int mpi_iam=0, mpi_num=1;    int mpi_iam=0, mpi_num=1;
70    char hname[64];    char hname[64];
71    
72    #ifdef HAVE_GETHOSTNAME
73    gethostname(hname, 64);    gethostname(hname, 64);
74    #else
75      strcpy(hname, "unknown host");
76    #endif
77    
78    #ifdef PASO_MPI    #ifdef PASO_MPI
79    MPI_Comm_rank(MPI_COMM_WORLD, &mpi_iam);    MPI_Comm_rank(MPI_COMM_WORLD, &mpi_iam);

Legend:
Removed from v.1704  
changed lines
  Added in v.1705

  ViewVC Help
Powered by ViewVC 1.1.26