1
1
openmpi/test/runtime/opal_init_finalize.c
Rainer Keller 583bb42739 - Adapt for changed opal_init() arguments -- takes argc&argv
It's orte/constants.h not orte/orte_constants.h

This commit was SVN r22594.
2010-02-10 18:29:01 +00:00

41 строка
1.0 KiB
C

/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "ompi_config.h"
#include "opal/runtime/opal.h"
#include "opal/constants.h"
int
main(int argc, char *argv[])
{
int ret;
ret = opal_init(&argc, &argv);
if (OPAL_SUCCESS != ret) {
return (-1 * ret);
}
ret = opal_finalize();
if (OPAL_SUCCESS != ret) {
return (-1 * ret);
}
return 0;
}