http://stxxl.sourceforge.net
<beckmann@cs.uni-frankfurt.de>
http://www.boost.org/LICENSE_1_0.txt
#include <stxxl/io>
#include <stxxl/mng>
#include <stxxl/version.h>
#include <stxxl/bits/compat/shared_ptr.h>
int main(int argc, char **)
{
stxxl::config::get_instance();
stxxl::block_manager::get_instance();
stxxl::stats::get_instance();
stxxl::disk_queues::get_instance();
if (stxxl::check_library_version() != 0)
STXXL_ERRMSG("version mismatch between headers and library");
assert(stxxl::version_major() == STXXL_VERSION_MAJOR);
assert(stxxl::version_minor() == STXXL_VERSION_MINOR);
assert(stxxl::version_patchlevel() == STXXL_VERSION_PATCHLEVEL);
#ifdef STXXL_PARALLEL_MODE
#ifdef _GLIBCXX_PARALLEL
STXXL_MSG("_GLIBCXX_PARALLEL, max threads = " << omp_get_max_threads());
#else
STXXL_MSG("STXXL_PARALLEL_MODE, max threads = " << omp_get_max_threads());
#endif
#elif defined(__MCSTL__)
STXXL_MSG("__MCSTL__, max threads = " << omp_get_max_threads());
#endif
STXXL_MSG("sizeof(unsigned int) = " << sizeof(unsigned int));
STXXL_MSG("sizeof(unsigned_type) = " << sizeof(stxxl::unsigned_type));
STXXL_MSG("sizeof(uint64) = " << sizeof(stxxl::uint64));
STXXL_MSG("sizeof(size_t) = " << sizeof(size_t));
STXXL_MSG("sizeof(off_t) = " << sizeof(off_t));
STXXL_MSG("sizeof(void*) = " << sizeof(void *));
#if defined(STXXL_HAVE_AIO_FILE)
STXXL_MSG("STXXL_HAVE_AIO_FILE = " << STXXL_HAVE_AIO_FILE);
#endif
STXXL_MSG("STXXL_HAVE_SHARED_PTR = " << STXXL_HAVE_SHARED_PTR);
STXXL_MSG("STXXL_HAVE_MAKE_SHARED = " << STXXL_HAVE_MAKE_SHARED);
assert(argc < 3);
return argc != 2 ? 0 : -1;
}