Friday, December 16, 2011
Saturday, October 1, 2011
wien2k installation
tar -xvf WIEN2k_11.tar (skip this if you downloaded files separately)
gunzip *.gz
chmod +x ./expand_lapw
./expand_lapw
This will expand all files and copies various shell-scripts. In $WIENROOT/SRC you find the postscript version of the usersguide (160 pages). Proceed with reading chapter "Installation". You can then configure and compile WIEN using:
./siteconfig_lapw
After successfull installation, every user should run:
./userconfig_lapw
gunzip *.gz
chmod +x ./expand_lapw
./expand_lapw
This will expand all files and copies various shell-scripts. In $WIENROOT/SRC you find the postscript version of the usersguide (160 pages). Proceed with reading chapter "Installation". You can then configure and compile WIEN using:
./siteconfig_lapw
After successfull installation, every user should run:
./userconfig_lapw
Sunday, September 18, 2011
catalyst study by using DFT calculations
The first-principles calculations can be used to study the catalyst. The quantities needed are the total energy and vibrational frequencies of the reaction species on the catalyst surfaces.
Monday, May 23, 2011
HSE calculation using VASP
Self-consistent calculation
ISTART = 1
ICHARG = 1
#PREC = High
LREAL = .FALSE. #Auto
#ISIF=3
EDIFF = 1E-04 stopping-criterion for ELM
IBRION = 1
EDIFFG = -0.01 #eV/A
NSW = 1024
#IALGO = 38
#LWAVE=.FALSE.
ISMEAR = 0 #-5
SIGMA = 0.01 #0.05
LHFCALC = .TRUE.
HFSCREEN = 0.20
ALGO = N
TIME = 0.4
ISTART = 1
ICHARG = 1
#PREC = High
LREAL = .FALSE. #Auto
#ISIF=3
EDIFF = 1E-04 stopping-criterion for ELM
IBRION = 1
EDIFFG = -0.01 #eV/A
NSW = 1024
#IALGO = 38
#LWAVE=.FALSE.
ISMEAR = 0 #-5
SIGMA = 0.01 #0.05
LHFCALC = .TRUE.
HFSCREEN = 0.20
ALGO = N
TIME = 0.4
Saturday, May 21, 2011
flashplayer for 64 bit linux, firefox
On page http://labs.adobe.com/downloads/flashplayer10_square.html
download http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz and unzip it.
cp libflashplayer.so /usr/lib/mozilla/plugins/.
restart firefox
download http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz and unzip it.
cp libflashplayer.so /usr/lib/mozilla/plugins/.
restart firefox
Friday, May 20, 2011
sftp, sshfs fail while ssh works well
sftp and sshfs may fail when trying to connect the remote server if there are shell initialization (.profile, .bashrc, .cshrc, etc) which produces output for non-interactive sessions. This can be verified by entering
ssh host /usr/bin/true
On my machine, I got the following output:LD_LIBRARY_PATH: Undefined variable.
/usr/bin/true: Command not found.
After commenting out the defination of LD_LIBRARY_PATH in the ~/.cshrc on host, everything is working well.
slow password prompt when doing ssh
change in /etc/nsswitch.conf
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
to
hosts: files dns
client operating system: ubuntu 10.04
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
to
hosts: files dns
client operating system: ubuntu 10.04
Thursday, March 10, 2011
pymol 安装
编译的时候遇到找不到ce_types.h的错误:
cp modules\cealign\src\ce_types.h to layer4\ce_types.h
./configure
make
python setup.py install
python setup2.py install
sudo cp pymol /usr/bin/.
cp modules\cealign\src\ce_types.h to layer4\ce_types.h
./configure
make
python setup.py install
python setup2.py install
sudo cp pymol /usr/bin/.
Sunday, March 6, 2011
Monday, January 3, 2011
dynamical compilation of lapack
add -fPIC to compile option
cp INSTALL/slamch.o and INSTALL/dlamch.o into SRC directory
In the folder of SRC, type
cc -shared -Wl,-soname,liblapack.so -o liblapack.so *.o
In the folder of BLAS/SRC, type
cc -shared -Wl,-soname,libblas.so -o libblas.so *.o
cp INSTALL/slamch.o and INSTALL/dlamch.o into SRC directory
In the folder of SRC, type
cc -shared -Wl,-soname,liblapack.so -o liblapack.so *.o
In the folder of BLAS/SRC, type
cc -shared -Wl,-soname,libblas.so -o libblas.so *.o
installation of xmgrace on Slackware 13.1
I am installing grace-5.1.9 with t1lib-5.1.2 installed.
Problems:
t1fonts.c:(.text+0x336b): undefined reference to `T1_Get_no_fonts'
fontwin.c:(.text+0x141): undefined reference to `CheckForFontID'
Solutions:
change T1_Get_no_fonts in src/t1fonts.c to T1_GetNoFonts
change CheckForFontID in src/fontwin.c to T1_CheckForFontID
Problems:
t1fonts.c:(.text+0x336b): undefined reference to `T1_Get_no_fonts'
fontwin.c:(.text+0x141): undefined reference to `CheckForFontID'
Solutions:
change T1_Get_no_fonts in src/t1fonts.c to T1_GetNoFonts
change CheckForFontID in src/fontwin.c to T1_CheckForFontID
Subscribe to:
Posts (Atom)