Alsvinn  0.5.3
The fast FVM simulator with UQ support
Classes | Typedefs | Functions
alsutils::mpi Namespace Reference

Classes

class  Configuration
 
struct  MpiTypes
 

Typedefs

typedef alsfvm::shared_ptr< ConfigurationConfigurationPtr
 

Functions

bool hasGPUDirectSupport ()
 
std::string getMPIVersion ()
 
void setCudaDevice ()
 
std::array< MPI_Offset, 3 > to_mpi_offset (const ivec3 &integerVector)
 Convenience function to do the type cast from int to whatever MPI_Offset is (usually long long int) More...
 

Typedef Documentation

◆ ConfigurationPtr

typedef alsfvm::shared_ptr<Configuration> alsutils::mpi::ConfigurationPtr

Function Documentation

◆ getMPIVersion()

std::string alsutils::mpi::getMPIVersion ( )

◆ hasGPUDirectSupport()

bool alsutils::mpi::hasGPUDirectSupport ( )

Checks wether GPU direct is enabled or not

We check according to this documentation

https://www.open-mpi.org/faq/?category=runcuda

under

  1. Can I tell at compile time or runtime whether I have CUDA-aware support?

◆ setCudaDevice()

void alsutils::mpi::setCudaDevice ( )
inline

◆ to_mpi_offset()

std::array<MPI_Offset, 3> alsutils::mpi::to_mpi_offset ( const ivec3 integerVector)

Convenience function to do the type cast from int to whatever MPI_Offset is (usually long long int)