Changeset 16020


Ignore:
Timestamp:
08/29/13 15:29:35 (12 years ago)
Author:
jschierm
Message:

CHG: Updated ParallelLibrary.cpp.patch for Dakota 5.3.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/dakota/configs/5.3.1/ParallelLibrary.cpp.patch

    r15245 r16020  
    33133a135
    44>   initialized=0; //we run serially all the time!
    5 141a144,176
     5141a144,171
    66> /** This constructor is provided for the ISSM software, to run serial
    77>  * Dakota in a parallel MPI ring: */
    88> ParallelLibrary::ParallelLibrary(char* serial_mode):
    9 >   worldRank(0), worldSize(1),
     9>   dakotaMPIComm(MPI_COMM_WORLD), worldRank(0), worldSize(1),
    1010>   mpirunFlag(false), ownMPIFlag(false), dummyFlag(false),
    1111>   stdOutputToFile(false), stdErrorToFile(false), checkFlag(false),
    1212>   preRunFlag(true), runFlag(true), postRunFlag(true), userModesFlag(false),
    13 >   startClock(0), stopRestartEvals(0),
     13>   outputTimings(true), startClock(0), stopRestartEvals(0),
    1414>   currPLIter(parallelLevels.end()), currPCIter(parallelConfigurations.end())
    1515> {
    16 >   startClock   = clock();
    17 > #ifdef DAKOTA_UTILIB
    18 >   utilib::exception_mngr::set_mode(utilib::exception_mngr::Abort);
    19 >   startCPUTime = CPUSeconds();       // see utilib/src/sys/seconds.cpp
    20 >   startWCTime  = WallClockSeconds(); // see utilib/src/sys/seconds.cpp
    21 > #endif // DAKOTA_UTILIB
     16>   initialize_timers();
    2217>
    2318>   // do not initialize MPI.  Get worldRank/worldSize if available
     
    2520> #ifdef HAVE_MPI // mpi available, we still don't want to run in parallel for Dakota!
    2621>   pl.serverIntraComm = MPI_COMM_NULL;
    27 >   Cout << "Running Dakota 5.3.1 MPI executable in serial mode on CPU 0 for ISSM.";
     22>   Cout << "Running Dakota 5.3.1 MPI executable in serial mode on CPU 0 for ISSM." << std::endl;
    2823> #else // mpi not available
    2924>   pl.serverIntraComm = MPI_COMM_NULL;
    30 >   Cout << "Running Dakota 5.3.1 serial executable in serial mode for ISSM.\n";
     25>   Cout << "Running Dakota 5.3.1 serial executable in serial mode for ISSM." << std::endl;
    3126> #endif // HAVE_MPI
    3227>
     
    3732>
    3833>
    39 1536a1572
     341536a1567
    4035>   initialized=0; //we run serially all the time!
Note: See TracChangeset for help on using the changeset viewer.