Commit 2259c7a7 authored by Milan Jaros's avatar Milan Jaros

add bmw27 result, fix readme

parent 4a953b95
......@@ -84,22 +84,31 @@ chmod +x download_blender.sh
qsub -A OPEN-0-0 -I -q qprod -l select=1:accelerator=True
cd ~/project-cyclesphi/.
./download_blender.sh
exit
```
# Setting up CyclesPhi Client in Blender
![](https://code.it4i.cz/raas/cyclesphi/raw/master/CyclesPhi2_Settings.png)
# Running CyclesPhi on MICs
```
pre=$(qsub -q qexp -l select=1 ./scripts/run_blender_pre.sh)
rend=$(qsub -A OPEN-0-0 -W depend=afterok:$pre -q qmic -l select=25 ./scripts/run_blender_mic.sh)
post=$(qsub -W depend=afterok:$rend -q qexp -l select=1 ./scripts/run_blender_post.sh)
echo $pre '->' $rend '->' $post
```
# Running CyclesPhi
# Running CyclesPhi on CPUs
```
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
pre=$(qsub -q qexp -l select=1 ./scripts/run_blender_pre.sh)
rend=$(qsub -A OPEN-0-0 -W depend=afterok:$pre -q qprod -l select=5 ./scripts/run_blender_cpu.sh)
post=$(qsub -W depend=afterok:$rend -q qexp -l select=1 ./scripts/run_blender_post.sh)
echo $pre '->' $rend '->' $post
```
# Result
Car Demo - The popular BMW demo by Mike Pan. (CC0, 3 MB)
![](https://code.it4i.cz/raas/cyclesphi/raw/master/client/data/bmw27.png)
# License
This software is licensed under the terms of the [GNU General Public License](https://code.it4i.cz/raas/cyclesphi/blob/master/COPYING).
......
......@@ -12,4 +12,4 @@ export CLIENT_FILE_ACTION=POST
export CLIENT_FILE_KERNEL_GLOBAL=${CACHE_DIR}/cache.kg
export CLIENT_FILE_CYCLES_BUFFER=${CACHE_DIR}/cache.bf
singularity exec debian_blender.img $ROOT/install/blender28_gcc/blender -b $ROOT/src/blender/client/data/bmw27_cpu.blend --python $ROOT/src/blender/client/data/over.py -y -x 1 -o $CACHE_DIR/#### -F PNG -f 1
singularity exec $ROOT/debian_blender.img $ROOT/install/blender28_gcc/blender -b $ROOT/src/blender/client/data/bmw27_cpu.blend --python $ROOT/src/blender/client/data/over.py -y -x 1 -o $CACHE_DIR/#### -F PNG -f 1
......@@ -11,4 +11,4 @@ export SINGULARITY_BINDPATH="/apps,/scratch,/home,/tmp"
export CLIENT_FILE_ACTION=PRE
export CLIENT_FILE_KERNEL_GLOBAL=${CACHE_DIR}/cache.kg
singularity exec debian_blender.img $ROOT/install/blender28_gcc/blender -b $ROOT/src/blender/client/data/bmw27_cpu.blend --python $ROOT/src/blender/client/data/over.py -y -x 1 -o $CACHE_DIR/#### -F PNG -f 1
singularity exec $ROOT/debian_blender.img $ROOT/install/blender28_gcc/blender -b $ROOT/src/blender/client/data/bmw27_cpu.blend --python $ROOT/src/blender/client/data/over.py -y -x 1 -o $CACHE_DIR/#### -F PNG -f 1
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