Changeset 970


Ignore:
Timestamp:
06/12/09 16:57:20 (16 years ago)
Author:
Eric.Larour
Message:

Calling standard parallel library constructor for serial runs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/Qmux/Qmux.cpp

    r962 r970  
    8787                // Instantiate/initialize the parallel library and problem description
    8888                // database objects.
    89                 Dakota::ParallelLibrary parallel_lib("serial");
    90                 Dakota::ProblemDescDB problem_db(parallel_lib);
     89                #ifdef _SERIAL_
     90                        Dakota::ParallelLibrary parallel_lib; //use Dakota's standard library mode constructor
     91                #else
     92                        Dakota::ParallelLibrary parallel_lib("serial"); //use our own ISSM Dakota library mode constructor, which only fires up Dakota on CPU 0.
     93                #endif
     94                Dakota::ProblemDescDB problem_db(parallel_lib);
    9195
    9296                // Manage input file parsing, output redirection, and restart processing
Note: See TracChangeset for help on using the changeset viewer.