Skip to content
Rob Nagler edited this page Aug 26, 2019 · 14 revisions

How to use and install COMSOL

We are running COMSOL 54 on our comsol server.

COMSOL install

Download the COMSOL tarball and License.dat file into /root. Install:

ssh -Y <server>
umask 022
# rsconf doesn't handle this properly yet
chmod 755 /usr/local
groupadd -g 525 comsol
useradd -s /sbin/nologin -M -d /srv/lmcomsol -g 525 -u 525 comsol
yum install -y webkitgtk redhat-lsb-core xorg-x11-xauth libXtst tigervnc-server gnome-classic-session gnome-terminal
mount /root/COMSOL54_dvd.iso /mnt
# NOTE: user to run license manager: comsole:comsol
cd /root
umask 022; bash /mnt/setup
umount /mnt
rm /root/COMSOL54_dvd.iso
install -d -o comsol -g comsol /srv/lmcomsol /srv/comsol /srv/comsol/tmp
# remove existing lmcomsol service
systemctl stop lmcomsol
systemctl disable lmcomsol
From hand/ directory:
install -m 644 -o root -g root comsol.service /etc/systemd/system/comsol.service
install -m 644 -o root -g root lmcomsol.service /etc/systemd/system/lmcomsol.service
install -m 500 -o comsol -g comsol start /srv/comsol/start
systemctl daemon-reload
systemctl start lmcomsol
systemctl status lmcomsol
systemctl enable lmcomsol
systemctl start comsol
systemctl status comsol
systemctl enable comsol
Clone this wiki locally