13 void* addr = get_static_local_var_addr();
15 int ok = addr == addr0;
19 common::die(
"Error: address space layout randomization (ASLR) seems enabled.\n"
20 "To disable ASLR, please run your program with:\n"
21 " $ mpiexec setarch $(uname -m) --addr-no-randomize [COMMANDS]...\n");
32 static void* get_static_local_var_addr() {
aslr_checker & operator=(aslr_checker &&)=delete
aslr_checker & operator=(const aslr_checker &)=delete
aslr_checker(aslr_checker &&)=delete
aslr_checker(const aslr_checker &)=delete
aslr_checker()
Definition: util.hpp:12
rank_t n_ranks()
Definition: topology.hpp:208
MPI_Comm mpicomm()
Definition: topology.hpp:206
rank_t my_rank()
Definition: topology.hpp:207
T mpi_bcast_value(const T &value, int root_rank, MPI_Comm comm)
Definition: mpi_util.hpp:145
T mpi_reduce_value(const T &value, int root_rank, MPI_Comm comm, MPI_Op op=MPI_SUM)
Definition: mpi_util.hpp:170
Definition: aarch64.hpp:5