44 MPI_Comm comm,
int numProcs,
int localProc){
46 std::vector<std::string> stdstrings;
50 const char** params = NULL;
57 std::string solverName;
58 std::string inputFileName;
62 fei::console_out() <<
"Expected to find both 'SOLVER_NAME' and 'INPUT_FILE' "
70 fullFileName<< inputFileName<<
"."<<numProcs<<
"."<< localProc;
84 catch (std::runtime_error& exc) {
91 const char* feiVersionString;
100 for(
size_t i=0; i<methodNames.size(); i++) {
101 if (!strcmp(
"destructor", methodNames[i])) {
106 FEI_COUT <<
"feiDriver: proc " << localProc <<
" destroying/reallocing FEI"
114 catch (std::runtime_error& exc) {
121 CHK_ERR(
fei->parameters(numParams, params) );
126 FEI_COUT <<
"feiDriver: proc " << localProc <<
" calling FEI method: "
129 if (feierror > 0)
continue;
140 if (localProc == 0) {
145#ifdef SIERRA_BUILD_DATE
int feiDriver_main(int argc, char **argv, MPI_Comm comm, int numProcs, int localProc)