30#include "bertini2/config.hpp"
36#include "boost/version.hpp"
38#ifdef BERTINI2_HAVE_MPI
45#define BERTINI2_PACKAGE_URL "https://github.com/bertiniteam/b2"
53 ss <<
"Bertini 2 is available under the GPL 3 license,\nwith additional terms as permitted under Section 7.\n\nPlease see the full text of the licenses for Bertini and its dependencies in the source code at b2/licenses.\n\n";
54 ss <<
"Bertini 2 depends on the following software and libraries:"
59 "Eigen is available from http://eigen.tuxfamily.org/index.php?title=Main_Page\n"
61 "Eigen's license as of April 12, 2016 is MPL2, with some LGPL scattered in.\nFor more information, please consult\n"
62 "http://eigen.tuxfamily.org/index.php?title=FAQ#Licensing\n"
64 "The Mozilla Public License 2.0 has been included at b2/licenses/\n"
69 "The GNU Multiple Precision Library is available from https://gmplib.org/.\n"
71 "Since version 6, GMP is distributed under the dual licenses, GNU LGPL v3 and GNU GPL v2.\n"
73 "The GNU LGPL license has been included in Bertini 2 at b2/licenses/\n"
78 "The GNU MPFR library is available from http://www.mpfr.org/.\n"
80 "MPFR is free.\nIt is distributed under the GNU Lesser General Public License (GNU Lesser GPL),\nversion 3 or later (2.1 or later for MPFR versions until 2.4.x).\n"
85 "The Boost C++ libraries are available from http://www.boost.org/.\n"
87 "Boost is available under the Boost License 1.0.\nPlease see http://www.boost.org/users/license.html.\nA copy of the BPL has been included in b2/licenses.\n";
103 return "https://github.com/bertiniteam/b2/wiki";
115 return BERTINI2_VERSION_FULL;
122 std::stringstream ss;
123 ss <<
"D.J. Bates, S. Amethyst, J.D. Hauenstein,\nA.J. Sommese, C.W. Wampler";
131 std::stringstream ss;
133 ss <<
" Bertini(TM) 2\n\n";
134 ss <<
" The Bertini Trademark is owned by\n" <<
Owners() <<
"\n\n";
135 ss <<
" Source available online at\n" <<
SourceURL() <<
"\n\n";
136 ss <<
" Wiki online at\n" <<
WikiURL() <<
"\n\n";
137 ss <<
" This is version\n" <<
Version() <<
"\n";
138 ss <<
" Bertini2 is GPL3 Free/Libre Open Source Software, please contribute!\n\n";
155 std::stringstream ss;
156 ss << EIGEN_WORLD_VERSION <<
"."
157 << EIGEN_MAJOR_VERSION <<
"."
158 << EIGEN_MINOR_VERSION;
173 return mpfr_get_version();
180#ifdef BERTINI2_HAVE_MPI
181 char buf[MPI_MAX_LIBRARY_VERSION_STRING];
183 MPI_Get_library_version(buf, &len);
184 return std::string(buf,
static_cast<size_t>(len));
186 return "not available (serial build)";
194 std::stringstream ss;
195 ss << BOOST_VERSION / 100000 <<
"."
196 << BOOST_VERSION / 100 % 1000 <<
"."
197 << BOOST_VERSION % 100;
207 std::stringstream ss;
210 ss <<
"Linked against GMP " <<
GMPVersion() <<
"\n";
211 ss <<
"Linked against MPFR " <<
MPFRVersion() <<
"\n";
Single include point for the MPI C API.
Definition algorithm_builder.hpp:36
std::string Version()
Get the Bertini2 version string.
Definition splash.hpp:113
std::string LicenseInfo()
Get a short description of Bertini2's licensing.
Definition splash.hpp:50
std::string WikiURL()
Get the URL of the Bertini2 wiki.
Definition splash.hpp:101
std::string SplashScreen()
Get the multi-line splash screen text (trademark, URLs, version, license).
Definition splash.hpp:129
std::string SourceURL()
Get the URL of the Bertini2 source repository.
Definition splash.hpp:94
std::string MPFRVersion()
Get the version of the MPFR library linked against.
Definition splash.hpp:171
std::string BoostHeaderVersion()
Get the version of the Boost headers compiled against.
Definition splash.hpp:192
std::string GMPVersion()
Get the version of the GMP library linked against.
Definition splash.hpp:164
std::string Owners()
Get the names of the Bertini trademark owners.
Definition splash.hpp:120
std::string EigenHeaderVersion()
Get the version of the Eigen headers compiled against.
Definition splash.hpp:153
std::string GenericHelp()
Get the generic help text (currently empty).
Definition splash.hpp:145
std::string DependencyVersions()
Get a multi-line summary of the versions of Bertini2's dependencies (Boost, Eigen,...
Definition splash.hpp:205
std::string MPIVersion()
Get the version of the MPI library linked against (or a note if serial).
Definition splash.hpp:178
#define BERTINI2_PACKAGE_URL
The URL of the Bertini2 source repository.
Definition splash.hpp:45