Sandia Home Sandia Home
Main Page | Publications | Downloads | Configuration | Running the Code | Solver Parameters | FAQ | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cev_main.cpp File Reference


Detailed Description

Main file for custom evaluator example.

This is the main file. It starts and stops MPI and has the main routines for the master and the worker.

The master is in charge of:

The worker is in charge of:

Note 1: In this example, no initialization information is sent to the workers because none is needed.

Note 2: The parameter list can be read from a file or hard-coded or some combination. APPSPACK provides tools for reading the parameter list form a file; see the function APPSPACK::parseTextInputFile.

See also:
Customizing the APPSPACK::Evaluator to change the way single function evaluations are handled

Definition in file cev_main.cpp.

#include "cev_evaluator.hpp"
#include "APPSPACK_GCI.hpp"
#include "APPSPACK_Parameter_List.hpp"
#include "APPSPACK_Executor_MPI.hpp"
#include "APPSPACK_Constraints_Linear.hpp"
#include "APPSPACK_Solver.hpp"

Include dependency graph for cev_main.cpp:

Include dependency graph

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 Main routine.


Function Documentation

int main int  argc,
char *  argv[]
 

Main routine.

Definition at line 53 of file cev_main.cpp.

References APPSPACK::GCI::bufinfo(), APPSPACK::GCI::exit(), APPSPACK::GCI::getNumProcs(), APPSPACK::GCI::init(), APPSPACK::GCI::initSend(), APPSPACK::GCI::pack(), APPSPACK::GCI::recv(), APPSPACK::GCI::send(), APPSPACK::Parameter::List::setParameter(), APPSPACK::Parameter::List::sublist(), and APPSPACK::GCI::unpack().

 

© Sandia Corporation | Site Contact | Privacy and Security

Generated on Fri Feb 16 10:33:35 2007 for APPSPACK 5.0.1 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2002