1
1
openmpi/src/mca/lam/pcm/base/pcm_base_open.c
Jeff Squyres 2df075a1ff - Update/revise pcm base functionality
- First cut of oob/registry base functionality

This commit was SVN r628.
2004-01-31 21:43:26 +00:00

48 строки
961 B
C

/*
* $HEADER$
*/
#include "lam_config.h"
#include "mca/mca.h"
#include "mca/lam/base/base.h"
#include "mca/lam/pcm/pcm.h"
/*
* The following file was created by configure. It contains extern
* statements and the definition of an array of pointers to each
* module's public mca_base_module_t struct.
*/
#include "mca/lam/pcm/base/static-modules.h"
/*
* Global variables
*/
int mca_pcm_base_output = -1;
mca_pcm_t mca_pcm;
lam_list_t mca_pcm_base_modules_available;
mca_pcm_base_module_t mca_pcm_base_selected_module;
/**
* Function for finding and opening either all MCA modules, or the one
* that was specifically requested via a MCA parameter.
*/
int mca_pcm_base_open(void)
{
/* Open up all available modules */
if (LAM_SUCCESS !=
mca_base_modules_open("pcm", 0, mca_pcm_base_static_modules,
&mca_pcm_base_modules_available)) {
return LAM_ERROR;
}
/* All done */
return LAM_SUCCESS;
}