Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Variables
env_variables.hpp File Reference
#include "shambase/aliases_int.hpp"
#include "shamcmdopt/env.hpp"
#include <cstdlib>
+ Include dependency graph for env_variables.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shamcomm
 namespace for communication related stuff
 

Variables

const std::optional< std::string > shamcomm::MV2_COMM_WORLD_LOCAL_RANK = shamcmdopt::getenv_str("MV2_COMM_WORLD_LOCAL_RANK")
 
const std::optional< std::string > shamcomm::OMPI_COMM_WORLD_LOCAL_RANK = shamcmdopt::getenv_str("OMPI_COMM_WORLD_LOCAL_RANK")
 
const std::optional< std::string > shamcomm::MPI_LOCALRANKID = shamcmdopt::getenv_str("MPI_LOCALRANKID")
 
const std::optional< std::string > shamcomm::SLURM_PROCID = shamcmdopt::getenv_str("SLURM_PROCID")
 
const std::optional< std::string > shamcomm::LOCAL_RANK = shamcmdopt::getenv_str("LOCAL_RANK")
 
const std::optional< std::string > shamcomm::PALS_LOCAL_RANKID = shamcmdopt::getenv_str("PALS_LOCAL_RANKID")
 
const std::optional< std::string > shamcomm::PSM2_CUDA = shamcmdopt::getenv_str("PSM2_CUDA")
 

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 env_variables.hpp.