-
Notifications
You must be signed in to change notification settings - Fork 4
COMSOL
Rob Nagler edited this page Aug 26, 2019
·
14 revisions
We are running COMSOL 53a on our comsol server.
Download the COMSOL tarball and License.dat
file into /root
. Install:
umask 022
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 /usr/local/src/COMSOL53a_dvd.iso /mnt
# NOTE: user to run license manager: comsole:comsol
umask 022; bash /mnt/setup
umount /mnt
install -d -o comsol -g comsol /srv/lmcomsol /srv/comsol
Create:
both services run as comsol:
Mar 11 17:51:37 fnl10b.bivio.biz comsol[33874]: java.nio.file.AccessDeniedException: /srv/lmcomsol/.comsol/v53aserver/tomcat
/etc/systemd/system/comsol.service
/etc/systemd/system/lmcomsol.service
### systemd stuff
### Install in /usr/local/comsol53a [default]
### license user to lmcomsol
To setup a user:
su - someuser
mkdir .vnc
vncpasswd
cat > .vnc/config <<'EOF'
localhost
rfbport=XYZ
geometry=1600x900
nolisten=tcp
EOF
chmod 600 .vnc/config
vncserver
ln -s /usr/local/comsol52a/multiphysics/bin/glnxa64/comsol .local/share/applications/comsol
# Drag Applications > Education > comsol to Desktop
If you see this, verify X11 is working (xset -q
). Sometimes the tunnel doesn't work and you have to relogin:
# umask 022; bash /mnt/setup
Extracting temporary COMSOL installer components in /tmp...
(Setuplauncher:32917): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(Setuplauncher:32917): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(Setuplauncher:32917): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(Setuplauncher:32917): GLib-GObject-CRITICAL **: g_object_get: assertion 'G_IS_OBJECT (object)' failed
(Setuplauncher:32917): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(Setuplauncher:32917): GLib-GObject-CRITICAL **: g_object_get: assertion 'G_IS_OBJECT (object)' failed
(Setuplauncher:32917): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window