[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 1ff3999 2/7: Minor corrections in parallel-bui
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 1ff3999 2/7: Minor corrections in parallel-build-in-tmpfs |
Date: |
Thu, 4 Aug 2016 23:21:06 +0000 (UTC) |
branch: master
commit 1ff39997e83d9629686a5b23785a24c63a9ddeed
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
Minor corrections in parallel-build-in-tmpfs
The '/dev/shm' directory was mistakenly written as '/dev/shdm'! This was
corrected along with some explanations in the comments.
---
parallel-build-in-tmpfs | 29 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)
diff --git a/parallel-build-in-tmpfs b/parallel-build-in-tmpfs
index 173683f..1751566 100755
--- a/parallel-build-in-tmpfs
+++ b/parallel-build-in-tmpfs
@@ -16,22 +16,25 @@
#
# - Having the built files mixed with the source files can greatly affect
# backing up (synchronization) of source files (since it involves the
-# management of a large number of small files that are changed a lot.
+# management of a large number of small files that are changed a
+# lot. Such systems can ofcourse be configured to ignore some files and
+# directories but that will require a high level of customization.
#
# One solution to these problems is the tmpfs file system (see
# https://en.wikipedia.org/wiki/Tmpfs). Any file in tmpfs is actually
-# stored in the RAM, not on HDDs or SSDs. Therefore I/O can be much faster
-# and will also not harm the non-volatile memory devices. However, due to
-# the volatile nature of RAM, files in the tmpfs filesystem will be
-# permanently lost after a power-off.
+# stored in the RAM (and possibly SAWP), not on HDDs or SSDs. Therefore I/O
+# can be much faster and will also not harm the non-volatile memory
+# hardware. However, due to the volatile nature of RAM, files in the tmpfs
+# filesystem will be permanently lost after a power-off, since they are all
+# derivative files (not files that have been directly manipulated) there is
+# no problem in this.
#
# The modern GNU C library (and thus the Linux kernel) define the
# '/dev/shm' directory for this purpose (POSIX shared memory). Therefore
-# this script takes '/dev/shm' as the default here (the value to TMPDIR)
-# this should be fine for all modern Linux based OSs. This script will make
-# a 'gnuastro' directory in TMPDIR, change to that directory and configure
-# and build gnuastro in there to have fast and non-wear configures and
-# builds.
+# this script takes '/dev/shm' as the default temporary directory (the
+# value to TMPDIR). This script will make a 'gnuastro' directory in TMPDIR,
+# change to that directory and configure and build gnuastro in there to
+# have fast and non-wear configures and builds.
#
# After this script is run, change directory to $TMPDIR/gnuastro and run
# other 'make' commands (for example 'make pdf', 'make check', or 'make
@@ -49,7 +52,9 @@
#
#
# Original author: Mohammad Akhlaghi <address@hidden>
-# Contributing author(s): Copyright (C) 2016, Free Software Foundation,
+# Contributing author(s):
+#
+# Copyright (C) 2016, Free Software Foundation,
# Inc.
#
# Gnuastro is free software: you can redistribute it and/or modify it under
@@ -68,7 +73,7 @@
# Set the variables:
NUM_THREADS=8
-TMPDIR=/dev/shdm
+TMPDIR=/dev/shm
# Check if TMPDIR exists
- [gnuastro-commits] master updated (3a84a97 -> 6770ac8), Mohammad Akhlaghi, 2016/08/04
- [gnuastro-commits] master 1ff3999 2/7: Minor corrections in parallel-build-in-tmpfs,
Mohammad Akhlaghi <=
- [gnuastro-commits] master 6d2a3a0 1/7: Script to configure and build in tmpfs, Mohammad Akhlaghi, 2016/08/04
- [gnuastro-commits] master 2de6a04 3/7: Make a symbolic link to access the tmpfs build, Mohammad Akhlaghi, 2016/08/04
- [gnuastro-commits] master abcc408 5/7: Removed argument on speed in parallel-build-in-tmpfs, Mohammad Akhlaghi, 2016/08/04
- [gnuastro-commits] master 18986ab 6/7: Tmpfs build script included in the distribution tarball, Mohammad Akhlaghi, 2016/08/04
- [gnuastro-commits] master 620aaee 4/7: Fix creation of build directory when building in RAM, Mohammad Akhlaghi, 2016/08/04
- [gnuastro-commits] master 6770ac8 7/7: Merged tmpfs build script branch, Mohammad Akhlaghi, 2016/08/04