Changeset 12515 for issm/trunk-jpl/src/c/solutions/issm.cpp
- Timestamp:
- 06/22/12 16:56:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/solutions/issm.cpp
r12512 r12515 60 60 61 61 /*First process inputs*/ 62 _printf_(true,"\n");63 _printf_(true,"Ice Sheet System Model (%s) version %s\n",PACKAGE_NAME,PACKAGE_VERSION);64 _printf_(true,"(website: %s contact: %s)\n",PACKAGE_URL,PACKAGE_BUGREPORT);65 _printf_(true,"\n");62 if(true) _pprintLine_(""); 63 if(true) _pprintLine_("Ice Sheet System Model (" << PACKAGE_NAME << ") version " << PACKAGE_VERSION); 64 if(true) _pprintLine_("(website: " << PACKAGE_URL << " contact: " << PACKAGE_BUGREPORT << ")"); 65 if(true) _pprintLine_(""); 66 66 ProcessArguments(&solution_type,&binfilename,&outbinfilename,&petscfilename,&lockfilename,argc,argv); 67 67 … … 100 100 #endif 101 101 102 _printf_(true,"call computational core:\n");102 if(true) _pprintLine_("call computational core:"); 103 103 #ifdef _HAVE_MPI_ 104 104 MPI_Barrier(MPI_COMM_WORLD); start_core=MPI_Wtime( ); … … 133 133 #endif 134 134 135 _printf_(true,"write results to disk:\n");135 if(true) _pprintLine_("write results to disk:"); 136 136 OutputResultsx(femmodel->elements, femmodel->nodes, femmodel->vertices, femmodel->loads, femmodel->materials, femmodel->parameters,femmodel->results); 137 137 … … 139 139 pfclose(output_fid,lockfilename); 140 140 if (waitonlock>0){ 141 _printf_(true,"write lock file:\n");141 if(true) _pprintLine_("write lock file:"); 142 142 WriteLockFile(lockfilename); 143 143 } … … 174 174 175 175 #ifdef _HAVE_PETSC_ 176 _printf_(true,"closing MPI and Petsc\n");176 if(true) _pprintLine_("closing MPI and Petsc"); 177 177 PetscFinalize(); 178 178 #else 179 179 #ifdef _HAVE_MPI_ 180 _printf_(true,"closing MPI and Petsc\n");180 if(true) _pprintLine_("closing MPI and Petsc"); 181 181 MPI_Finalize(); 182 182 #endif
Note:
See TracChangeset
for help on using the changeset viewer.