]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Added optimized make target and supporting documentation
authorbenkirk <benkirk@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Feb 2002 14:52:31 +0000 (14:52 +0000)
committerbenkirk <benkirk@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Feb 2002 14:52:31 +0000 (14:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@5526 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/Makefile
deal.II/base/include/base/multithread_info.h
deal.II/doc/news/2002/c-3-3.html
deal.II/doc/news/news.html

index 80e255cb807b08db134f38c62901ab740b4c8580..48a0d42d06e239f6230f973000b4391b4d85cbed 100644 (file)
@@ -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)
 
index 1c295142165f96d704ccbb4ecca28f335e64ed80..e1ad34062d2ce5beba41e2b48dea2fe4617662a1 100644 (file)
@@ -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.
index 03447efe1bf44286ddbc37f40200f9a119f3ccfc..c07e082f2be0d448a090916af6ec5f1025ba5b4d 100644 (file)
@@ -25,7 +25,7 @@ documentation, etc</a>.
 <p>
 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).
 </p>
 
 
@@ -43,6 +43,14 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK
        <br>
        (WB 2002/02/11)
        </p>
+  <li> <p> 
+       Added: The top-level Makefile now supports "optimized" as a
+       target that builds only optimized versions of the <code>base</code>,
+       <code>lac</code>, <code>1d</code>, <code>2d</code>, and <code>3d</code>
+       libraries. 
+       <br>
+       (BK 2002/02/19)
+       </p>
 </ol>
 
 
@@ -86,6 +94,14 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK
        <br>
        (BK 2002/02/11)
        </p>
+
+  <li> <p>
+       Changed: The function <code class="class">MultithreadInfo</code>::
+       <code class="member">get_n_cpus</code> now reports the proper number
+       of CPUs when running on Silicon Graphics.
+       <br>
+       (BK 2002/02/19)
+       </p> 
 </ol>
 
 
index e04fee756eb0afbcf5d6b9a37a9d7dac813f1991..33581af5417bc09e15375817edb5b835407c6f92 100644 (file)
 
     <dir>
     <dl>
+      <dt>
+          <strong>2002/02/19: New optimized make target</strong>
+      </dt>
+      <dd>
+          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 <a href="2002/c-3-3.html" target="body">here</a>.
+         </p>
+      </dd>
+      
       <dt>
           <strong>2002/02/11: New support for Tecplot binary output</strong>
       </dt>

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.