From: benkirk
Date: Tue, 19 Feb 2002 14:52:31 +0000 (+0000)
Subject: Added optimized make target and supporting documentation
X-Git-Tag: v8.0.0~18317
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=894cf86636d32dbeea555222304291ca664a299e;p=dealii.git
Added optimized make target and supporting documentation
git-svn-id: https://svn.dealii.org/trunk@5526 0785d39b-7218-0410-832d-ea1e28bc413d
---
diff --git a/deal.II/Makefile b/deal.II/Makefile
index 80e255cb80..48a0d42d06 100644
--- a/deal.II/Makefile
+++ b/deal.II/Makefile
@@ -18,6 +18,7 @@ help:
@echo "= contrib: make additional libraries in contrib, if there are any ="
@echo "= all: base, lac, 1d, 2d and 3d, contrib ="
@echo "= debug: baseg, lacg, 1dg, 2dg and 3dg, contrib ="
+ @echo "= optimized: base, lac, 1d, 2d, and 3d optimized libraries only ="
@echo "= online-doc: generate the documentation in HTML format ="
@echo "= TODO: create a TODO file from TODO lines in the source files ="
@echo "= TAGS: create a TAGS file from include and source files ="
@@ -93,6 +94,13 @@ debug: contrib
cd $D/deal.II ; $(MAKE) $(MAKEOPTIONS) 1dg
cd $D/deal.II ; $(MAKE) $(MAKEOPTIONS) 3dg
+optimized:
+ cd $D/base ; $(MAKE) $(MAKEOPTIONS) libo
+ cd $D/lac ; $(MAKE) $(MAKEOPTIONS) libo
+ cd $D/deal.II ; $(MAKE) $(MAKEOPTIONS) 2d
+ cd $D/deal.II ; $(MAKE) $(MAKEOPTIONS) 1d
+ cd $D/deal.II ; $(MAKE) $(MAKEOPTIONS) 3d
+
contrib:
cd $D/contrib ; $(MAKE)
diff --git a/deal.II/base/include/base/multithread_info.h b/deal.II/base/include/base/multithread_info.h
index 1c29514216..e1ad34062d 100644
--- a/deal.II/base/include/base/multithread_info.h
+++ b/deal.II/base/include/base/multithread_info.h
@@ -94,9 +94,9 @@ class MultithreadInfo
/**
* Private function to determine
* the number of CPUs.
- * Implementation for Linux and
- * Sun machines; if no detection
- * of the number of CPUs is
+ * Implementation for Linux, OSF,
+ * SGI, and Sun machines; if no
+ * detection of the number of CPUs is
* supported, or if detection
* fails, this function returns
* one.
diff --git a/deal.II/doc/news/2002/c-3-3.html b/deal.II/doc/news/2002/c-3-3.html
index 03447efe1b..c07e082f2b 100644
--- a/deal.II/doc/news/2002/c-3-3.html
+++ b/deal.II/doc/news/2002/c-3-3.html
@@ -25,7 +25,7 @@ documentation, etc.
All entries are signed with the names of the author. Regular
contributor's names are abbreviated by WB (Wolfgang Bangerth), GK
-(Guido Kanschat), RH (Ralf Hartmann), BK (Benjamin Shelton Kirk).
+(Guido Kanschat), RH (Ralf Hartmann), BK (Benjamin S. Kirk).
@@ -43,6 +43,14 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK
(WB 2002/02/11)
+
+ Added: The top-level Makefile now supports "optimized" as a
+ target that builds only optimized versions of the base
,
+ lac
, 1d
, 2d
, and 3d
+ libraries.
+
+ (BK 2002/02/19)
+
@@ -86,6 +94,14 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK
(BK 2002/02/11)
+
+
+ Changed: The function MultithreadInfo
::
+ get_n_cpus
now reports the proper number
+ of CPUs when running on Silicon Graphics.
+
+ (BK 2002/02/19)
+
diff --git a/deal.II/doc/news/news.html b/deal.II/doc/news/news.html
index e04fee756e..33581af541 100644
--- a/deal.II/doc/news/news.html
+++ b/deal.II/doc/news/news.html
@@ -29,6 +29,17 @@
+ -
+ 2002/02/19: New optimized make target
+
+ -
+ The top-level Makefile now supports "optimized" as a target.
+ This is particularly useful for building the library on production
+ machines that do not need the rather large debug versions available.
+ For more information look here.
+
+
+
-
2002/02/11: New support for Tecplot binary output