run_CodeFlow.sh 470 Bytes
Newer Older
sakundu committed
1
#!/bin/bash -i
2 3 4 5 6 7 8 9 10 11 12 13
if [[ -z $PHY_SYNTH ]];
then
    echo "Not Running Clustering"
    exit
fi

if [ $PHY_SYNTH -eq 0 ]; then
    echo "Not Running Clustering"
    exit
fi

echo "Running Clustering"
14 15
source /home/tool/anaconda3/etc/profile.d/conda.sh
conda activate py-tf
sakundu committed
16 17
export PROJ_DIR=`pwd | grep -o '\S*/MacroPlacement'`
export PYTHONPATH=$PYTHONPATH:${PROJ_DIR}/Flows/util/
18
python ${PROJ_DIR}/Flows/util/flow.py $PWD output_CodeElement 2>&1 | tee log/codelement.log
sakundu committed
19
exit