problem with running USPEX

250 views
Skip to first unread message

Artur D

unread,
Jul 25, 2023, 7:32:13 AM7/25/23
to USPEX
dear Users and Developers,
I have installed USPEC v 10.5 and I try to perform example 33 (Quantum-Espresso based) but the following error I only see:

USPEX -r
/bin/bash: linia 1: synclient: command not found
*********************************************************
*                                                       *
  _|    _|     _|_|_|   _|_|_|     _|_|_|_|   _|      _|
  _|    _|   _|         _|    _|   _|           _|  _|  
  _|    _|     _|_|     _|_|_|     _|_|_|         _|    
  _|    _|         _|   _|         _|           _|  _|  
    _|_|     _|_|_|     _|         _|_|_|_|   _|      _|
*                                                       *
** USPEX v10.5.0                         Oganov's Lab! **
*********************************************************
Error using python_uspex (line 91)
System error: python3: symbol lookup error: python3: undefined symbol: XML_SetHashSalt
 
Command executed: python3 -W ignore /home/apd/Programs/USPEX/application/archive/src/FunctionFolder/getInput.py -f INPUT.txt -b calculationMethod -c 1

Error in USPEX (line 32)

MATLAB:python:ExecutionError


I will be very grateful if someone can help me resolve this problem.

Thank you in advance

Arthur

Tushya Iyer

unread,
Feb 26, 2024, 3:59:28 PM2/26/24
to USPEX
Hey Arthur,
I have the same issue.
I have found some people saying to set the LD_LIBRARY_PATH environment variable but I do not know to what.
If anyone can help us please :)

Cheers,
Tushya

cz null

unread,
May 16, 2025, 9:06:35 AMMay 16
to USPEX
i meet this problem too

i remember something:
matlab itself has some old runtime libs in its installation folder.
these runtimes will change a lot under linux.
when i compile mex files, gcc will use the latest version of runtimes.
but when matlab loads mex files, matlab has already loaded the old version of runtimes and mex files can not find the symbols they need.
i replace the runtimes in matlab installation folder and fix.

maybe we can do some similar things now.

cz null

unread,
May 17, 2025, 12:40:25 PMMay 17
to USPEX
okay everyone
my guess is right

i relink matlab libexpat.so to system libexpat.so

for example

rm /home/xrd/cznull/uspex1050/v91/bin/glnxa64/libexpat.so.1
ln -s /lib/x86_64-linux-gnu/libexpat.so.1 /home/xrd/cznull/uspex1050/v91/bin/glnxa64/libexpat.so.1

/home/xrd/cznull/uspex1050 is the installation folder of uspex
/home/xrd/cznull/uspex1050/v91/bin/glnxa64/libexpat.so.1 is the path of system libexpat.so, you can get it with 'ldd /usr/bin/python3'

cz null

unread,
May 18, 2025, 12:31:35 AMMay 18
to USPEX
actually this fix is useless

the uspex contains binary python libraries which only provide py36-py39 versions
therefore we must use these old version python, which do not require the XML_SetHashSalt function
Reply all
Reply to author
Forward
0 new messages