18 #include "timpi/timpi_version.h"    33     std::ostringstream oss;
    35     oss << 
"--------------------------------------------------------" << std::endl;
    36     oss << 
"TIMPI Package: Version = " << TIMPI_LIB_VERSION;
    39     oss << TIMPI_LIB_RELEASE << std::endl << std::endl;
    41     oss << 
"Build Date   = " << TIMPI_BUILD_DATE     << std::endl;
    42     oss << 
"Build Host   = " << TIMPI_BUILD_HOST     << std::endl;
    43     oss << 
"Build User   = " << TIMPI_BUILD_USER     << std::endl;
    44     oss << 
"Build Arch   = " << TIMPI_BUILD_ARCH     << std::endl;
    45     oss << 
"Build Rev    = " << TIMPI_BUILD_VERSION  << std::endl << std::endl;
    47     oss << 
"C++ Config   = " << TIMPI_CXX << 
" " << TIMPI_CXXFLAGS << std::endl;
    48     oss << 
"--------------------------------------------------------" << std::endl;
    66     int major_version = 0;
    67     int minor_version = 0;
    68     int micro_version = 0;
    70 #ifdef TIMPI_MAJOR_VERSION    71     major_version = TIMPI_MAJOR_VERSION;
    74 #ifdef TIMPI_MINOR_VERSION    75     minor_version = TIMPI_MINOR_VERSION;
    78 #ifdef TIMPI_MICRO_VERSION    79     micro_version = TIMPI_MICRO_VERSION;
    82     return major_version*10000 + minor_version*100 + micro_version;
 std::string timpi_version_string()
void timpi_version_stdout()