FrameworkVersion::FrameworkVersion() { #ifdef WITH_GIT_REVISION _text = std::string("Jakarta git-") + git_revision(); #else _text = std::string("Jakarta git-unknown"); #endif }
/** * @brief Prints a greeting message to the standard output containing code * version and revision number */ void greetings(void) { printf(" Welcome to the cosmological code\n"); printf(" ______ _________________\n"); printf(" / ___/ | / / _/ ___/_ __/\n"); printf(" \\__ \\| | /| / // // /_ / / \n"); printf(" ___/ /| |/ |/ // // __/ / / \n"); printf(" /____/ |__/|__/___/_/ /_/ \n"); printf(" SPH With Inter-dependent Fine-grained Tasking\n\n"); printf(" Version : %s\n", package_version()); printf(" Revision: %s, Branch: %s\n", git_revision(), git_branch()); printf(" Webpage : www.swiftsim.com\n\n"); printf(" Compiler: %s, Version: %s\n", compiler_name(), compiler_version()); #ifdef HAVE_HDF5 printf(" HDF5 library version: %s\n", hdf5_version()); #endif #ifdef WITH_MPI printf(" MPI library: %s\n", mpi_version()); #ifdef HAVE_METIS printf(" METIS library version: %s\n", metis_version()); #endif #endif printf("\n"); }