From 0740d61f74febed531fc301bc15ff059a5151394 Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Thu, 9 May 2024 14:43:47 +0200 Subject: [PATCH] Update license information of scripts and test readme files --- src/scripts/README.md | 21 ++++++++++++++++++--- test_data/README.md | 19 +++++++++++++++++-- 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/src/scripts/README.md b/src/scripts/README.md index 49720fe8..487d9db0 100644 --- a/src/scripts/README.md +++ b/src/scripts/README.md @@ -1,5 +1,3 @@ -Distributed under the terms of *GNU GPL-3.0-or-later* - # Folder instructions This directory contains scripts and tools to evaluate the code functionality. @@ -35,4 +33,21 @@ Performance estimates can be obtained from the code logging system, assuming the > $PATH_TO_SCRIPT/pytiming.py --logname=LOG_FILE [--filter=FILTER --threads=NUM_THREADS] -where `LOG_FILE` must be the name of a file containing the output that would normally go to terminal, `FILTER` must be the starting character sequence of the log line identifying the operation that should be taken into account, and `NUM_THREADS` is the number of processes that were used to perform the whole calculation loop. In case no filter is given, the script provides an estimate of the total amount of time spent in doing the calculation. This estimate, however, is known not to be reliable, because it ignores thread concurrency effects. A more accurate estimate of the total time spent in executing the code is always saved in a file named `c_timing.log`. \ No newline at end of file +where `LOG_FILE` must be the name of a file containing the output that would normally go to terminal, `FILTER` must be the starting character sequence of the log line identifying the operation that should be taken into account, and `NUM_THREADS` is the number of processes that were used to perform the whole calculation loop. In case no filter is given, the script provides an estimate of the total amount of time spent in doing the calculation. This estimate, however, is known not to be reliable, because it ignores thread concurrency effects. A more accurate estimate of the total time spent in executing the code is always saved in a file named `c_timing.log`. + +# License + + Copyright 2004 INAF - Osservatorio Astronomico di Cagliari + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + diff --git a/test_data/README.md b/test_data/README.md index 4db4e5af..7545f04f 100644 --- a/test_data/README.md +++ b/test_data/README.md @@ -1,5 +1,3 @@ -Distributed under the terms of *GNU GPL-3.0-or-later* - # Folder instructions This directory collects the input files to test the code. @@ -61,3 +59,20 @@ were the different lines have the following roles: 3. definition of the azimuth angle arrays for the incident and scattered radiation fields 4. a flag to set whether the intermediate data should be written to output files 5. an end-of-file code (generally 0) + +# License + + Copyright 2004 INAF - Osservatorio Astronomico di Cagliari + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + -- GitLab