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

Fix formatting of README files

parent 537e1ab3
No related branches found
No related tags found
No related merge requests found
...@@ -17,14 +17,14 @@ In all cases, build commands executed through `make` will output the object file ...@@ -17,14 +17,14 @@ In all cases, build commands executed through `make` will output the object file
3. cd to the `build/sphere` folder. 3. cd to the `build/sphere` folder.
4. Run `sph` following the instructions given in `build\README.md` 4. Run `sph` following the instructions given in `build\README.md`
3. cd to the `build/cluster` folder. 5. cd to the `build/cluster` folder.
4. Run `clu` following the instructions given in `build\README.md` 6. Run `clu` following the instructions given in `build\README.md`
## C++ code setup and execution (requires `g++` and GNU `make`) ## C++ code setup and execution (requires `g++` and GNU `make`)
1. Follow the FORTRAN code setup steps (this builds the C++ version too). 1. Follow the FORTRAN code setup steps (this builds the C++ version too).
2. cd to the `build/sphere` folder. 2. cd to the `build/sphere` folder.
3. run `np_sphere`: 3. Run `np_sphere`:
> ./np_sphere > ./np_sphere
......
...@@ -14,9 +14,10 @@ The code migration stage can be considered successfully fulfilled with the solut ...@@ -14,9 +14,10 @@ The code migration stage can be considered successfully fulfilled with the solut
> $PATH_TO_SCRIPT/pycompare.py --ffile=FORTRAN_OUTPUT --cfile=C++_OUTPUT > $PATH_TO_SCRIPT/pycompare.py --ffile=FORTRAN_OUTPUT --cfile=C++_OUTPUT
(The above assumes that `PATH_TO_SCRIPT` is a variable that expands to the path were the script is located). The required output files are called by default `OSPH` and `OCLU` by FORTRAN and `c_OSPH` and `c_OCLU` by C++, depending on whether the sphere or the cluster case was executed. (The above assumes that `PATH_TO_SCRIPT` is a variable that expands to the path were the script is located). The required output files are called by default `OSPH` and `OCLU` by FORTRAN and `c_OSPH` and `c_OCLU` by C++, depending on whether the sphere or the cluster case was executed.
4. Check the output of the script to verify that it detects 0 errors and finishes in a `SUCCESS` state.
5. In case of need, add the `--html` argument to produce an *HTML* log showing the possible differences and a classification of their severity. 3. Check the output of the script to verify that it detects 0 errors and finishes in a `SUCCESS` state.
6. Issuing: 4. In case of need, add the `--html` argument to produce an *HTML* log showing the possible differences and a classification of their severity.
5. Issuing:
> $PATH_TO_SCRIPT/pycompare.py --help > $PATH_TO_SCRIPT/pycompare.py --help
......
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