Category: Work related


Matlab: libGL error: dlopen /usr/lib64/dri/swrast_dri.so failed

By: | Comments: No Comments

Posted in categories: Computer Tips, Work related

Starting Matlab R2015a or newer in CentOS7 or recent version of Fedora, the error libGL error: dlopen /usr/lib64/dri/swrast_dri.so failed will rise through does not affect the normal working of Matlab. This problem is caused by the libstdc++.so.6 coming with Matlab. Matlab carries statically linked libstdc++.so.6.0.17 in /matlab_folder/sys/os/glnxa64. When the system version of libstdc++.so.6 is lower […]

Installing CentOS 7

By: | Comments: No Comments

Posted in categories: Computer Tips, Work related

Estimated partition size/usage (off 223.5GB HD) / 63GB 18GB 28% swap 16GB /usr/local 127.75GB 33GB 26% /boot 765MB 201MB 21% /data/home0 16GB 34MB 1% Step 1: setup nfs to export CentOS7 full package and ks.cfg file, start the NFS server, do not forget to lift the firewall so that it will be seen by the […]

YABB and selinux

By: | Comments: No Comments

Posted in categories: Computer Tips, Work related

Remember to add read privilege to httpd_sys_script_t as of allow httpd_sys_script_t httpd_sys_script_exec_t:file { append create unlink write read }; allow httpd_sys_script_t httpd_sys_script_exec_t:dir { add_name write remove_name read };

install python nipype

By: | Comments: 3 Comments

Posted in categories: Computer Tips, Work related

make sure /usr/bin/as and /usr/bin/strip are the latest version. cd where_python_downloads_are. yum install python27-python-devel-2.7.5-7.el6.centos.alt.x86_64.rpm python27-python-libs-2.7.5-7.el6.centos.alt.x86_64.rpm python27-python-2.7.5-7.el6.centos.alt.x86_64.rpm python27-runtime-1-10.el6.centos.alt.x86_64.rpm python27-python-setuptools-0.6.28-7.el6.centos.alt.noarch.rpm export PATH=/usr/lib64/qt5/bin:/opt/rh/python27/root/usr/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin export LD_LIBRARY_PATH=/opt/rh/python27/root/usr/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} export MANPATH=/opt/rh/python27/root/usr/share/man:${MANPATH} yum install blas-devel lapack-devel easy_install-2.7 numpy easy_install-2.7 nibabel easy_install-2.7 networkx easy_install-2.7 mercurial easy_install-2.7 scipy easy_install-2.7 traits easy_install-2.7 nipype easy_install-2.7 pip pip install python-dateutil pip install configobj pip install nose cd [sip] […]