summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/Banner.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/Banner.c b/src/main/Banner.c
index 7076164b..57914091 100644
--- a/src/main/Banner.c
+++ b/src/main/Banner.c
@@ -19,6 +19,7 @@
#include "cctk_Flesh.h"
#include "cctk_FortranString.h"
#include "cctk_Parameter.h"
+#include "cctk_Version.h"
static const char *rcsid = "$Header$";
@@ -32,6 +33,11 @@ CCTK_FILEVERSION(main_Banner_c)
********************* Local Routine Prototypes *********************
********************************************************************/
+int CCTKi_PrintBanners(void);
+void CCTKi_CactusBanner(void);
+void CCTK_FCALL CCTK_FNAME(CCTK_RegisterBanner)
+ (int *ierr,ONE_FORTSTRING_ARG);
+
/********************************************************************
********************* Other Routine Prototypes *********************
********************************************************************/
@@ -66,6 +72,7 @@ void CCTKi_CactusBanner(void)
{
const char *string;
+ char buffer[128];
#define B_1 " 10 "
#define B_2 " 1 0101 ************************ "
@@ -82,8 +89,13 @@ void CCTKi_CactusBanner(void)
string = B_ANNERLINE;
+
+ Util_CurrentDate (sizeof (buffer), buffer);
+
printf("--------------------------------------------------------------------------------\n");
printf("%s\n",string);
+ printf("Version: %s ",CCTK_FullVersion());
+ printf("Compile Date: %s Run Date: %s\n",CCTK_CompileDate(),buffer);
printf("--------------------------------------------------------------------------------\n");
}