Author Topic: Unstable TMolex Client  (Read 893 times)

prasanta13

  • Full Member
  • ***
  • Posts: 34
  • Karma: +0/-0
Unstable TMolex Client
« on: August 17, 2021, 12:46:04 PM »
The Tmolex v4.5.3 for linux (in Mint) becomes very unstable. I open it, sometime it hangs up right there, or even it opens, when I try to open a project or make a new project, it closes automatically.

Any help?
Also, Could you tell me how to set up the job for  $response under the CC2 module in TMolex? Even it can be done or not.

Thanks in advance.

prasanta13

  • Full Member
  • ***
  • Posts: 34
  • Karma: +0/-0
Re: Unstable TMolex Client
« Reply #1 on: February 07, 2022, 11:00:55 AM »
Again, using Tmolex 4.5.3, when I try to visualize molecule, It shows Java exception error. I have sent the error message to turbomole@cosmologic.de but no updates nor reply was received. Are there any other ways to make the software stable?

uwe

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 515
  • Karma: +0/-0
Re: Unstable TMolex Client
« Reply #2 on: February 08, 2022, 06:01:02 PM »
Hi,

try to set

export LIBGL_ALWAYS_SOFTWARE=1
export MESA_GL_VERSION_OVERRIDE=2.1

in your shell and then start TmoleX from there. The 3D viewer/builder uses OpenGL and in cases the graphics card drivers do not report to be able to provide certain OpenGL versions, the settings above should solve that problem.


prasanta13

  • Full Member
  • ***
  • Posts: 34
  • Karma: +0/-0
Re: Unstable TMolex Client
« Reply #3 on: March 23, 2022, 05:19:24 AM »
I could not start the program from terminal, this is why I took help from linux forums. It suggested I open the TmoleX19.desktop file by gio-open, gtk-launch, xdg-open, gvfs open etc which also failed.
In my /home/mslab/COSMOlogic/TmoleX19 this .desktop file remains. However, inside that directory, there also remains a directory Tmolex inside which a TmoleX19 file (POSIZ shell script) remains which can be opened by sh command.

Upon suggestion from ubuntu forums, I changed the file content of .desktop as,
Code: [Select]
Exec="/home/mslab/COSMOlogic/TmoleX19/TmoleX/TmoleX19"to
Code: [Select]
Exec=env LIBGL_ALWAYS_SOFTWARE=1 MESA_GL_VERSION_OVERRIDE=2.1 "/home/mslab/COSMOlogic/TmoleX19/TmoleX/TmoleX19"
However, same error occurred. Any hint or where I have made a mistake from your expert eyes?

uwe

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 515
  • Karma: +0/-0
Re: Unstable TMolex Client
« Reply #4 on: March 23, 2022, 10:28:46 AM »
Hello,

do you use the Linux desktop directly or is it a remote machine and the desktop is displayed on your local system using X11 or VNC or any other remote desktop software?

prasanta13

  • Full Member
  • ***
  • Posts: 34
  • Karma: +0/-0
Re: Unstable TMolex Client
« Reply #5 on: March 24, 2022, 02:17:40 PM »
I use Tmolex in linux desktop (Mint) and export the jobs to remote workstations.

prasanta13

  • Full Member
  • ***
  • Posts: 34
  • Karma: +0/-0
Re: Unstable TMolex Client
« Reply #6 on: June 30, 2022, 08:17:03 AM »
Facing problems while creating templates for calculation. Tmolex suddenly crashes.
I tried a fresh install, on ubuntu 22.04 jammy.
Also tried opening from the terminal. Which shows this,
Quote
pro@prasanta:~/COSMOlogic/TmoleX19/TmoleX$ ./TmoleX19
Gtk-Message: 11:41:01.315: Failed to load module "canberra-gtk-module"
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f296c6421d8, pid=11732, tid=0x00007f29521ff640
#
# JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libawt_xawt.so+0x421d8]  ReadRegionsInList+0x3b8
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/pro/COSMOlogic/TmoleX19/TmoleX/hs_err_pid11732.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

Changed the Tmolex file like this,
Code: [Select]
#!/bin/sh

# Uncomment the following line to override the JVM search sequence
# INSTALL4J_JAVA_HOME_OVERRIDE=
# Uncomment the following line to add additional VM parameters
# INSTALL4J_ADD_VM_PARAMS=

export MESA_GL_VERSION_OVERRIDE=2.1
export LIBGL_ALWAYS_SOFTWARE=1

INSTALL4J_JAVA_PREFIX=""
GREP_OPTIONS=""

fill_version_numbers() {
  if [ "$ver_major" = "" ]; then
    ver_major=0
  fi
  if [ "$ver_minor" = "" ]; then
    ver_minor=0
  fi
  if [ "$ver_micro" = "" ]; then
    ver_micro=0
  fi
  if [ "$ver_patch" = "" ]; then
    ver_patch=0
  fi
}
No improvement.

uwe

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 515
  • Karma: +0/-0
Re: Unstable TMolex Client
« Reply #7 on: June 30, 2022, 09:12:55 PM »
Hi, could you also please post or attach:
/home/pro/COSMOlogic/TmoleX19/TmoleX/hs_err_pid11732.log

prasanta13

  • Full Member
  • ***
  • Posts: 34
  • Karma: +0/-0
Re: Unstable TMolex Client
« Reply #8 on: July 02, 2022, 11:52:12 AM »
Hi, I am sharing all the files, if they are needed.