"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/mpid/ch3/src/mpid_abort.c" between
mvapich2-2.3.1.tar.gz and mvapich2-2.3.2.tar.gz

About: MVAPICH2 offers "MPI over InfiniBand, 10GigE/iWARP and RDMA over Converged Ethernet (RoCE)" to achieve best performance, scalability and fault tolerance for high-end computing systems and servers.

mpid_abort.c  (mvapich2-2.3.1):mpid_abort.c  (mvapich2-2.3.2)
skipping to change at line 135 skipping to change at line 135
fprintf(stderr, "[MPI_Abort at %s] Rank=%d, PID=%d, Hostname=%s. Sleep f orever ...\n", fprintf(stderr, "[MPI_Abort at %s] Rank=%d, PID=%d, Hostname=%s. Sleep f orever ...\n",
timestr, MPIDI_Process.my_pg_rank, mypid, hostname); timestr, MPIDI_Process.my_pg_rank, mypid, hostname);
fflush(stderr); fflush(stderr);
while (1) { while (1) {
pause(); pause();
} }
} }
/* FIXME: This should not use an ifelse chain. Either define the function /* FIXME: This should not use an ifelse chain. Either define the function
by name or set a function pointer */ by name or set a function pointer */
if(!MPIDI_Process.my_pg->is_spawned)
{
#ifdef MPIDI_CH3_IMPLEMENTS_ABORT #ifdef MPIDI_CH3_IMPLEMENTS_ABORT
MPIDI_CH3_Abort(exit_code, error_msg); MPIDI_CH3_Abort(exit_code, error_msg);
#elif defined(MPIDI_DEV_IMPLEMENTS_ABORT) #elif defined(MPIDI_DEV_IMPLEMENTS_ABORT)
MPIDI_CH3I_UPMI_ABORT(exit_code, error_msg); MPIDI_CH3I_UPMI_ABORT(exit_code, error_msg);
#else #else
if (error_msg[0]) MPL_error_printf("%s\n", error_msg); if (error_msg[0]) MPL_error_printf("%s\n", error_msg);
fflush(stderr); fflush(stderr);
#endif #endif
/* ch3_abort should not return but if it does, exit here. If it does, /* ch3_abort should not return but if it does, exit here. If it does,
add the function exit code before calling the final exit. */ add the function exit code before calling the final exit. */
MPIDI_FUNC_EXIT(MPID_STATE_MPID_ABORT); MPIDI_FUNC_EXIT(MPID_STATE_MPID_ABORT);
MPL_exit(exit_code); MPL_exit(exit_code);
return MPI_ERR_INTERN; return MPI_ERR_INTERN;
}
else
{
return MPI_SUCCESS;
}
} }
#ifdef MPIDI_DEV_IMPLEMENTS_ABORT #ifdef MPIDI_DEV_IMPLEMENTS_ABORT
#undef FUNCNAME #undef FUNCNAME
#define FUNCNAME MPIDI_CH3I_UPMI_ABORT #define FUNCNAME MPIDI_CH3I_UPMI_ABORT
#undef FCNAME #undef FCNAME
#define FCNAME MPL_QUOTE(FUNCNAME) #define FCNAME MPL_QUOTE(FUNCNAME)
static int MPIDI_CH3I_UPMI_ABORT(int exit_code, const char *error_msg) static int MPIDI_CH3I_UPMI_ABORT(int exit_code, const char *error_msg)
{ {
MPIDI_STATE_DECL(MPID_STATE_MPIDI_CH3I_PMI_ABORT); MPIDI_STATE_DECL(MPID_STATE_MPIDI_CH3I_PMI_ABORT);
 End of changes. 2 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)