Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
worldInfo.cpp File Reference
Include dependency graph for worldInfo.cpp:

Go to the source code of this file.

Namespaces

namespace  shamcomm
 namespace for communication related stuff

Functions

i32 shamcomm::mpi_max_tag_value ()
 Gets the maximum value of the MPI tag.
i32 shamcomm::world_size ()
 Gives the size of the MPI communicator.
i32 shamcomm::world_rank ()
 Gives the rank of the current process in the MPI communicator.
std::string shamcomm::mpi_process_name ()
 Gets the name of the MPI process.
 shamcomm::__attribute__ ((no_sanitize_address)) void fetch_mpi_process_name()
void shamcomm::set_callstack_process_identifier ()
void shamcomm::fetch_world_info ()
 Gets the information about the MPI communicator.
bool shamcomm::is_mpi_initialized ()
 Check if MPI is initialized.

Variables

i32 shamcomm::_world_rank
i32 shamcomm::_world_size
std::optional< i32shamcomm::_max_tag = std::nullopt
std::string shamcomm::_mpi_process_name

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file worldInfo.cpp.