| 228 |  | frcFile = fopen( fileName, "r" ); | 
| 229 |  |  | 
| 230 |  | if( frcFile == NULL ){ | 
| 231 | < |  | 
| 231 | > |  | 
| 232 |  | sprintf( painCave.errMsg, | 
| 233 | < | "Error opening the force field parameter file: %s\n" | 
| 234 | < | "Have you tried setting the FORCE_PARAM_PATH environment " | 
| 235 | < | "vairable?\n", | 
| 233 | > | "Error opening the force field parameter file:\n" | 
| 234 | > | "\t%s\n" | 
| 235 | > | "\tHave you tried setting the FORCE_PARAM_PATH environment " | 
| 236 | > | "variable?\n", | 
| 237 |  | fileName ); | 
| 238 | + | painCave.severity = OOPSE_ERROR; | 
| 239 |  | painCave.isFatal = 1; | 
| 240 |  | simError(); | 
| 241 |  | } | 
| 269 |  |  | 
| 270 |  | void EAM_FF::calcRcut( void ){ | 
| 271 |  |  | 
| 272 | < | #ifdef IS_MPI | 
| 272 | > | #ifdef IS_MPI | 
| 273 |  | double tempEamRcut = eamRcut; | 
| 274 |  | MPI_Allreduce( &tempEamRcut, &eamRcut, 1, MPI_DOUBLE, MPI_MAX, | 
| 275 |  | MPI_COMM_WORLD); | 
| 409 |  | MPIcheckPoint(); | 
| 410 |  |  | 
| 411 |  | headAtomType = new LinkedAtomType; | 
| 412 | < | recieveFrcStruct( &info, mpiAtomStructType ); | 
| 412 | > | receiveFrcStruct( &info, mpiAtomStructType ); | 
| 413 |  |  | 
| 414 |  | while( !info.last ){ | 
| 415 |  |  | 
| 435 |  |  | 
| 436 |  | MPIcheckPoint(); | 
| 437 |  |  | 
| 438 | < | recieveFrcStruct( &info, mpiAtomStructType ); | 
| 438 | > | receiveFrcStruct( &info, mpiAtomStructType ); | 
| 439 |  |  | 
| 440 |  |  | 
| 441 |  | } | 
| 550 |  |  | 
| 551 |  | the_atoms[i]->setMass( currentAtomType->mass ); | 
| 552 |  | the_atoms[i]->setIdent( currentAtomType->ident ); | 
| 551 | – | the_atoms[i]->setEAM(); | 
| 552 | – | the_atoms[i]->setEamRcut( currentAtomType->eam_rcut); | 
| 553 |  |  | 
| 554 |  | if (eamRcut < currentAtomType->eam_rcut) eamRcut = currentAtomType->eam_rcut; | 
| 555 | < |  | 
| 555 | > |  | 
| 556 |  | } | 
| 557 |  | } | 
| 558 |  |  | 
| 729 |  | sprintf( painCave.errMsg, | 
| 730 |  | "Error opening the EAM force parameter file: %s\n" | 
| 731 |  | "Have you tried setting the FORCE_PARAM_PATH environment " | 
| 732 | < | "vairable?\n", | 
| 732 | > | "variable?\n", | 
| 733 |  | eamPotFile ); | 
| 734 |  | painCave.isFatal = 1; | 
| 735 |  | simError(); |