Installation on RHEL 8 and Fedora 30

Installation on RHEL 8.

This covers installation on RHEL 8, Fedora 30 Server and Workstation.

1. Install required packages

# Create your Downloads folder (if not found)
cd ~
mkdir Downloads

# change directory to Downloads folder
cd ~/Downloads

# install wget if not installed
sudo dnf -y install wget   

# download required packages from CentOS repository
wget http://mirror.centos.org/centos/7.6.1810/os/x86_64/Packages/tcl-8.5.13-8.el7.x86_64.rpm
wget http://mirror.centos.org/centos/7.6.1810/os/x86_64/Packages/tcl-devel-8.5.13-8.el7.x86_64.rpm
wget http://mirror.centos.org/centos/7.6.1810/os/x86_64/Packages/tk-8.5.13-6.el7.x86_64.rpm
wget http://mirror.centos.org/centos/7.6.1810/os/x86_64/Packages/tk-devel-8.5.13-6.el7.x86_64.rpm

# install the packages 
sudo dnf -y install tcl-8.5.13-8.el7.x86_64.rpm
sudo dnf -y install tcl-devel-8.5.13-8.el7.x86_64.rpm
sudo dnf -y install tk-8.5.13-6.el7.x86_64.rpm
sudo dnf -y install tk-devel-8.5.13-6.el7.x86_64.rpm

Note: If a newer version of the above libraries are installed - these will have to be downgraded to the required version.

2. Install X11 forwarding with gnome-terminal

Note: gnome-terminal is required for Python Automation API compatibility

# install gnome-session / terminal
sudo dnf -y install  xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-apps
sudo dnf -y install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts


# enable X11 forwarding
sudo vi /etc/ssh/sshd_config

# change X11Forwarding to 'yes' if this is set to 'no'

image

# Save and Exit vi editor

# Restart SSH service
sudo systemctl restart sshd

3. Connect using Putty or MobaXterm from Windows

4. Download and install Lumerical Suite


Fedora 30 Workstation (Gnome Desktop)

Fedora 30 Server (XWindows)

1 Like

Hi Lito,

It’s very appreciated that you posted the method for CentOS 8 installation.

While the URLs are invalid due to CentOS keep updating the new versions:
wget http://mirror.centos.org/centos/7.6.1810/os/x86_64/Packages/tcl-8.5.13-8.el7.x86_64.rpm
wget http://mirror.centos.org/centos/7.6.1810/os/x86_64/Packages/tcl-devel-8.5.13-8.el7.x86_64.rpm
wget http://mirror.centos.org/centos/7.6.1810/os/x86_64/Packages/tk-8.5.13-6.el7.x86_64.rpm
wget http://mirror.centos.org/centos/7.6.1810/os/x86_64/Packages/tk-devel-8.5.13-6.el7.x86_64.rpm

Personally, it should be better to use the major version # (it links to the latest version):

wget http://mirror.centos.org/centos/7/os/x86_64/Packages/tcl-8.5.13-8.el7.x86_64.rpm
wget http://mirror.centos.org/centos/7/os/x86_64/Packages/tcl-devel-8.5.13-8.el7.x86_64.rpm
wget http://mirror.centos.org/centos/7/os/x86_64/Packages/tk-8.5.13-6.el7.x86_64.rpm
wget http://mirror.centos.org/centos/7/os/x86_64/Packages/tk-devel-8.5.13-6.el7.x86_64.rpm

Regards,
Caleb

1 Like

With 2019b r6 On CentOS/RHEL 8, openssl-devel.x86_64(1:1.1.1-8.el8 ) causes QSslSocket errors and Segmentation fault as below, remove this package would solve such problem.

 $  /opt/lumerical/2019b/bin/launcher 
QLayout: Attempting to add QLayout "" to lum::GalleryAbstractWidget "exampleAbstractLayer", which already has a layout
QLayout: Attempting to add QLayout "" to lum::GalleryAbstractWidget "foundryAbstractLayer", which already has a layout
QSslSocket: cannot resolve CRYPTO_num_locks
QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback
QSslSocket: cannot resolve sk_free
QSslSocket: cannot resolve sk_num
QSslSocket: cannot resolve sk_pop_free
QSslSocket: cannot resolve sk_value
QSslSocket: cannot resolve SSL_library_init
QSslSocket: cannot resolve SSL_load_error_strings
QSslSocket: cannot resolve SSLv2_client_method
QSslSocket: cannot resolve SSLv23_client_method
QSslSocket: cannot resolve SSLv2_server_method
QSslSocket: cannot resolve SSLv23_server_method
QSslSocket: cannot resolve X509_STORE_CTX_get_chain
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
QSslSocket: cannot resolve SSLeay
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function sk_num
Segmentation fault (core dumped)
$/opt/lumerical/2019b/bin/fdtd-solutions
Segmentation fault (core dumped)

@caleb.chiu

Does the error prevent you from opening the products? i.e. FDTD, MODE or INTERCONNECT?

Based on our tests the error message only occurs when opening the Launcher.
We are investigating this issue an will try to resolve this with the support for RHEL8.

For the moment, we only have this work around to install on RHEL 8, which is not a supported system.

Best,
Lito

@lyap
Hi Lito,

Run FDTD directly would cause Segmentation fault

$ /opt/lumerical/2019b/bin/fdtd-solutions
Segmentation fault (core dumped)

The kernel messages:

[  775.024878] fdtd-solutions[8766]: segfault at 5441de1 ip 00007fc5c3d6c731 sp 00007ffc8a2eeeb0 error 4 in libQtNetwork.so.4[7fc5c3c7b000+146000]
[  775.024885] Code: 48 83 ec 08 31 c0 e8 4e 2f f4 ff 31 c0 48 83 c4 08 c3 0f 1f 80 00 00 00 00 41 57 41 56 41 55 41 54 55 53 48 89 fb 48 83 ec 78 <8b> 46 04 48 63 16 4c 8b 46 08 83 f8 17 0f 84 34 01 00 00 83 f8 18

We really understood the CentOS/RHEL 8 is not on the supported list and encourages customers to use CentOS/RHEL 7.x, while we has a client still wants to use CentOS/RHEL 8.

Thanks a lot.

Caleb

@caleb.chiu,

We will try to reproduce the error and provide a fix.

Can you provide more details on the OS versions? ie. RHEL or CentOS, GNOME or KDE desktop?
And is this using Lumerical 2019b R6?

Please try to run glxgears?
Or use the -noaccel option when running the product/solver?

Best,
Lito

@lyap

glxgears runs well, and this issue can be fixed by removing the openssl-devel package, so it should do nothing with the graphics.
We are using Lumerical 2019b R6 on CentOS 8.0.1905 with GNOME Desktop.

[user@localhost ~]$ echo $DESKTOP_SESSION
gnome
[user@localhost ~]$ lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 8.0.1905 (Core) 
Release:	8.0.1905
Codename:	Core
[user@localhost ~]$ uname -a
Linux localhost.localdomain 4.18.0-80.7.1.el8_0.x86_64 #1 SMP Sat Aug 3 15:14:00 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[user@localhost ~]$

Thanks.

Caleb

@caleb.chiu,

Sorry I thought we are still looking to fix the issue. You already have the solution for this.

I will relay this information on the fix for the issue to our devs team.

Best,
Lito

@lyap

Thanks Lito, let’s see if the CentOS/RHEL 8 will be on the supported list in the near future.:blush:

Regards,
Caleb

@caleb.chiu,

You are welcome. Please checkout the Announcement section for the release notes updates.

Best,
Lito