- Ubuntu Linux 32 Bit (64 Bit not tested)
- Dymola 2017 (DYMOLA_2017_AllLinux.zip)
- Python 3.4.3
- Java 8
sudo apt-get install open-vm-tools
sudo apt-get install open-vm-tools-desktop
sudo apt-get install git vim htop
sudo apt-get install alien
//32 Bit Complications
sudo apt-get install g++-multilib libc6-dev-i386
sudo apt-get update
sudo apt-get install python3-pip python3-dev python-virtualenv
//scipy dependency
sudo apt-get install libatlas-base-dev gfortran libffi-dev
//matpotlib dependency
sudo apt-get install libfreetype6-dev
//pyfmi dependency
sudo apt-get install cmake
- Source:
sudo pip3 install --upgrade numpy
sudo pip3 install --upgrade scipy
sudo pip3 install --upgrade nose
sudo pip3 install --upgrade pandas
sudo pip3 install --upgrade matplotlib
sudo pip3 install --upgrade sympy
sudo pip3 install --upgrade jupyter
sudo pip3 install --upgrade pytest
sudo pip3 install --upgrade Cython
mkdir pyfmi
cd ~/pyfmi
sudo wget http://www.jmodelica.org/downloads/FMIL/FMILibrary-2.0.2b3-src.zip
sudo unzip FMILibrary-2.0.2b3-src.zip
cd FMILibrary-2.0.2b3/
sudo mkdir build-fmilib && cd build-fmilib
sudo cmake -DFMILIB_INSTALL_PREFIX=../install ../
sudo make install test
If the FMILibrary zip file is unavailable, it is hosted at the following SVN repo
cd ~/pyfmi
sudo wget http://computation.llnl.gov/projects/sundials-suite-nonlinear-differential-algebraic-equation-solvers/download/sundials-2.4.0.tar.gz
tar xzf sundials-2.4.0.tar.gz
cd sundials-2.4.0
sudo ./configure CFLAGS="-fPIC"
make
sudo make install
cd ~/pyfmi
sudo wget https://pypi.python.org/packages/4c/c0/19a54949817204313efff9f83f1e4a247edebed0a1cc5a317a95d3f374ae/Assimulo-2.9.zip#md5=3f28fd98011d2ec7a01703a1ef1dff45
sudo unzip Assimulo-2.9.zip
cd Assimulo-2.9
sudo python3 setup.py install --sundials-home=~/pyfmi/sundials-2.4.0 --blas-home=/usr/lib/libblas --lapack-home=/usr/lib/libblas
cd ~/pyfmi
sudo wget https://pypi.python.org/packages/66/60/26664b2b2cad4a7fae409214e2f8901177322d78bfb11ef61e580115c9b8/PyFMI-2.3.1.zip#md5=577829ee1ee83fbb8c28ddf4b82aa4ee
sudo unzip PyFMI-2.3.1.zip
cd PyFMI-2.3.1
sudo python3 setup.py install --fmil-home=/home/yourusername/pyfmi/FMILibrary-2.0.2b3/install/
git clone https://github.com/openai/gym.git
cd gym
pip install -e .
sudo apt-get install libav-tools
git clone https://github.com/openai/gym
sudo pip3 install -e .
sudo pip3 install pyglet
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
cd /opt
sudo unzip DYMOLA_2017_AllLinux.zip -d DYMOLA_2017
cd DYMOLA_2017/linux_x86_64/
sudo alien -i -k dymola-2017.1-1.x86_64.rpm
export MODELICAPATH=${MODELICAPATH}:/usr/local/Modelica/Library/
export DYMOLA=/opt/dymola
export LD_LIBRARY_PATH=$DYMOLA/bin/lib:$LD_LIBRARY_PATH
/opt/dymola-2017-x86_64/bin/dymola.sh
--
-
Download source PyCharm
sudo cp pycharm-community-2016.1.2.tar.gz /opt/ sudo tar -xzvf /opt/pycharm-community-2016.1.2.tar.gz -C /opt sudo rm /opt/pycharm-community-2016.1.2.tar.gz ./pycharm-community-2016.1.2/bin/pycharm.sh
-
Run PyCharm:
/opt/pycharm-community-2016.2/bin/pycharm.sh