magistraleinformaticanetworking:spm:spm1617knl
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
magistraleinformaticanetworking:spm:spm1617knl [21/12/2016 alle 07:21 (8 anni fa)] – [Programming framework] Marco Danelutto | magistraleinformaticanetworking:spm:spm1617knl [19/01/2017 alle 16:10 (8 anni fa)] (versione attuale) – [OpenCV] Marco Danelutto | ||
---|---|---|---|
Linea 1: | Linea 1: | ||
- | ====== KNL howto ====== | + | ====== |
- | ==== Super important | + | ===== README FIRST ===== |
//**In case you see messages on the terminal(s) used requiring you to leave the machine from any one of the following users: | //**In case you see messages on the terminal(s) used requiring you to leave the machine from any one of the following users: | ||
Linea 11: | Linea 11: | ||
please logout immediately after killing all your processes (foreground and backgroud). The machine is provided by the ITC and it may be the case it will be needed for short demos and experiments. **// | please logout immediately after killing all your processes (foreground and backgroud). The machine is provided by the ITC and it may be the case it will be needed for short demos and experiments. **// | ||
+ | |||
+ | ===== Then read this ... ===== | ||
==== Machine address ==== | ==== Machine address ==== | ||
The machine address is **ninja.itc.unipi.it** | The machine address is **ninja.itc.unipi.it** | ||
+ | |||
+ | ==== Differences with the KNC (old machine) ==== | ||
+ | |||
+ | This is machine that directly boots as a Xeon PHI KNL. No need to ssh micX or to compile with the -mmic flag. To run on the 64 cores, just use icc (with any of the " | ||
+ | < | ||
+ | icc -std=c++11 mymain.cpp -pthread -o mymain | ||
+ | ./mymain | ||
+ | </ | ||
+ | |||
==== Tools ==== | ==== Tools ==== | ||
Linea 21: | Linea 32: | ||
in order to be able to use the compiler. | in order to be able to use the compiler. | ||
- | The machine also has a g++ compiler, but for the project you have to use the Intel compiler. | + | The machine also has a g++ compiler, but for the project you **must** |
+ | |||
+ | ==== Java ==== | ||
+ | Standard Java JDK 8 is installed under | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | Please consider adding / | ||
+ | < | ||
+ | export PATH=/ | ||
+ | </ | ||
+ | (to be executed in the shell or added to the .bashrc) | ||
==== Programming framework ==== | ==== Programming framework ==== | ||
Linea 41: | Linea 63: | ||
All the filters used should be implemented by yourself. | All the filters used should be implemented by yourself. | ||
+ | ==== ffmpeg ==== | ||
+ | I installed ffmpeg under < | ||
==== Video filters ==== | ==== Video filters ==== | ||
For the " | For the " | ||
* blur | * blur | ||
* sobel | * sobel | ||
- | for the two stages of the filtering process. OpenCV provides the filters natively, | + | for the two stages of the filtering process. |
+ | You may consider alternatively: | ||
+ | * a filter transforming the video in a black and white video | ||
+ | * a threshold filter | ||
+ | |||
+ | Even if OpenCV provides the filters natively, you have to implement your own filters. |
magistraleinformaticanetworking/spm/spm1617knl.1482304905.txt.gz · Ultima modifica: 21/12/2016 alle 07:21 (8 anni fa) da Marco Danelutto