2004-01-29 02:43:58 +00:00
|
|
|
/*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "lam_config.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include "lam/constants.h"
|
|
|
|
#include "mca/mca.h"
|
|
|
|
#include "mca/lam/base/base.h"
|
|
|
|
#include "mca/mpi/pml/pml.h"
|
2004-01-30 03:54:52 +00:00
|
|
|
#include "mca/mpi/pml/base/base.h"
|
2004-01-29 02:43:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
int mca_pml_base_close(void)
|
|
|
|
{
|
2004-01-30 22:28:32 +00:00
|
|
|
/* Blatently ignore the return code (what would we do to recover,
|
|
|
|
anyway? This module is going away, so errors don't matter
|
|
|
|
anymore) */
|
|
|
|
|
2004-01-30 22:56:36 +00:00
|
|
|
if (NULL != mca_pml.pml_finalize) {
|
|
|
|
mca_pml.pml_finalize();
|
|
|
|
}
|
2004-01-30 22:28:32 +00:00
|
|
|
|
2004-01-29 02:43:58 +00:00
|
|
|
/* Close all remaining available modules (may be one if this is a
|
|
|
|
LAM RTE program, or [possibly] multiple if this is laminfo) */
|
|
|
|
|
|
|
|
mca_base_modules_close(mca_pml_base_output,
|
|
|
|
&mca_pml_base_modules_available, NULL);
|
|
|
|
|
|
|
|
/* All done */
|
|
|
|
|
|
|
|
return LAM_SUCCESS;
|
|
|
|
}
|
2004-01-29 23:50:31 +00:00
|
|
|
|