You are not logged in.
I'm trying to run Comsol 6.0 Multiphysics on my pc. It seems this software runs with Java. When I enter into
/usr/local/comsol60/multiphysics/bin/, and then run
sudo ./comsol multiphysicsI get from the console:
grep: warning: stray \ before =
grep: warning: stray \ before =
grep: warning: stray \ before =
ERROR: Failed to start COMSOL. For details, see the log file /root/.comsol/v60/logs/comsol5.log
ERROR: Additional information: Could not load SWT library. Reasons:
no swt-pi4-gtk-4944r26 in java.library.path: [/usr/lib/jvm/java-11-openjdk/lib/server, /usr/lib/jvm/java-11-openjdk/lib, /usr/local/comsol60/multiphysics/ext/graphicsmagick/glnxa64/, /usr/local/comsol60/multiphysics/ext/dcm/glnxa64, /usr/local/comsol60/multiphysics/ext/cadimport/glnxa64, /usr/local/comsol60/multiphysics/lib/glnxa64, /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
no swt-pi4-gtk in java.library.path: [/usr/lib/jvm/java-11-openjdk/lib/server, /usr/lib/jvm/java-11-openjdk/lib, /usr/local/comsol60/multiphysics/ext/graphicsmagick/glnxa64/, /usr/local/comsol60/multiphysics/ext/dcm/glnxa64, /usr/local/comsol60/multiphysics/ext/cadimport/glnxa64, /usr/local/comsol60/multiphysics/lib/glnxa64, /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
no swt-pi4 in java.library.path: [/usr/lib/jvm/java-11-openjdk/lib/server, /usr/lib/jvm/java-11-openjdk/lib, /usr/local/comsol60/multiphysics/ext/graphicsmagick/glnxa64/, /usr/local/comsol60/multiphysics/ext/dcm/glnxa64, /usr/local/comsol60/multiphysics/ext/cadimport/glnxa64, /usr/local/comsol60/multiphysics/lib/glnxa64, /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
Can't load library: /root/.swt/lib/linux/x86_64/libswt-pi4-gtk-4944r26.so
Can't load library: /root/.swt/lib/linux/x86_64/libswt-pi4-gtk.so
Can't load library: /root/.swt/lib/linux/x86_64/libswt-pi4.soI
sudo ls /root/.swt/lib/linux/x86_64in order to look which libraries were installed and found:
libswt-pi-gtk-4763.so libswt-pi3-gtk-4763.so libswt-pi3-gtk-4932r18.so libswt-pi3-gtk-4944r26.soAnd if it's useful, the complete log: https://0x0.st/HJJm.log
I think the problem is that I should somehow install libswt-pi4 (because as I see, I guess I have libswt-pi3) but I don't know in which package comes included. Besides, I tried the steps posted in https://bbs.archlinux.org/viewtopic.php?id=278891 but had no changes. Does someone have any suggestion?
Last edited by tac (2023-10-21 16:43:01)
Offline
Why on earth do you run that as root?
Offline
I met the same problem, run by root or other user
Offline
I have the same problem, please help me solve it
Offline