Commits

John Wise committed a3149b6 Merge

Merged in ngoldbaum/enzo-dev-clean (pull request #118: Print out version information when enzo compiles successfully)

  • Participants
  • Parent commits 493dfe5, a83c007

Comments (0)

Files changed (2)

src/enzo/Grid_TestGravityInitializeGrid.C

   float phi, r, theta;
   int mt_random_seed = 123456789;
   int max_random = (1<<16);
-  mt_init((unsigned int) mt_random_seed);
+  mt_init((unsigned_int) mt_random_seed);
  
   if (UseBaryons) {
  

src/enzo/Makefile

 	else \
 		$(LD) $(LDFLAGS) -o $*.exe $*.o $(OBJS_LIB) $(LIBS) >> $(OUTPUT) \
 		2>&1 ; \
-	fi)  
+	fi)	
 	@(if [ -e $@ ] ; then  \
 		echo "Success!" ; \
-                if [ ! -e $(TOP_DIR)/bin ]; then mkdir $(TOP_DIR)/bin; fi; \
+		echo "Compiled enzo from " ; \
+		echo "Mercurial Branch   `$(SVN) identify -b`" ; \
+		echo "Mercurial Revision `$(SVN) identify -i`" ; \
+		if [ ! -e $(TOP_DIR)/bin ]; then mkdir $(TOP_DIR)/bin; fi; \
 		if [ "$(CONFIG_OPT)" == "debug" ]; then \
 		echo "Compiled with opt-debug (OPT_FLAGS = $(ASSEMBLE_OPT_FLAGS))."; \
 		echo "May run much faster while still accurate with make opt-high (OPT_FLAGS = $(MACH_OPT_HIGH))"; \