WaSH Docs
Namespaces | Functions
arguments.cpp File Reference
#include "arguments.hpp"

Namespaces

 ws2st
 
 ws2st::args
 

Functions

std::vector< std::string > ws2st::args::getHDF5CompileFlags ()
 Get the compile flags needed to compile with HDF5 Does not include MPI flags - these need to be added separately. More...
 
std::vector< std::string > ws2st::args::getHDF5LinkingFlags ()
 
std::vector< std::string > ws2st::args::getImplCompileFlag (Implementations impl)
 Return the implementation specific compile flag This controls some optional features in the public API headers. More...
 
std::string ws2st::args::executeCommandLine (const std::string cmd, int *exit_status)
 
std::vector< std::string > ws2st::args::getMPICompileFlags ()
 Executes mpicxx --showme:compile to get the compile flags for the MPI implementation. More...
 
std::vector< std::string > ws2st::args::getMPILinkingFlags ()
 
bool ws2st::args::testMPIAvailability ()
 
bool ws2st::args::testHDF5Availability ()
 
std::optional< Implementationsws2st::args::getImplFromString (const std::string istr)
 Returns the API implementation enum represented by this string (if exists) More...
 
bool ws2st::args::areMPIFlagsRequired (Implementations impl, const WashOptions &opts)
 Returns whether the MPI flags will be needed to compile this program. More...
 
WashOptions ws2st::args::parseCommandLine (int argc, const char **argv)
 Parses the program command line into the options struct. More...