/* Creating and using text boundaries */ int main( void ) { puts("Date-Calendar sample program"); cpp_main(); c_main(); return 0; }
int main(int argc, char **argv) { init_mpi(&argc, &argv); if (mpi.rank == 0) { init_gwclock(); } // xtry(MPI_Comm_set_errhandler(MPI_COMM_WORLD, MPI_ERRORS_RETURN)); double t = get_gwclock(); cpp_main(atoi(argv[1])); printf0("time_all=%.17g\n", get_gwclock() - t); MPI_Finalize(); return 0; }
int main(int argc, char* argv[]) { try { return cpp_main(argc, argv); } catch (const std::exception& ex) { std::cout << "\nERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR\n" << "\n****************************** std::exception *****************************\n" << ex.what() << "\n***************************************************************************\n" << std::endl; } return 1; }
int main(int argc, char * argv[]) { return cpp_main(argc, argv); }