Skip to content
Snippets Groups Projects
Commit 9af5c12c authored by Mulas, Giacomo's avatar Mulas, Giacomo
Browse files

Merge branch 'master' into containers-m8

parents 374df1f9 8bccc887
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@ The original code produces output in the current working directory (the path whe
This section describes the use of the pre-existing programs, once the binaries have been properly built by a succesful run of `make` in the `src` folder.
*NOTE:* This set of instructions applies to the serial code implementation only. Please, refer to the Release Notes of `NP_TMcode-M8.02` for more details on how to build and use a parallel implementation of the code.
### cluster
1. cd to the `build/cluster` folder.
......@@ -96,8 +98,6 @@ This program checks for the consistency of transition matrix data files. It is e
where the arguments must be valid paths to binary transition matrix files saved in the legaci or the _HDF5_ format. Similarly to the previous case, the program writes a short log and returns a result value of 0, for success, or a positive number in case of inconsistency detection.
# License
# License
Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari
......
......@@ -11,8 +11,6 @@ In order for the docker build to correctly set the context, so that it can acces
where `<image name>` is either `np-tmcode` or `np-tmcode-run`. One may also add the docker build option `-t tagname` to specify the `tagname` the built image should have in his/her registry.
# License
# License
Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari
......
......@@ -18,8 +18,6 @@ or directly as
where `<full path to image name>` is the name of the sif image, including full or relative path to it, and `<np-tmcode command>` is one of the executables built in np-tmcode project, or the `pycompare.py` script used to compare results between the Fortran and C++ versions of the code. These executables, as well as the minimum runtime for them to execute correctly, are embedded in the image, and "see" the current directory the image is run in (which technically is automatically bind-mounted by singularity in the running image instance).
# License
# License
Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari
......
File added
......@@ -14,8 +14,6 @@ Alternatively, you can use `make` from the project `src` folder (named `np_tmcod
*doxygen* will automatically build the HTML structure to cover all the documented source code and it will additionally provide the fundamental structure to prepare a LaTeX formatted version of the documents. These two outputs will be placed, respectively, under the folders `np_tmcode/doc/build/html` and `np_tmcode/doc/build/latex`.
# License
# License
Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari
......
......@@ -22,6 +22,8 @@ In all cases, build commands executed through `make` will output the object file
## *C++* code setup and execution (requires `g++` and GNU `make`)
*NOTE:* This set of instructions is for serial code implementation only. Please, refer to the Release Notes of `NP_TMcode-M8.02` for more details on how to build and use a parallel implementation of the code.
1. Follow the *FORTRAN* code setup steps (these build the *C++* version too).
2. cd to the `build/sphere` folder.
3. Run `np_sphere`:
......@@ -36,8 +38,6 @@ In all cases, build commands executed through `make` will output the object file
7. Check the consistency between the text files named `OCLU` and `c_OCLU`
# License
# License
Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari
......
......@@ -35,8 +35,6 @@ Performance estimates can be obtained from the code logging system, assuming the
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
# License
Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari
......
......@@ -60,8 +60,6 @@ were the different lines have the following roles:
4. a flag to set whether the intermediate data should be written to output files
5. an end-of-file code (generally 0)
# License
# License
Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari
......
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