Install Oasys in Linux - oasys-kit/oasys-installation-scripts GitHub Wiki

1) Download the installation scripts

Download the installation scripts into a new directory (proposed one is /home/<user>/oasys-scripts):

cd ~
git clone https://github.com/oasys-kit/oasys-installation-scripts oasys-scripts

2) Launch the installation script:

cd ~/oasys-scripts/Linux
./install_oasys1.3.sh

If the procedure is correctly executed, Oasys should appear. Click the button "Add-Ons" in the initial form and install the required Add-ons.

If the installation of the ShadowOui add-on fails, it could be necessary to install gfortran:

Debian:

sudo apt install gfortran

Red Hat:

sudo yum install gcc-gfortran

3) Start Oasys:

To make Oasys easier to launch, and available as an application, the procedure asked you to create a Desktop application.

In Ubuntu, Oasys will appear in the list of applications as follow:

In CentOS, Oasys will appear in the "Other" Applications as follow:

If you didn't create it, you can run the command:

~/oasys-scripts/Linux/aux_bin/start_oasys.sh

or

~/miniconda3/bin/python -m oasys.canvas

3) Known Issues

After launching OASYS, some users received this error message:

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted

To fix it, you need to run the following command:

Debian:

sudo apt-get install libxcb-xinerama0 (Ubuntu)

Red Hat:

sudo yum install xcb-util-image.x86_64 xcb-util-keysyms.x86_64 xcb-util-renderutil.x86_64 xcb-util-wm.x86_64

(courtesy of Dr. Sergio Lordano, LNLS)


After starting OASYS you can have this message on the command line:

    from PyQt5.QtNetwork import (
ImportError: /lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b

This error is caused by a conflict between the system and PyQt5. To fix it, rename the library inside miniconda:

mv ~/miniconda3/lib/libcrypto.so.1.1 ~/miniconda3/lib/__libcrypto.so.1.1

Then restart OASYS.

⚠️ **GitHub.com Fallback** ⚠️