[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 6b51397 077/125: Added -j8 to make examples in
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 6b51397 077/125: Added -j8 to make examples in book |
Date: |
Sun, 23 Apr 2017 22:36:41 -0400 (EDT) |
branch: master
commit 6b513978f573e8381cf88d57c9c77bee3087907b
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
Added -j8 to make examples in book
Compilation time can be greatly reduced if people use the `-j' option for
`make', which will distribute the `j'obs into multiple threads. So to help
the book readers, a `-j8' was added to the example scripts for all the
libraries and also in Quick start. A comment is added afterwards,
explaining that the `8' can be replaced with the number of CPU threads.
It could have been `-jN', but that would be a little cryptic and not work
if people didn't pay attention to the comment, making things a little
confusing. In this manner, even if they don't have 8 CPU threads, there
won't be any error and the speed will be up anyway (to the limit available
by their CPUs).
---
doc/gnuastro.texi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 5be7673..f229ebc 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -665,7 +665,7 @@ $ cd TOPGNUASTRO
$ tar xf gnuastro-latest.tar.gz # This works on `.tar.lz' too.
$ cd gnuastro-X.X # Replace X.X with version number.
$ ./configure
-$ make
+$ make -j8 # Replace 8 with no. CPU threads.
$ make check
$ sudo make install
@end example
@@ -2341,9 +2341,9 @@ run the following commands after you have downloaded
@example
$ tar xf gsl-latest.tar.gz
-$ cd gsl-X.X # Replace X.X with version number
+$ cd gsl-X.X # Replace X.X with version number.
$ ./configure
-$ make
+$ make -j8 # Replace 8 with no. CPU threads.
$ make check
$ sudo make install
@end example
@@ -2406,7 +2406,7 @@ you have downloaded
$ tar xf cfitsio_latest.tar.gz
$ cd cfitsio
$ ./configure --prefix=/usr/local --enable-sse2 --enable-reentrant
-$ make
+$ make -j8 # Replace 8 with no. CPU threads.
$ make utils
$ ./testprog > testprog.lis
$ diff testprog.lis testprog.out # Should have no output
@@ -2451,7 +2451,7 @@ downloaded
@url{ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.bz2,
$ tar xf wcslib.tar.bz2
$ cd wcslib-X.X # Replace X.X with version number
$ ./configure --without-pgplot LIBS="-pthread -lm"
-$ make
+$ make -j8 # Replace 8 with no. CPU threads.
$ make check
$ sudo make install
@end example
- [gnuastro-commits] master 08927b8 044/125: New Table formats section in manual, (continued)
- [gnuastro-commits] master 08927b8 044/125: New Table formats section in manual, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master eab25b1 059/125: Option descriptions also printed with values, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 909fa0d 050/125: Table info printing in libraries, updates to Table program, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 36bcedd 066/125: Fixed automatic output checking in Arithmetic, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master d2ed7ea 060/125: Options setdirconf and setusrconf implemented, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 08147ce 062/125: All mandatory options not given are listed with error, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master a9092e9 036/125: The table library can read ASCII inputs, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 77b7910 057/125: Program specific global variables for in options library, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 9e553f0 022/125: All old arithmetic operators are now implemented, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master b470ee4 023/125: More efficient macro implementation for binary operators, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 6b51397 077/125: Added -j8 to make examples in book,
Mohammad Akhlaghi <=
- [gnuastro-commits] master b5c9a64 063/125: Science and its tools and ImageCrop corrections in book, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master edd5612 053/125: Single function to read all configuration files, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master acad34c 049/125: Sanity checks for reading txt tables, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 5b61ae3 032/125: Arithmetic functions/macros out of data.h, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 232e059 041/125: First draft of FITS table writing function complete, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 56f8c18 071/125: Cosmetic changes in option printing style, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 07a043c 026/125: Starting to use the new data structure to Table, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master f47a4c2 072/125: MakeProfiles now reads the columns, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master e4c110d 082/125: ConvertType also prints to stdout, Mohammad Akhlaghi, 2017/04/23
- [gnuastro-commits] master 30c7c07 074/125: CosmicCalculator working with changes in this branch, Mohammad Akhlaghi, 2017/04/23