NewMadeleine

Documentation

« back to PM2 home.
nm_public.h File Reference

This is the common public header for NewMad. More...

#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <unistd.h>
#include <nm_config.h>
#include <nm_errno.h>
#include <nm_types.h>
#include <Padico/Puk.h>
Include dependency graph for nm_public.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NM_DISPF(str, ...)   padico_out(puk_verbose_info, str, ## __VA_ARGS__)
 
#define NM_TRACEF(str, ...)   padico_trace(str, ## __VA_ARGS__)
 
#define NM_WARN(format, ...)   padico_warning(format, ## __VA_ARGS__)
 
#define NM_FATAL(format, ...)   padico_fatal(format, ## __VA_ARGS__)
 
#define NM_EXTERN_C
 
#define NM_EXTERN_C_BEGIN
 
#define NM_EXTERN_C_END
 
#define NMAD_CONFIG_PIOMAN   0
 
#define NMAD_CONFIG_HWLOC   0
 
#define NMAD_CONFIG_PUKABI   0
 
#define NMAD_CONFIG_DEBUG   0
 
#define NMAD_CONFIG_NDEBUG   0
 
#define NMAD_CONFIG_SIMGRID   0
 
#define NMAD_CONFIG_CUDA   0
 
#define NMAD_CONFIG_HIP   0
 
#define NM_TOSTRING2(s)   #s
 
#define NM_TOSTRING(s)   NM_TOSTRING2(s)
 
#define NMAD_CONFIG_STRING
 nmad config options
 
#define NMAD_ABI_CONFIG_STRING
 config options that impact nmad ABI (content of structures exposed in API or used in inline code)
 

Functions

void nm_abi_config_check_internal (const char *p_config)
 
static void nm_abi_config_check (void)
 Check consistency of ABI config between nmad and application.
 

Detailed Description

This is the common public header for NewMad.

It includes publics headers wich define common types and constants, but no API by itself.

The API for end-users are defined in the interfaces/ directory. The low-level 'core' API is defined in nm_core_interface.h.

Definition in file nm_public.h.

Macro Definition Documentation

◆ NM_DISPF

#define NM_DISPF (   str,
  ... 
)    padico_out(puk_verbose_info, str, ## __VA_ARGS__)

Definition at line 61 of file nm_public.h.

◆ NM_EXTERN_C

#define NM_EXTERN_C

Definition at line 76 of file nm_public.h.

◆ NM_EXTERN_C_BEGIN

#define NM_EXTERN_C_BEGIN

Definition at line 77 of file nm_public.h.

◆ NM_EXTERN_C_END

#define NM_EXTERN_C_END

Definition at line 78 of file nm_public.h.

◆ NM_FATAL

#define NM_FATAL (   format,
  ... 
)    padico_fatal(format, ## __VA_ARGS__)
Examples
nm_mcast_basic.c, and nm_rpc_hello.c.

Definition at line 67 of file nm_public.h.

◆ NM_TRACEF

#define NM_TRACEF (   str,
  ... 
)    padico_trace(str, ## __VA_ARGS__)

Definition at line 63 of file nm_public.h.

◆ NM_WARN

#define NM_WARN (   format,
  ... 
)    padico_warning(format, ## __VA_ARGS__)
Examples
nm_pack_headers.c.

Definition at line 65 of file nm_public.h.