Commit e67f397f authored by Milan Jaros's avatar Milan Jaros

add scripts post+pre

parent 927bf949
#!/bin/bash
ml Singularity
ROOT=$HOME/project-cyclesphi
CACHE_DIR=$ROOT/data
mkdir -p $CACHE_DIR
export SINGULARITY_BINDPATH="/apps,/scratch,/home,/tmp"
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
#!/bin/bash
ml Singularity
ROOT=$HOME/project-cyclesphi
CACHE_DIR=$ROOT/data
mkdir -p $CACHE_DIR
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
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