[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65194] Option --quiet for astcosmiccal does not disable the warnin
From: |
Boud Roukema |
Subject: |
[bug #65194] Option --quiet for astcosmiccal does not disable the warning |
Date: |
Tue, 23 Jan 2024 11:09:21 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?65194>
Summary: Option --quiet for astcosmiccal does not disable the
warning
Group: GNU Astronomy Utilities
Submitter: boud
Submitted: Tue 23 Jan 2024 04:09:20 PM UTC
Category: CosmicCalculator
Severity: 3 - Normal
Item Group: Output not reasonable
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 23 Jan 2024 04:09:20 PM UTC By: Boud Roukema <boud>
The command _astcosmiccal_ claims that the _--quiet_ option can be used to
hide the memory map warning. However, it does not appear to work:
$ ./bin/cosmiccal/astcosmiccal --version
CosmicCalculator (GNU Astronomy Utilities) 0.21.75-4aca
Copyright (C) 2015-2024 Free Software Foundation, Inc.
License GPLv3+: GNU General public license version 3 or later.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written/developed by Mohammad Akhlaghi
$ $ ./bin/cosmiccal/astcosmiccal --quiet --properdistance --oradiation=0.0
--omatter=0.3 --olambda=0.7 --H0=70 --redshift=1
========= WARNING =========
Minimum size to map an allocated space outside of RAM is not set, or set to
zero. This can greatly slow down the processing of a program or cause strange
crashes (recall that the number of files that can be memory-mapped is
limited).
On modern systems (with RAM larger than a giga-byte), it should be fine to set
it to 10000000 (10 million bytes or 10Mb) with the command below. In this
manner, only arrays that are larger than this will be memory-mapped and
smaller arrays (which are much more numerous) will be allocated and freed in
the RAM.
--minmapsize=10000000
[This warning can be disabled with the '--quiet' (or '-q') option.]
===========================
3303.828806
$ ./bin/cosmiccal/astcosmiccal -q --properdistance --oradiation=0.0
--omatter=0.3 --olambda=0.7 --H0=70 --redshift=1
========= WARNING =========
Minimum size to map an allocated space outside of RAM is not set, or set to
zero. This can greatly slow down the processing of a program or cause strange
crashes (recall that the number of files that can be memory-mapped is
limited).
On modern systems (with RAM larger than a giga-byte), it should be fine to set
it to 10000000 (10 million bytes or 10Mb) with the command below. In this
manner, only arrays that are larger than this will be memory-mapped and
smaller arrays (which are much more numerous) will be allocated and freed in
the RAM.
--minmapsize=10000000
[This warning can be disabled with the '--quiet' (or '-q') option.]
===========================
3303.828806
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65194>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #65194] Option --quiet for astcosmiccal does not disable the warning,
Boud Roukema <=