Skip to content
Snippets Groups Projects
Commit 0740d61f authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Update license information of scripts and test readme files

parent 5244ee37
No related branches found
No related tags found
No related merge requests found
Distributed under the terms of *GNU GPL-3.0-or-later*
# Folder instructions # Folder instructions
This directory contains scripts and tools to evaluate the code functionality. 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 ...@@ -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] > $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`. 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
# 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.
Distributed under the terms of *GNU GPL-3.0-or-later*
# Folder instructions # Folder instructions
This directory collects the input files to test the code. This directory collects the input files to test the code.
...@@ -61,3 +59,20 @@ were the different lines have the following roles: ...@@ -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 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 4. a flag to set whether the intermediate data should be written to output files
5. an end-of-file code (generally 0) 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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment