Salome-Meca
Пытаюсь заставить работать Salome-Meca на Archlinux, после некоторой возни с питоном упёрся в следующую ошибку при выполнении runSalomeMeca:
./runSalomeMeca: line 40: 14375 Segmentation fault python2 $ROOT_SALOME_MECA/postinstall/check_path.py
KERNEL_ROOT_DIR=/root/../opt/SALOME-MECA-2011.2-LGPL-x86_64/appli
./runSalomeMeca: line 45: 14378 Segmentation fault python2 ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py
./runSalomeMeca: line 46: 14379 Segmentation fault python2 ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py --modules=GEOM,SMESH,VISU,MED,YACS,DSCCODE,JOBMANAGER,ASTER,EFICAS,OPENTURNS,HOMARD,PARAVIS
При запуске из командной строки --- работает:
# python2 ./postinstall/check_path.py
Checking... LD_LIBRARY_PATH
Checking... PATH
Checking... PYTHONPATH
runSalomeMeca:
#!/bin/bash
export HOSTNAME
#To avoid relative paths and redondant ones
set_prefix() {
local here=`readlink -n -f $1`
ROOT_SALOME_MECA=`dirname $here`
}
set_prefix $0
export ROOT_SALOME_MECA
# Verification of postinstall configuration
VERIF=0
FLAGFILE=$ROOT_SALOME_MECA/postinstall/.flag
if [ -f "$FLAGFILE" ]; then
FLAG=`cat $ROOT_SALOME_MECA/postinstall/.flag`
if [ "$FLAG" == "$FLAGFILE" ]; then
VERIF=1
fi
fi
#VERIF=1
if [ $VERIF == 0 ]; then
echo "Please run :"
echo "cd $ROOT_SALOME_MECA/postinstall ; python2 postinstall.py"
echo "Then run :"
echo "$ROOT_SALOME_MECA/runSalomeMeca"
exit
fi
CFGFILE=~/.pal_salome2/AsterConfig2011.2
if [ -f "$CFGFILE" ]; then
rm $CFGFILE
fi
source $ROOT_SALOME_MECA/envSalomeMeca.sh
python2 $ROOT_SALOME_MECA/postinstall/check_path.py
env |grep KERNEL
#exit 0
python2 ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py
python2 ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py --modules=GEOM,SMESH,VISU,MED,YACS,DSCCODE,JOBMANAGER,ASTER,EFICAS,OPENTURNS,HOMARD,PARAVIS
Попробовал на Debian в виртуалке --- то же самое. Как быть?