|
WaSH Docs
|
Functions | |
| std::vector< std::string > | 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 > | getHDF5LinkingFlags () |
| std::vector< std::string > | getImplCompileFlag (Implementations impl) |
| Return the implementation specific compile flag This controls some optional features in the public API headers. More... | |
| std::string | executeCommandLine (const std::string cmd, int *exit_status) |
| std::vector< std::string > | getMPICompileFlags () |
Executes mpicxx --showme:compile to get the compile flags for the MPI implementation. More... | |
| std::vector< std::string > | getMPILinkingFlags () |
| bool | testMPIAvailability () |
| bool | testHDF5Availability () |
| std::optional< Implementations > | getImplFromString (const std::string istr) |
| Returns the API implementation enum represented by this string (if exists) More... | |
| bool | areMPIFlagsRequired (Implementations impl, const WashOptions &opts) |
| Returns whether the MPI flags will be needed to compile this program. More... | |
| WashOptions | parseCommandLine (int argc, const char **argv) |
| Parses the program command line into the options struct. More... | |
| std::string | executeCommandLine (const std::string cmd) |
| Executes on the command line the command and returns the output This is probably slightly hack-y but also probably the best way to get the flags used by e.g. the MPICXX compiler wrapper to be used in the compilation stage for analysis by our tool. More... | |
| bool ws2st::args::areMPIFlagsRequired | ( | Implementations | impl, |
| const WashOptions & | opts | ||
| ) |
Returns whether the MPI flags will be needed to compile this program.
| impl | The implementation chosen |
| opt | Program options |
| std::string ws2st::args::executeCommandLine | ( | const std::string | cmd, |
| int * | exit_status | ||
| ) |
| std::string ws2st::args::executeCommandLine | ( | const std::string | cmd | ) |
Executes on the command line the command and returns the output This is probably slightly hack-y but also probably the best way to get the flags used by e.g. the MPICXX compiler wrapper to be used in the compilation stage for analysis by our tool.
| cmd | The command to execute |
| 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.
| 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.
| impl | The implementation being used |
| std::optional< Implementations > ws2st::args::getImplFromString | ( | const std::string | istr | ) |
Returns the API implementation enum represented by this string (if exists)
| istr | String to match |
| std::vector< std::string > ws2st::args::getMPICompileFlags | ( | ) |
Executes mpicxx --showme:compile to get the compile flags for the MPI implementation.
| std::vector< std::string > ws2st::args::getMPILinkingFlags | ( | ) |
| WashOptions ws2st::args::parseCommandLine | ( | int | argc, |
| const char ** | argv | ||
| ) |
Parses the program command line into the options struct.
| argc | |
| argv | Standard meaning of these arguments |
| bool ws2st::args::testHDF5Availability | ( | ) |
| bool ws2st::args::testMPIAvailability | ( | ) |
1.8.14