Print this article Edit this article
accelergy timeloop compile
This is some notes on compiling Accelergy/Timeloop on our Centos 7 hosts.
The default version of gcc loaded via module load gcc is 8.3.0 at the time this article was written.
The default version of libconfig loaded via module load libconfig is 1.7.2 at the time this article was written.
export LD_LIBRARY_PATH=/usr/lib64/boost169:/usr/lib64:/usr/lib:$LD_LIBRARY_PATH
export C_INCLUDE_PATH=/usr/include/boost169:/usr/include:$C_INCLUDE_PATH
export CPATH=/usr/include/boost169:/usr/include:$CPATH
cd /path/to/where/you/want/to/compile/install/it
rm -rf accelergy-timeloop-infrastructure
module load libconfig
module load gcc
rm -rf ~/.local/share/accelergy
git clone --recurse-submodules https://github.com/Accelergy-Project/accelergy-timeloop-infrastructure.git
cd accelergy-timeloop-infrastructure
cd src/cacti
make
cd ../accelergy
pip3 install --user .
cd ../accelergy-aladdin-plug-in/
pip3 install --user .
cd ../accelergy-cacti-plug-in/
pip3 install --user .
cp -r ../cacti ~/.local/share/accelergy/estimation_plug_ins/accelergy-cacti-plug-in/
cd ../accelergy-table-based-plug-ins/
pip3 install --user .
cd ../timeloop
cd src/
ln -s ../pat-public/src/pat .
cd ..
scons-3 -j4 --accelergy --static
Last Modified:
Dec 11, 2020 12:50 pm US/Eastern
Created:
Dec 2, 2020 8:46 am US/Eastern
by
admin
JumpURL: