PaStiX Handbook  6.3.2
binding_for_multimpi.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <mpi.h>
#include <unistd.h>
#include <string.h>
#include <hwloc.h>

Go to the source code of this file.

Variables

static hwloc_topology_t topology
 

Detailed Description

Version
6.3.2
Author
Pierre Ramet
Mathieu Faverge
Date
2023-07-21

Small test to see what's the bindtab array should look like in case of multiple MPI processes per node. This test can be compiled with: mpicc binding_for_multimpi.c -o binding_for_multimpi -Wall -lpthread -lhwloc

Definition in file binding_for_multimpi.c.

Variable Documentation

◆ topology

hwloc_topology_t topology
static

Extract of PaStiX internal scheduler for simpler compilation of this small test DO NOT use these function in your code, but call directly the ones from PaStiX.

Definition at line 29 of file binding_for_multimpi.c.