Upgrade macos

This commit is contained in:
Bassem Girgis
2025-03-19 08:52:56 -05:00
parent 53580cb51f
commit d29ef955f5
8041 changed files with 1936720 additions and 130842 deletions

View File

@@ -0,0 +1,45 @@
/*
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2007 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 (c) 2008 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2010-2012 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2014-2020 Intel, Inc. All rights reserved.
* Copyright (c) 2021-2023 Nanook Consulting. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
/** @file **/
#ifndef PMIX_INIT_UTIL_H
#define PMIX_INIT_UTIL_H
#include "src/include/pmix_config.h"
#include "pmix_common.h"
BEGIN_C_DECLS
PMIX_EXPORT extern const char* pmix_tool_basename;
PMIX_EXPORT extern const char* pmix_tool_version;
PMIX_EXPORT extern const char* pmix_tool_org;
PMIX_EXPORT extern const char* pmix_tool_msg;
PMIX_EXPORT int pmix_init_util(pmix_info_t info[], size_t ninfo, char *helpdir);
PMIX_EXPORT int pmix_finalize_util(void);
PMIX_EXPORT void pmix_expose_param(char *param);
END_C_DECLS
#endif /* PMIX_INIT_UTIL_H */

View File

@@ -0,0 +1,87 @@
/*
* Copyright (c) 2014-2020 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2021-2022 Nanook Consulting All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#ifndef PMIX_PROGRESS_THREADS_H
#define PMIX_PROGRESS_THREADS_H
#include "pmix_config.h"
#include <pthread.h>
#include <event.h>
#include "src/include/pmix_types.h"
/**
* Initialize a progress thread name; if a progress thread is not
* already associated with that name, start a progress thread.
*
* If you have general events that need to run in *a* progress thread
* (but not necessarily a your own, dedicated progress thread), pass
* NULL the "name" argument to the pmix_progress_thead_init() function
* to glom on to the general PMIX-wide progress thread.
*
* If a name is passed that was already used in a prior call to
* pmix_progress_thread_init(), the event base associated with that
* already-running progress thread will be returned (i.e., no new
* progress thread will be started).
*/
PMIX_EXPORT pmix_event_base_t *pmix_progress_thread_init(const char *name);
PMIX_EXPORT pmix_status_t pmix_progress_thread_start(const char *name);
/**
* Stop a progress thread name (reference counted).
*
* Once this function is invoked as many times as
* pmix_progress_thread_init() was invoked on this name (or NULL), the
* progress function is shut down.
* it is destroyed.
*
* Will return PMIX_ERR_NOT_FOUND if the progress thread name does not
* exist; PMIX_SUCCESS otherwise.
*/
PMIX_EXPORT pmix_status_t pmix_progress_thread_stop(const char *name);
/**
* Finalize a progress thread name (reference counted).
*
* Once this function is invoked after pmix_progress_thread_stop() has been called
* as many times as pmix_progress_thread_init() was invoked on this name (or NULL),
* the event base associated with it is destroyed.
*
* Will return PMIX_ERR_NOT_FOUND if the progress thread name does not
* exist; PMIX_SUCCESS otherwise.
*/
PMIX_EXPORT pmix_status_t pmix_progress_thread_finalize(const char *name);
/**
* Temporarily pause the progress thread associated with this name.
*
* This function does not destroy the event base associated with this
* progress thread name, but it does stop processing all events on
* that event base until pmix_progress_thread_resume() is invoked on
* that name.
*
* Will return PMIX_ERR_NOT_FOUND if the progress thread name does not
* exist; PMIX_SUCCESS otherwise.
*/
PMIX_EXPORT pmix_status_t pmix_progress_thread_pause(const char *name);
/**
* Restart a previously-paused progress thread associated with this
* name.
*
* Will return PMIX_ERR_NOT_FOUND if the progress thread name does not
* exist; PMIX_SUCCESS otherwise.
*/
PMIX_EXPORT pmix_status_t pmix_progress_thread_resume(const char *name);
#endif

View File

@@ -0,0 +1,82 @@
/*
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2007 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 (c) 2008 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2010-2022 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2014-2020 Intel, Inc. All rights reserved.
* Copyright (c) 2021-2022 Nanook Consulting All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
/** @file **/
#ifndef PMIX_RTE_H
#define PMIX_RTE_H
#include "src/include/pmix_config.h"
#include "pmix_common.h"
#include "src/class/pmix_object.h"
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <event.h>
#include "src/include/pmix_globals.h"
#include "src/mca/ptl/ptl_types.h"
BEGIN_C_DECLS
#if PMIX_ENABLE_TIMING
PMIX_EXPORT extern char *pmix_timing_sync_file;
PMIX_EXPORT extern char *pmix_timing_output;
PMIX_EXPORT extern bool pmix_timing_overhead;
#endif
PMIX_EXPORT extern char *pmix_net_private_ipv4;
PMIX_EXPORT extern int pmix_event_caching_window;
PMIX_EXPORT extern bool pmix_suppress_missing_data_warning;
PMIX_EXPORT extern char *pmix_progress_thread_cpus;
PMIX_EXPORT extern bool pmix_bind_progress_thread_reqd;
PMIX_EXPORT extern int pmix_maxfd;
/** version string of pmix */
extern const char pmix_version_string[];
/**
* Initialize the PMIX layer, including the MCA system.
*
* @retval PMIX_SUCCESS Upon success.
* @retval PMIX_ERROR Upon failure.
*
*/
PMIX_EXPORT pmix_status_t pmix_rte_init(uint32_t type, pmix_info_t info[], size_t ninfo,
pmix_ptl_cbfunc_t cbfunc);
/**
* Finalize the PMIX layer, including the MCA system.
*
*/
PMIX_EXPORT void pmix_rte_finalize(void);
/**
* Internal function. Do not call.
*/
PMIX_EXPORT pmix_status_t pmix_register_params(void);
PMIX_EXPORT pmix_status_t pmix_deregister_params(void);
END_C_DECLS
#endif /* PMIX_RTE_H */