Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Power System Simulation and Optimization
DPsim
DPsim
Commits
b802ab05
Commit
b802ab05
authored
Nov 18, 2020
by
Jan Dinkelbach
Committed by
Markus Mirz
Nov 21, 2020
Browse files
add further shell scripts
parent
53fcbc1d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Packaging/Shell/install-fedora-deps-dev.sh
0 → 100644
View file @
b802ab05
VILLAS_VERSION
=
0.8.0
CIM_VERSION
=
IEC61970_16v29a
dnf
-y
update
# Toolchain
dnf
-y
install
\
gcc gcc-c++ clang
\
git
\
rpmdevtools rpm-build
\
make cmake pkgconfig
\
python3-pip
# Tools needed for developement
dnf
-y
install
\
doxygen graphviz
\
gdb
# Dependencies
dnf
--refresh
-y
install
\
python3-devel
\
eigen3-devel
\
libxml2-devel
\
graphviz-devel
\
gsl-devel
\
spdlog-devel
\
fmt-devel
# Sundials
cd
/tmp
&&
\
git clone
--recursive
https://github.com/LLNL/sundials.git
&&
\
mkdir
-p
sundials/build
&&
cd
sundials/build
&&
\
git checkout v3.2.1
&&
\
cmake
-DCMAKE_BUILD_TYPE
=
Release ..
&&
\
make
-j
$(
nproc
)
install
# Install some debuginfos
dnf
-y
debuginfo-install
\
python3
# CIMpp and VILLAS are installed here
LD_LIBRARY_PATH
=
"/usr/local/lib64:
${
LD_LIBRARY_PATH
}
"
# minimal VILLAS dependencies
dnf
-y
install
\
openssl-devel
\
libuuid-devel
\
libcurl-devel
\
jansson-devel
\
libwebsockets-devel
# optional VILLAS dependencies
dnf
-y
install
\
mosquitto-devel
\
libconfig-devel
\
libnl3-devel
pip3
install
-r
requirements.txt
cd
/tmp
&&
\
git clone
--recursive
https://github.com/CIM-IEC/libcimpp.git
&&
\
mkdir
-p
libcimpp/build
&&
cd
libcimpp/build
&&
\
cmake
-DCMAKE_INSTALL_LIBDIR
=
/usr/local/lib64
-DUSE_CIM_VERSION
=
${
CIM_VERSION
}
-DBUILD_SHARED_LIBS
=
ON
-DBUILD_ARABICA_EXAMPLES
=
OFF ..
&&
make
-j
$(
nproc
)
install
&&
\
rm
-rf
/tmp/libcimpp
cd
/tmp
&&
\
git
-c
submodule.fpga.update
=
none clone
--recursive
https://git.rwth-aachen.de/acs/public/villas/node.git villasnode
&&
\
mkdir
-p
villasnode/build
&&
cd
villasnode/build
&&
\
cmake
-DCMAKE_INSTALL_LIBDIR
=
/usr/local/lib64 ..
&&
make
-j
$(
nproc
)
install
&&
\
rm
-rf
/tmp/villasnode
# Activate Jupyter extensions
pip3
install
-r
requirements-jupyter.txt
dnf
-y
--refresh
install
npm
jupyter nbextension
enable
--py
widgetsnbextension
jupyter labextension
install
@jupyter-widgets/jupyterlab-manager
Packaging/Shell/install-fedora-deps-mpl-widget.sh
0 → 100644
View file @
b802ab05
# Jupyter Extension Matplotlib Widget
pip3
install
--user
nodejs
pip3
install
--user
ipympl
pip3
install
--user
--upgrade
jupyterlab
jupyter labextension
install
@jupyter-widgets/jupyterlab-manager
jupyter labextension
install
jupyter-matplotlib
jupyter nbextension
install
--py
--symlink
--user
ipympl
jupyter nbextension
enable
--py
--user
ipympl
Packaging/install-fedora-deps.sh
→
Packaging/
Shell/
install-fedora-deps.sh
View file @
b802ab05
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment