Commit 4dd71517 authored by Milan Jaros's avatar Milan Jaros

fix README.md

parent df0d4a4a
......@@ -22,80 +22,71 @@ To make CyclesPhi effectively utilize HPC resources it has been modified to supp
* OpenMP
* MPI
* Intel® Xeon Phi™ with Symmetric mode
* Sockets
* Intel® Xeon Phi™ (KNC)
* And their combinations
---
# Building and running CyclesPhi v2.80
# Building and running CyclesPhi v2.81
---
### Building Blender 2.8 with GCC 6.X/7.X/8.X
* https://wiki.blender.org/index.php/Dev:Doc/Building_Blender
### Building Blender Client 2.80 with Intel Compiler 2017/2018, GCC 6.X/7.X/8.X
### Building Blender Client 2.81 with Intel Compiler 2017/2018, GCC 6.X/7.X/8.X
* Intel® Parallel Studio XE Cluster Edition (free for students)
* Intel® Manycore Platform Software Stack (Intel® MPSS)
* Microsoft Visual Studio 2017 (Windows), CMake 3.X, GCC 6.X/7.X/8.X (Linux)
### Creating Singularity in Ubuntu
* CMake 3.X, GCC 6.X/7.X/8.X (Linux)
### Creating Singularity in Ubuntu 18.04
```
sudo apt-get update
sudo snap install docker
sudo apt-get install singularity-container
sudo singularity build --sandbox [debian_blender28] docker://debian:latest
sudo singularity shell --writable [debian_blender28]
sudo singularity build --sandbox [debian_blender] docker://debian:latest
sudo singularity shell --writable [debian_blender]
apt-get update
apt-get install git build-essential sudo gawk python-dev cmake gcc g++ llvm
apt-get install git build-essential sudo gawk python-dev cmake gcc g++ llvm wget
mkdir -p /apps_singularity
mkdir -p /apps_singularity/blender-git
cd /apps_singularity/blender-git
git clone https://git.blender.org/blender.git
wget https://code.it4i.cz/raas/cyclesphi/raw/master/build_files/build_environment/install_deps.sh
chmod +x install_deps.sh
./install_deps.sh
./blender/build_files/build_environment/install_deps.sh
exit
sudo singularity build debian_blender.img \[debian_blender\]/
```
### Building CyclesPhi v2.8
`git clone git@code.it4i.cz:raas/cyclesphi.git`
new build flags:
* blender: WITH_CYCLES_CLIENT=ON/OFF, WITH_CLIENT_FILE=ON/OFF, WITH_CLIENT_MPI=ON/OFF, WITH_CLIENT_MPI_SOCKET=ON/OFF
* client: WITH_KNC_NATIVE=ON/OFF, WITH_CLIENT_FILE=ON/OFF, WITH_CLIENT_FILE_SOCKET=ON/OFF, WITH_CLIENT_MPI=ON/OFF, WITH_CLIENT_MPI_FILE=ON/OFF, WITH_CLIENT_MPI_SOCKET=ON/OFF
new folders:
| client | |
| ----------- | --- |
| api/client_api.h | main header with predefined communication tags and structures |
| cycles | the shared libraries to communication with Blender (root) |
| main | blender_client application |
---
# Setting up CycplesPhi client in Blender
---
### Building CyclesPhi on Cluster
```
ssh salomon.it4i.cz
mkdir ~/project-cyclesphi
cp $HOME/debian_blender.img ~/project-cyclesphi/.
cd ~/project-cyclesphi/.
wget https://code.it4i.cz/raas/cyclesphi/raw/master/client/scripts/download_blender.sh
chmod +x download_blender.sh
./download_blender.sh
```
# Setting up CyclesPhi Client in Blender
![alt text](https://code.it4i.cz/raas/cyclesphi/raw/master/CyclesPhi2_Settings.png)
---
# Running CyclesPhi
---
* ` mpirun -n 1 singularity exec debian_blender.img ${ROOT_DIR}/install/blender/blender : -n 1 ${ROOT_DIR}/install/blender_client/bin/blender_client `
* ` mpirun -genv LD_LIBRARY_PATH $MIC_LD_LIBRARY_PATH -machine $NODEFILECN -n 1 singularity exec debian_blender.img ${ROOT_DIR}/install/blender/blender : -n $NUMOFCN ${ROOT_DIR}/install/blender_client/bin/blender_client`
```
ssh salomon.it4i.cz
qsub -A OPEN-0-0 -I -q qprod -l select=1:accelerator=True
cd ~/project-cyclesphi/.
./scripts/run_blender_mic_pre.sh
./scripts/run_blender_mic.sh
./scripts/run_blender_mic_post.sh
```
---
# License
---
This software is licensed under the terms of the [GNU General Public License](https://code.it4i.cz/raas/cyclesphi/blob/master/COPYING).
---
# Acknowledgement
---
This work was supported by The Ministry of Education, Youth and Sports from the Large Infrastructures for Research, Experimental Development and Innovations project ”IT 4Innovations National Supercomputing Center – LM2015070”.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment