Update home authored by Allen, Bruce (CIV)'s avatar Allen, Bruce (CIV)
...@@ -41,22 +41,21 @@ Install Gryphon and the Trace Generator by running the installer. Download the ...@@ -41,22 +41,21 @@ Install Gryphon and the Trace Generator by running the installer. Download the
### Special provisions ### Special provisions
#### Centos 7 #### Centos 7
Configure a Python 3 environment in a shell by typing the following: If you happen to be running Centos 7 in a virtual environment and the network does not connect, add this to `/etc/sysconfig/network-scrpts/ifcfg-enp0s3` and then reboot:
DNS1=8.8.8.8
DNS2=8.8.4.4
ONBOOT=yes
1. Download and run the MP installer for Centos 7 as described above. The installer for Centos 7 additionally installs and sets up a Python environment for running Gryphon.
1. Enable the Gryphon Python environment by typing the following in a shell before starting Gryphon:
```bash ```bash
scl enable rh-python36 bash # sets up the environment for Python 3.6 source /opt/rh/rh-python36/enable
mkdir ~/python_project # folder for virtual environment for this Python configuration
python -m venv python_project_venv # Enters a virtual environment for this Python configuration
source ~/python_project/python_project_venv/bin/activate
pip install --upgrade pip
pip install pyqt5
```
Now that the Python3 environment is configured, open this environment in a shell before starting Gryphon:
```bash
scl enable rh-python36 bash
source ~/python_project/python_project_venv/bin/activate source ~/python_project/python_project_venv/bin/activate
``` ```
Then run Gryphon: 1. Then run Gryphon:
``` ```
cd ~/mp_gryphon/gryphon/python cd ~/mp_gryphon/gryphon/python
./mp.py ./mp.py
... ...
......