|
|
|
Setting up
|
|
|
|
----------
|
|
|
|
The compiling script is located in `scripts/learning/kernels_compile.sh`. Before execute it, you have to perform some adjustments:
|
|
|
|
1) Open `kernels_compile.sh` and look for these lines:
|
|
|
|
```
|
|
|
|
# Edit architecture values
|
|
|
|
export CORES=28
|
|
|
|
export SOCKETS=2
|
|
|
|
export CORES_PER_SOCKET=14
|
|
|
|
```
|
|
|
|
2) Update the following parameters:<br />
|
|
|
|
- **CORES**: the total number of cores in a single computing node.<br />
|
|
|
|
- **SOCKETS**: the total number of sockets in a single computing node.<br />
|
|
|
|
- **CORES_PER_SOCKET**: the total number of cores per socket in a single computing node.<br />
|
|
|
|
|
|
|
|
Kernel compilation
|
|
|
|
------------------
|
|
|
|
The first step is the kernel compilation. You can execute the script in `script/learning/kernels_compile.sh` and the compiled kernels will be saved in the `bin` folder in the root of this package. If something goes wrong, you can surf in `kernels` folder and edit the make files to switch the `mpiifort` compiler or any other option for your own, because the compiling script it does nothing but call that make commands.
|
|
|
|
|
|
|
|
You can also compile one by one manually. In that case, open the script `scripts/learning/helpers/kernels_executor.sh` and look at the function `learning()`. Here you will find all the paths and compile instructions (make) and install (move) for each kernel when `$BENCH_MODE` variable is set to `compile`.
|
|
|
|
|
|
|
|
Additional kernel information
|
|
|
|
-----------------------------
|
|
|
|
You can see some information about all the kernels in the following table:
|
|
|
|
|
|
|
|
| Kernel | Reference |
|
|
|
|
| ------ | -------------------------------------------------------------------------------- |
|
|
|
|
| dgemm | https://software.intel.com/en-us/mkl-tutorial-c-multiplying-matrices-using-dgemm |
|
|
|
|
| stream | http://www.cs.virginia.edu/stream/ref.html |
|
|
|
|
| bt-mz | https://www.nas.nasa.gov/publications/npb.html |
|
|
|
|
| sp-mz | " |
|
|
|
|
| lu-mz | " |
|
|
|
|
| ep | " |
|
|
|
|
| lu | " |
|
|
|
|
| ua | " | |
|
|
|
\ No newline at end of file |