GridApplicInterface Class Reference

using grid services such as Condor or Globus. More...

Inheritance diagram for GridApplicInterface:

ApplicationInterface Interface List of all members.

Public Member Functions

 GridApplicInterface (const ProblemDescDB &problem_db)
 constructor
 ~GridApplicInterface ()
 destructor
void derived_map (const Variables &vars, const ActiveSet &set, Response &response, int fn_eval_id)
 that is specific to a derived class.
void derived_map_asynch (const ParamResponsePair &pair)
 asynchronous evaluation that is specific to a derived class.
void derived_synch (PRPList &prp_list)
 classes. This version waits for at least one completion.
void derived_synch_nowait (PRPList &prp_list)
 any completions if none are immediately available.
int derived_synchronous_local_analysis (const int &analysis_id)

Public Attributes

SysCallAnalysisCode code
 Used to read/write parameter files and responses.

Protected Member Functions

void derived_synch_kernel (PRPList &prp_list)
 Convenience function for common code between wait and nowait case.
bool grid_file_test (const String &root_file)
 test file(s) for existence based on root_file name

Protected Attributes

IntSet idSet
 system call evaluations
IntShortMap failCountMap
 map linking function evaluation id's to number of response read failures
start_grid_computing_t start_grid_computing
 handle to dynamically linked start_grid_computing function
perform_analysis_t perform_analysis
 handle to dynamically linked perform_analysis grid function
get_jobs_completed_t get_jobs_completed
 handle to dynamically linked get_jobs_completed grid function
stop_grid_computing_t stop_grid_computing
 handle to dynamically linked stop_grid_computing function

Detailed Description

using grid services such as Condor or Globus.

This class is currently a modified copy of SysCallApplicInterface adapted for use with an external grid dervices library which was dynamically linked using dlopen() services.


Member Function Documentation

int derived_synchronous_local_analysis ( const int &  analysis_id  )  [inline, virtual]

This code provides the derived function used by ApplicationInterface::serve_analyses_synch().

TODO - allow local analyses?????

Reimplemented from ApplicationInterface.


The documentation for this class was generated from the following files:
Generated on Wed Nov 5 19:54:06 2008 for DAKOTA by  doxygen 1.5.1