<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7636513840679984166</id><updated>2011-04-22T11:19:33.279+08:00</updated><category term='linux'/><category term='gnuplot'/><category term='system'/><category term='math'/><category term='cvs'/><category term='proxy'/><category term='netperf'/><category term='tex'/><category term='admin'/><category term='cluster'/><category term='gentoo'/><category term='security'/><category term='programming'/><category term='latex'/><category term='chipkill'/><category term='mem'/><category term='fonts'/><category term='xwindow'/><category term='ffx'/><category term='qchem'/><category term='ssh'/><category term='benchmark'/><category term='bios'/><category term='library'/><category term='quantum'/><category term='linux gtk'/><category term='beamer'/><category term='intel'/><category term='log'/><category term='virus'/><category term='syslog-ng'/><category term='microsoft'/><category term='sts'/><category term='snmp'/><category term='amd'/><category term='network'/><category term='vim'/><category term='sge'/><category term='port'/><category term='fftw'/><title type='text'>Wesley  @BerryLab</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>56</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-1189188691068412605</id><published>2008-08-26T00:53:00.009+08:00</published><updated>2008-08-26T18:03:51.364+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gentoo'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>[LINUX] Gentoo Tips</title><content type='html'>&lt;div class="title"&gt;solve system packages blocking &lt;/div&gt;&lt;br /&gt;&lt;code&gt;[blocks &lt;span style="color:red; font-weight:bold"&gt;B&lt;/span&gt;] &lt;span style="color:red; font-weight:bold"&gt;pkg1 (is blocking pkg2)&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ emerge --buildpkgonly --nodeps &lt;span style="font-weight:bold;"&gt;pkg2&lt;/span&gt; &amp;&amp; emerge -C &lt;span style="font-weight:bold;"&gt;pkg1&lt;/span&gt; &amp;&amp; emerge --usepkgonly &lt;span style="font-weight:bold;"&gt;pkg2&lt;/span&gt;&lt;br /&gt;&lt;/code&gt; &lt;br /&gt;&lt;span style="font-style:italic;"&gt;from&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://somegossip.blogspot.com/2008/05/gentoo-emerge-blocking.html"&gt;傻蛋碎碎唸: Gentoo emerge 套件發現 blocking 時的安全解法&lt;/a&gt;: &amp;quot;emerge --buildpkgonly --nodeps util-linux &amp;amp;&amp;amp; emerge -C setarch &amp;amp;&amp;amp; emerge --usepkgonly util-linux&amp;quot;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-1189188691068412605?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/1189188691068412605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=1189188691068412605' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/1189188691068412605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/1189188691068412605'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/08/linux-gentoo-tips.html' title='[LINUX] Gentoo Tips'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-5984696213204881247</id><published>2008-08-25T03:00:00.010+08:00</published><updated>2008-08-28T14:13:42.224+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='syslog-ng'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>[SYSLOG] manage system logging</title><content type='html'>&lt;div class="title"&gt;my syslog-ng.conf&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="cmd"&gt;# Syslog-ng default configuration file for Gentoo Linux&lt;br /&gt;# contributed by Michael Sterrett&lt;br /&gt;&lt;br /&gt;options {&lt;br /&gt;        chain_hostnames(off);&lt;br /&gt;        sync(0);&lt;br /&gt;&lt;br /&gt;        # The default action of syslog-ng 1.6.0 is to log a STATS line&lt;br /&gt;        # to the file every 10 minutes.  That's pretty ugly after a while.&lt;br /&gt;        # Change it to every 12 hours so you get a nice daily update of&lt;br /&gt;        # how many messages syslog-ng missed (0).&lt;br /&gt;        stats(43200);&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;source src {&lt;br /&gt;    unix-stream("/dev/log" max-connections(256));&lt;br /&gt;    internal();&lt;br /&gt;    file("/proc/kmsg");&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;# mcelog&lt;br /&gt;filter mcelog { program(mcelog); };&lt;br /&gt;destination mcelog{ file("/var/log/mcelog"); };&lt;br /&gt;log { source(src); filter(mcelog); destination(mcelog); };&lt;br /&gt;&lt;br /&gt;# dhcpd&lt;br /&gt;filter dhcpd { program("dhcpd"); };&lt;br /&gt;destination dhcpd { file("/var/log/dhcpd"); };&lt;br /&gt;log { source(src); filter(dhcpd); destination(dhcpd); };&lt;br /&gt;&lt;br /&gt;# postfix&lt;br /&gt;#filter postfix { facility(mail) or match("postfix"); };&lt;br /&gt;filter mail { facility(mail); };&lt;br /&gt;destination mail { file("/var/log/maillog"); };&lt;br /&gt;log { source(src); filter(mail); destination(mail); };&lt;br /&gt;&lt;br /&gt;# cron&lt;br /&gt;filter cron { facility(cron); };&lt;br /&gt;destination cron { file("/var/log/cron"); };&lt;br /&gt;log { source(src); filter(cron); destination(cron); };&lt;br /&gt;&lt;br /&gt;# sshd, su&lt;br /&gt;#filter secure { facility(auth,authpriv) or program("sshd"); };&lt;br /&gt;filter secure { facility(auth,authpriv); };&lt;br /&gt;destination secure { file("/var/log/secure"); };&lt;br /&gt;log { source(src); filter(secure); destination(secure); };&lt;br /&gt;&lt;br /&gt;# syslog-ng&lt;br /&gt;filter syslog { facility(syslog); };&lt;br /&gt;destination syslog { file("/var/log/syslog"); };&lt;br /&gt;log { source(src); filter(syslog); destination(syslog); };&lt;br /&gt;&lt;br /&gt;# message log&lt;br /&gt;filter messages { not filter(cron) and not filter(mail)&lt;br /&gt;        and not filter(dhcpd) and not filter(secure) and not filter(syslog); };&lt;br /&gt;destination messages { file("/var/log/messages"); };&lt;br /&gt;log { source(src); filter(messages); destination(messages); };&lt;br /&gt;&lt;br /&gt;# By default messages are logged to tty12...&lt;br /&gt;destination console_all { file("/dev/tty12"); };&lt;br /&gt;# ...if you intend to use /dev/console for programs like xconsole&lt;br /&gt;# you can comment out the destination line above that references /dev/tty12&lt;br /&gt;# and uncomment the line below.&lt;br /&gt;#destination console_all { file("/dev/console"); };&lt;br /&gt;log { source(src); destination(console_all); };&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;iptables log to ulog&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.stearns.org/doc/iptables-ulog.current.html"&gt;iptables: Getting full packets out of the kernel&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;syslog-ng howto&lt;/div&gt;&lt;br /&gt;&lt;code&gt;syslog-ng log server安裝說明&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;syslog-ng的特異功能&lt;/span&gt;&lt;br /&gt;經常check system event一直是系統管理上很容易被忽略的重要細節，原因在於大部分的system logs傳達的資訊是不重要的，以至於將重要的警訊淹沒。&lt;br /&gt;如同syslog-ng的名稱，它是用以取代syslogd的next generation版本，原來的syslog是只能夠依priority及facility作分類，syslog-ng可以根據log的內容，以 regular expression自訂分類及log的處理方式，並且支援以tcp/udp將log送到遠端的server，或是即時通知在線上的系統管理者，甚至能將 log值當成某個program的標準輸入字串，直接將log作加工及分析。&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;syslog-ng的應用與範例&lt;/span&gt;&lt;br /&gt;Syslog-ng的message path全部在syslog-ng.conf作編輯。在syslog-ng的message path中，可以包括多個sources、多個filter rules及多個destinations的同步多工處理。一般來說，採用syslog-ng最大的用途除了運用它分類的功能外，就是運用它的網路功能。如前所提，syslog-ng可以透過tcp或是udp的協定將log送到遠端的server作集中式的監控。&lt;br /&gt;現在我們先假設一個情境，我們希望將幾台提供網路服務的server的log集中到一台server作管理，我們希望能夠將log值中含有特定 facility code或特定priority的log儲存在本地端，並且將所有收集到的log值全部送到log server作分類以及儲存。原來的syslog做不到這麼多點，所以我們必須在每一台server安裝syslog-ng，各透過tcp送到log server，log server的syslog-ng.conf依server.conf的範例設定。詳細的syslog-ng config參數當然不只這些，實際設計系統時最好直接看看官方網站的reference manual (http://www.balabit.hu/static/syslog-ng/ ... book1.html) 。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;server.conf&lt;br /&gt;&lt;br /&gt;#設定options,語法為options { S1 ; S2 ; S3…};&lt;br /&gt;#options主要是對整個configuration的共通設定&lt;br /&gt;&lt;br /&gt;options { use_fqdn(yes); keep_hostname(yes); use_dns(yes); long_hostnames(off); sync(3); log_fifo_size(300); };&lt;br /&gt;&lt;br /&gt;#設定input來源,語法為source source_ name {S1 ; S2 ; …};&lt;br /&gt;#internal()表所有本機產生的log&lt;br /&gt;# unix-stream("/dev/log")表來自本機的log檔,本機是Linux,若為BSD則需用&lt;br /&gt;#unix-dgram，這是開啟一個AF_UNIX socket聽取目的檔案的message.&lt;br /&gt;#收集本地端以及來自192.168.0.100 port 514這台server送來的log值,&lt;br /&gt;#keep-alive(yes/no)決定是否保持連線直到收到sighup訊號&lt;br /&gt;&lt;br /&gt;source src { unix-stream("/dev/log"); internal(); };&lt;br /&gt;source remote { tcp(ip("127.0.0.100") port(514) keep-alive(yes)); };&lt;br /&gt;&lt;br /&gt;#設定output目的地,語法為destination destination_ name {S1 ; S2 ; …};&lt;br /&gt;#file(“path”):以檔案的方式存在local端&lt;br /&gt;#usertty(“user_name”):即時通知特定的線上的使用者&lt;br /&gt;&lt;br /&gt;destination lpr { file("/var/log/lpr.log"); };&lt;br /&gt;destination mail { file("/var/log/mail.log"); };&lt;br /&gt;destination messages { file("/var/log/messages"); };&lt;br /&gt;destination console { usertty("root"); };&lt;br /&gt;&lt;br /&gt;#設定filter條件,filter filter_name{expresson;}; expression為各條件以and or not&lt;br /&gt;#連結&lt;br /&gt;#facility(string1,string2):篩選出包含string1或string2其中之一個字串的log.&lt;br /&gt;#level(S1..S2..S3) or priority(S1..S2..S3),篩選出包含其中之一level的log&lt;br /&gt;&lt;br /&gt;filter f_lpr { facility(lpr); };&lt;br /&gt;filter f_mail { facility(mail); };&lt;br /&gt;filter f_messages { level(info..emerg) and not facility(mail,lpr); };&lt;br /&gt;filter f_emergency { level(emerg); };&lt;br /&gt;&lt;br /&gt;###############################################################&lt;br /&gt;# 將設定好的source,filter,destination依需求作組合&lt;br /&gt;&lt;br /&gt;log { source(src); filter(f_lpr); destination(lpr); };&lt;br /&gt;log { source(src); filter(f_mail); destination(mail); };&lt;br /&gt;log { source(src); filter(f_messages); destination(messages); };&lt;br /&gt;log { source(src); filter(f_emergency); destination(console); };&lt;br /&gt;&lt;br /&gt;###############################################################&lt;br /&gt;#將收到的所有log依host分資料夾,再依該log的facility code分別儲存，&lt;br /&gt;#並設定owner, group, permission, directory permission&lt;br /&gt;&lt;br /&gt;destination hosts { file("/var/log/HOSTS/$HOST/$FACILITY" owner(root) group(root) perm(0600) dir_perm(0700) create_dirs(yes)); };&lt;br /&gt;&lt;br /&gt;log { source(remote); destination(hosts); };&lt;br /&gt;###############################################################&lt;br /&gt;另外，我們必須將/etc/logrotate.d/syslog置換成以下syslog-ng:&lt;br /&gt;&lt;br /&gt;/var/log/lpr.log {&lt;br /&gt;postrotate&lt;br /&gt;/bin/kill -HUP `cat /var/run/syslogd-ng.pid 2&gt; /dev/null` 2&gt; /dev/null ||&lt;br /&gt;true&lt;br /&gt;endscript&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/var/log/mail.log {&lt;br /&gt;postrotate&lt;br /&gt;/bin/kill -HUP `cat /var/run/syslogd-ng.pid 2&gt; /dev/null` 2&gt; /dev/null ||&lt;br /&gt;true&lt;br /&gt;endscript&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/var/log/messages {&lt;br /&gt;postrotate&lt;br /&gt;/bin/kill -HUP `cat /var/run/syslogd-ng.pid 2&gt; /dev/null` 2&gt; /dev/null ||&lt;br /&gt;true&lt;br /&gt;endscript&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/var/log/lastlog {&lt;br /&gt;postrotate&lt;br /&gt;/bin/kill -HUP `cat /var/run/syslogd-ng.pid 2&gt; /dev/null` 2&gt; /dev/null ||&lt;br /&gt;true&lt;br /&gt;endscript&lt;br /&gt;}&lt;br /&gt;最後啟動syslog-ng！&lt;br /&gt;#/etc/rc.d/init.d/syslog-ng start&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;結合database&lt;/span&gt;&lt;br /&gt;(1)如果我們希望將log值存進資料庫的話，我們必須將先將database server建起來(這裡我們選擇mysql)，我們必須產生一個syslog.sql以建立資料庫及資料表:&lt;br /&gt;CREATE DATABASE syslog;&lt;br /&gt;&lt;br /&gt;USE syslog;&lt;br /&gt;&lt;br /&gt;CREATE TABLE logs (&lt;br /&gt;host varchar(32) default NULL,&lt;br /&gt;facility varchar(10) default NULL,&lt;br /&gt;priority varchar(10) default NULL,&lt;br /&gt;level varchar(10) default NULL,&lt;br /&gt;tag varchar(10) default NULL,&lt;br /&gt;date date default NULL,&lt;br /&gt;time time default NULL,&lt;br /&gt;program varchar(15) default NULL,&lt;br /&gt;msg text,&lt;br /&gt;seq int(10) unsigned NOT NULL auto_increment,&lt;br /&gt;PRIMARY KEY (seq),&lt;br /&gt;KEY host (host),&lt;br /&gt;KEY seq (seq),&lt;br /&gt;KEY program (program),&lt;br /&gt;KEY time (time),&lt;br /&gt;KEY date (date),&lt;br /&gt;KEY priority (priority),&lt;br /&gt;KEY facility (facility)&lt;br /&gt;) TYPE=MyISAM;&lt;br /&gt;然後執行mysql -u root -p &lt; syslog.sql。&lt;br /&gt;(1) 執行mkfifo /tmp/mysql.pipe&lt;br /&gt;(2) 執行mysql -u root --password=passwd syslog &lt; /tmp/mysql.pipe&lt;br /&gt;(3) 最後，我們必須在syslog-ng.conf增加一條command:&lt;br /&gt;destination d_mysql {&lt;br /&gt;pipe("/tmp/mysql.pipe"&lt;br /&gt;template("INSERT INTO logs (host, facility, priority, level, tag, date, time, program, msg) VALUES ( '$HOST', '$FACILITY', '$PRIORITY', '$LEVEL', '$TAG', '$YEAR-$MONTH-$DAY', '$HOUR:$MIN:$SEC', '$PROGRAM', '$MSG' );\n") template-escape(yes));&lt;br /&gt;};&lt;br /&gt;log { source(net); destination(d_mysql);};&lt;br /&gt;(4) 重開syslog-ng&lt;br /&gt;/etc/init.d/syslog-ng stop # Stop syslog-ng&lt;br /&gt;/etc/ini.d/syslog-ng start # Start syslog-ng&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;syslog(d) howto&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.precision-guesswork.com/sage-guide/syslog-overview.html"&gt;syslog Overview&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;The standard UNIX syslog facilities are&lt;br /&gt;&lt;br /&gt;    kern – kernel&lt;br /&gt;    user – application or user processes (this is the default if the application sending a message does not specify the facility)&lt;br /&gt;    mail/news/UUCP/cron – electronic mail/NNTP/UUCP/cron subsystems&lt;br /&gt;    daemon – system daemons&lt;br /&gt;    auth – authentication and authorization related commands&lt;br /&gt;    lpr – line printer spooling subsystem&lt;br /&gt;    mark – inserts timestamp into log data at regular intervals&lt;br /&gt;    local0-local7 – 8 facilities for customized auditing&lt;br /&gt;    syslog – internal messages generated by syslog itself&lt;br /&gt;    authpriv – non-system authorization messages&lt;br /&gt;    * -- on most versions of UNIX, refers to all facilities except mark&lt;br /&gt;&lt;br /&gt;syslog levels are nominally defined as:&lt;br /&gt;&lt;br /&gt;    emerg – system is or will be unusable if situation is not resolved&lt;br /&gt;    alert – immediate action required&lt;br /&gt;    crit – critical situations&lt;br /&gt;    warning – recoverable errors&lt;br /&gt;    notice – unusual situation that merits investigation; a significant event that is typically part of normal day-to-day operation&lt;br /&gt;    info – informational messages&lt;br /&gt;    debug – verbose data for debugging&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-5984696213204881247?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/5984696213204881247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=5984696213204881247' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5984696213204881247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5984696213204881247'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/08/syslog-how-to-syslog-ng.html' title='[SYSLOG] manage system logging'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-5469925470274642839</id><published>2008-08-23T13:46:00.006+08:00</published><updated>2008-08-28T02:14:46.541+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='system'/><category scheme='http://www.blogger.com/atom/ns#' term='benchmark'/><title type='text'>[BENCHMARK] Memory Test</title><content type='html'>&lt;div class="title"&gt;&lt;a href="http://pyropus.ca/software/memtester/"&gt;memtester&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ memtester &amp;lt;MEMORY&amp;gt; [ITERATIONS]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;MEMORY the amount of memory to allocate and test, in megabytes.&lt;br /&gt;ITERATIONS (optional) number of loops to iterate through. Default is infinite.&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;a href="http://www.cyberciti.biz/faq/linux-how-do-i-find-out-causes-for-memory-faults/"&gt;&lt;br /&gt;Example == Linux: How do I find out causes for memory faults?&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-5469925470274642839?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/5469925470274642839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=5469925470274642839' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5469925470274642839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5469925470274642839'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/08/benchmark-memory-test.html' title='[BENCHMARK] Memory Test'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-6320378487886804709</id><published>2008-08-19T15:07:00.029+08:00</published><updated>2008-08-28T02:00:26.015+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='amd'/><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='mem'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><category scheme='http://www.blogger.com/atom/ns#' term='chipkill'/><title type='text'>[SYSTEM] Memory Error on Tyan S2882 with AMD Opteron 248 + 8x 1GB Cosair ECC DDR400</title><content type='html'>&lt;div class="title"&gt;memtester result with ECC disable&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;memtester version 4.0.8 (64-bit)&lt;br /&gt;Copyright (C) 2007 Charles Cazabon.&lt;br /&gt;Licensed under the GNU General Public License version 2 (only).&lt;br /&gt;&lt;br /&gt;pagesize is 4096&lt;br /&gt;pagesizemask is 0xfffffffffffff000&lt;br /&gt;want 7000MB (7340032000 bytes)&lt;br /&gt;got  7000MB (7340032000 bytes), trying mlock ...locked.&lt;br /&gt;Loop 1:&lt;br /&gt;  Stuck Address       : ok&lt;br /&gt;  Random Value        : ok&lt;br /&gt;  Compare XOR         : ok&lt;br /&gt;  Compare SUB         : ok&lt;br /&gt;  Compare MUL         : ok&lt;br /&gt;  Compare DIV         : ok&lt;br /&gt;  Compare OR          : ok&lt;br /&gt;  Compare AND         : ok&lt;br /&gt;  Sequential Increment: ok&lt;br /&gt;  Solid Bits          : ok&lt;br /&gt;  &lt;span style="font-weight:bold; color:yellow;"&gt;Block Sequential    : testing 123FAILURE: 0x7b7b7b7b7b7b7b7b != 0x7a7b7b7b7b7b7b7b at offset 0x062b25e3.&lt;/span&gt;&lt;br /&gt;  Checkerboard        : ok&lt;br /&gt;  ....&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;on loading large amount of memory&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;EDAC k8 MC1: general bus error: participating processor(local node response), time-out(no timeout) memory transaction type(generic read), mem or i/o(mem access), cache level(generic)&lt;br /&gt;EDAC MC0: CE page 0xfc5b, offset 0x7d0, grain 8, syndrome 0xf654, row 2, channel 1, label "": k8_edac&lt;br /&gt;EDAC k8 MC1: extended error code: ECC chipkill x4 error&lt;br /&gt;EDAC k8 MC0: general bus error: participating processor(local node response), time-out(no timeout) memory transaction type(generic read), mem or i/o(mem access), cache level(generic)&lt;br /&gt;EDAC MC0: CE page 0x1cfc16, offset 0x6c0, grain 8, syndrome 0x4472, row 0, channel 1, label "": k8_edac&lt;br /&gt;EDAC k8 MC0: extended error code: ECC chipkill x4 error&lt;br /&gt;EDAC k8 MC1: general bus error: participating processor(local node response), time-out(no timeout) memory transaction type(generic read), mem or i/o(mem access), cache level(generic)&lt;br /&gt;EDAC MC0: CE page 0xea59, offset 0x830, grain 8, syndrome 0xf654, row 2, channel 1, label "": k8_edac&lt;br /&gt;EDAC k8 MC1: extended error code: ECC chipkill x4 error&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;identify the DIMM&lt;/div&gt;&lt;br /&gt;&lt;a href="http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-01/msg05032.html"&gt;Re: EDAC chipkill messages&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Machine_Check_Exception"&gt;Machine Check Exception&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;machine check events&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.advancedclustering.com/faq/im-getting-mce-machine-check-exception-errors-what-does-this-mean.html"&gt;what does it mean ?&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;to show the contents&lt;/span&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ /usr/sbin/mcelog&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://marc.info/?l=linux-kernel&amp;m=111489287517193&amp;w=2"&gt;[x86_64] how worried should I be about MCEs?&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;EDAC options in kernel and bios&lt;/div&gt;&lt;br /&gt;&lt;a href="http://bluesmoke.sourceforge.net/"&gt;EDAC Project&lt;/a&gt;&lt;br /&gt;&lt;a href="http://members.verizon.net/~vze3psh8/Chipkill%20ECC.htm"&gt;Chipkill Advanced ECC - Overview of How It Works&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.computerpoweruser.com/Editorial/article.asp?article=articles/archive/u0901/56r01/56r01.asp&amp;guid="&gt;Speed vs. Precision&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/26094.PDF"&gt;BIOS and Kernel Developer's Guide for AMD Athlon 64 and AMD Opteron Processors&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;corrected ecc error&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;   --------------------     &lt;br /&gt;  | An Overview of ECC | &lt;br /&gt;   --------------------&lt;br /&gt;                              &lt;br /&gt;    Introduction&lt;br /&gt;    ------------&lt;br /&gt;      The scope of this discussion is limited to soft and hard errors that&lt;br /&gt;      occur in memory and how they are reported by Solaris.  It does not&lt;br /&gt;      account for errors that occur while data travels through the E10000&lt;br /&gt;      interconnect, CPU Module, or I/O.  For this discussion, soft errors &lt;br /&gt;      are transient or temporary errors in memory that can be corrected by&lt;br /&gt;      rewriting the affected memory cell.  Hard errors occur when a cell&lt;br /&gt;      is permanently damaged and cannot hold the correct information. With&lt;br /&gt;      a hard error, the cell can be permanently stuck-at "0", or "1".&lt;br /&gt;&lt;br /&gt;    ECC Concepts&lt;br /&gt;    ------------&lt;br /&gt;      Any volatile storage medium, whether it be the Dynamic Random Access&lt;br /&gt;      Memory (DRAM) used on main memory DIMMs or Static Random Access Memory&lt;br /&gt;      (SRAM) mainly used for caches, is subject to occasional natural&lt;br /&gt;      incidences of data loss due to the impact of alpha particles or cosmic&lt;br /&gt;      rays. This data loss manifests itself in the changing of the value&lt;br /&gt;      stored in the memory cell affected by the collision.  Typically only a&lt;br /&gt;      single bit is affected, but there is a small probability that multiple&lt;br /&gt;      cells can be upset.&lt;br /&gt;&lt;br /&gt;      When a bit flips due to this phenomenon, it is referred to as a soft&lt;br /&gt;      error.  This is to distinguish it from a hard error resulting from a&lt;br /&gt;      hardware failure.  These soft errors happen at a rate, called the soft&lt;br /&gt;      error rate (SER), that can be predicted as a function of the memory&lt;br /&gt;      density, the memory technology, and the altitude of the system in which&lt;br /&gt;      the memory resides.&lt;br /&gt;&lt;br /&gt;      ECC was invented to allow survival from these naturally occurring&lt;br /&gt;      losses of data.  The ECC method used on the E10000 is called a Single&lt;br /&gt;      Error Correcting, Double Error Detecting code (SEC-DED).  The concept is&lt;br /&gt;      that every &lt;a href="http://en.wikipedia.org/wiki/Word_(computer_science)"&gt;word&lt;/a&gt; of data is written to memory along with a number of&lt;br /&gt;      extra check bits.  When the word is read back from memory, a fresh set&lt;br /&gt;      of check bits are recomputed and compared with the check that was&lt;br /&gt;      stored in memory.  The result of this comparison is called the syndrome.&lt;br /&gt;&lt;br /&gt;      If the syndrome is zero, the comparison was identical, and thus the&lt;br /&gt;      data is good.  A non-zero syndrome means the data is in error, and the&lt;br /&gt;      syndrome is used to find a single bit in error and correct it.  A&lt;br /&gt;      single bit error is called a Correctable Error (CE).  The syndrome can&lt;br /&gt;      also detect if two bits are in error, but it does not have enough&lt;br /&gt;      information to identify which two bits.  This type of error is called&lt;br /&gt;      an Uncorrectable Error (UE).  UltraSPARC microprocessors use a SEC-DED&lt;br /&gt;      variant called S4ED that also can detect, but not correct, three or&lt;br /&gt;      four bit errors if they are clustered within a four bit nibble.&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-6320378487886804709?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/6320378487886804709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=6320378487886804709' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/6320378487886804709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/6320378487886804709'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/08/system-memory-error-blackberry.html' title='[SYSTEM] Memory Error on Tyan S2882 with AMD Opteron 248 + 8x 1GB Cosair ECC DDR400'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-5684102742696752934</id><published>2008-07-27T20:50:00.012+08:00</published><updated>2008-09-16T13:37:52.525+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cvs'/><title type='text'>[CVS] note for CVS</title><content type='html'>&lt;div class="title"&gt;using CVS over different SSH port&lt;/div&gt;&lt;br /&gt;in .ssh/config&lt;br /&gt;&lt;code class="cmd"&gt;Host &lt;span style="color: #f70;"&gt;SomeCvsServer&lt;/span&gt;&lt;br /&gt;HostKeyAlias cvs.some.server.com&lt;br /&gt;Hostname cvs.some.server.com&lt;br /&gt;Port 12345&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;cvs usage&lt;br /&gt;&lt;code class="cmd"&gt;$ export CVS_RSH=ssh&lt;br /&gt;$ export CVSROOT=":ext:user@&lt;span style="color: #f70;"&gt;SomeCvsServer&lt;/span&gt;:/cvsroot"&lt;br /&gt;$ cvs co project&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-5684102742696752934?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/5684102742696752934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=5684102742696752934' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5684102742696752934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5684102742696752934'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/07/cvs-note-for-cvs.html' title='[CVS] note for CVS'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-1357347626332921707</id><published>2008-07-23T14:04:00.011+08:00</published><updated>2008-08-24T21:55:21.931+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='qchem'/><title type='text'>[Q-CHEM] Build Q-Chem</title><content type='html'>&lt;div class="title"&gt;add remkey without re-building whole q-chem&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ rm $QC/config/rem.conf&lt;br /&gt;$ qcmake rem_config rem rem_input&lt;br /&gt;$ rm -f $QC/qparser/*.o $QC/libgen*.o&lt;br /&gt;$ qcmake qparser.a libgen.a&lt;br /&gt;$ rm -f $QC/&amp;lt;probably program&amp;gt;/*.o&lt;br /&gt;$ qcmake qcprogall&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="title"&gt;local copy of qcaux&lt;/div&gt;&lt;br /&gt;&lt;code&gt;As suggested in README.QCAUX: "It is recommended to store qcaux locally, especially drivers, as loading appears to be pretty intensive and puts a heavy tax on NFS, and may stall Q-CHEM when network is flaky."&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-1357347626332921707?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/1357347626332921707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=1357347626332921707' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/1357347626332921707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/1357347626332921707'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/07/q-chem-build-q-chem.html' title='[Q-CHEM] Build Q-Chem'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-4957659610534474567</id><published>2008-07-23T09:04:00.009+08:00</published><updated>2008-08-24T22:03:51.150+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='cluster'/><category scheme='http://www.blogger.com/atom/ns#' term='sge'/><title type='text'>[SGE] Parallel Environment</title><content type='html'>&lt;div class="title"&gt;allocation rule&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;integer&amp;gt;          allocate exactly this many slots per host &lt;br /&gt;$pe_slots          allocate as many slots on single host as stated on command line: qsub -pe &amp;lt;pe name&amp;gt; &amp;lt;slot range&amp;gt;&lt;br /&gt;$fill_up           fill up one host, move to another, continue until range filled &lt;br /&gt;$round_robin       do round-robin allocation over all suitable hosts until range filled&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-4957659610534474567?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/4957659610534474567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=4957659610534474567' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/4957659610534474567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/4957659610534474567'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/07/sge-parallel-environment.html' title='[SGE] Parallel Environment'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-159389028148069443</id><published>2008-07-15T13:29:00.019+08:00</published><updated>2008-08-24T22:10:37.045+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vim'/><category scheme='http://www.blogger.com/atom/ns#' term='fonts'/><title type='text'>[VIM] coding fonts for gVim</title><content type='html'>&lt;div class="title"&gt;&lt;a href="http://www.lowing.org/fonts/"&gt;good programming font criteria&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;code&gt; * Crisp clear characters&lt;br /&gt; * Extended characterset.&lt;br /&gt; * Good use of whitespace.&lt;br /&gt; * 'l', '1' and 'i' are easily distinguished&lt;br /&gt; * '0', 'o' and 'O' are easily distinguished&lt;br /&gt; * forward quotes from back quotes are easily distinguished -prefer mirrored appearance&lt;br /&gt; * Clear punctuation characters, especially braces, parenthesis and brackets&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;install &lt;a href="http://www.box.net/shared/253j9tjc4s"&gt;Monaco.ttf&lt;/a&gt;, &lt;a href="http://blog.orz.tw/2008/03/06/279"&gt;Consolas.ttf&lt;/a&gt; and &lt;a href="http://dejavu.sourceforge.net/wiki/index.php/Main_Page"&gt;DejaVu Sans Mono&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Linux&lt;br /&gt;&lt;code class="cmd"&gt;$ cp *.ttf $HOME/.fonts&lt;br /&gt;$ fc-cache -v -f&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Mac OS X&lt;br /&gt;M$ Windows&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;.gvimrc&lt;/div&gt;&lt;br /&gt;Linux&lt;br /&gt;&lt;code&gt;set gfn=Monaco\ 14,\ Consolas\ 14&lt;/code&gt;&lt;br /&gt;Mac OS X&lt;br /&gt;&lt;code&gt;set nomacatsui anti guifont=Monaco:h14&lt;br /&gt;set nomacatsui anti guifont=Consolas:h14&lt;br /&gt;set nomacatsui anti guifont=DejaVu\ Sans\ Mono:h14&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;a href="http://c9s.blogspot.com/2007/06/gvim.html"&gt;M$ Windows&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;others&lt;/div&gt;&lt;br /&gt;&lt;a href="http://blog.tyker.info/wordpress/archives/270"&gt;Bitstream Vera&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-159389028148069443?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/159389028148069443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=159389028148069443' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/159389028148069443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/159389028148069443'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/07/vim-coding-fonts-for-gvim.html' title='[VIM] coding fonts for gVim'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-6953304239999655838</id><published>2008-07-03T23:31:00.003+08:00</published><updated>2008-08-24T22:11:00.631+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='cluster'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>note for cluster</title><content type='html'>&lt;div class="title"&gt;network&lt;/div&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Jumbo_Frame"&gt;Jumbo Frames&lt;/a&gt;&lt;br /&gt;&lt;code&gt;Jumbo frames are Ethernet frames with more than 1,500 bytes of payload (MTU).&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-6953304239999655838?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/6953304239999655838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=6953304239999655838' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/6953304239999655838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/6953304239999655838'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/07/note-for-cluster.html' title='note for cluster'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-3541312551024303107</id><published>2008-07-03T13:21:00.005+08:00</published><updated>2008-08-24T22:12:07.339+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='netperf'/><category scheme='http://www.blogger.com/atom/ns#' term='benchmark'/><title type='text'>[BENCHMARK] netperf</title><content type='html'>&lt;div class="title"&gt;run netperf&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;# netperf -l [length] -H [server_IP] -t TCP_STREAM&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;You should make sure that a client-server pair runs netperf in both directions at the same time. This guarantees that your network is operating well in full-duplex mode. If everything is good, netperf reports a throughput of about 80 MBit/s. For a unidirectional netperf test, you should get about 92-95 MBit/s. For longer tests, increase the -l &lt;length&gt; value.&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;code class="cmd"&gt;# ethtool eth0&lt;br /&gt;# mii-tool --help&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-3541312551024303107?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/3541312551024303107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=3541312551024303107' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/3541312551024303107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/3541312551024303107'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/07/benchmark-netperf.html' title='[BENCHMARK] netperf'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-5328166685835999599</id><published>2008-06-08T16:12:00.003+08:00</published><updated>2008-08-24T22:12:50.863+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='proxy'/><title type='text'>[SSH] SSH Tunnel Proxy</title><content type='html'>&lt;div class="title"&gt;ssh command&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ ssh -L [listening_port_for_browser]:[proxy_ip]:[actuall_proxy_port] [user]@[ssh_server]&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-5328166685835999599?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/5328166685835999599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=5328166685835999599' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5328166685835999599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5328166685835999599'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/06/ssh-ssh-tunnel-proxy.html' title='[SSH] SSH Tunnel Proxy'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-1837524716218734713</id><published>2008-06-03T20:43:00.012+08:00</published><updated>2008-08-24T22:14:50.633+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xwindow'/><category scheme='http://www.blogger.com/atom/ns#' term='linux gtk'/><category scheme='http://www.blogger.com/atom/ns#' term='fonts'/><title type='text'>[X] set gtk2 fontconfig</title><content type='html'>&lt;div class="title"&gt;reference&lt;/div&gt;&lt;br /&gt;&lt;a href="http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/wm.html"&gt;windows manager&lt;/a&gt;&lt;br /&gt;&lt;div class="title"&gt;$HOME/.gtkrc-2.0&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="cmd"&gt;include "/usr/share/themes/Default/gtk-2.0/gtkrc"&lt;br /&gt;include "/home/jungoyuo/.gtkrc.mine"&lt;br /&gt;&lt;br /&gt;# -- THEME AUTO-WRITTEN DO NOT EDIT&lt;br /&gt;style "gtk-default-zh-tw" {&lt;br /&gt;        font_name = "Helvetica ,MingLiU 12"&lt;br /&gt;}&lt;br /&gt;style "default" {&lt;br /&gt;#       font_name = "Sans 12"&lt;br /&gt;        font_name = "sans-serif 12"&lt;br /&gt;}&lt;br /&gt;class "GtkWidget" style "default"&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="title"&gt;$HOME/.fonts.conf&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="cmd"&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE fontconfig SYSTEM "fonts.dtd"&amp;gt;&lt;br /&gt;&amp;lt;!-- /etc/fonts/fonts.conf file to configure system font access --&amp;gt;&lt;br /&gt;&amp;lt;fontconfig&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/100dpi&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/75dpi&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/arphicfonts&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/artwiz&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/CID&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/corefonts&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/cyrillic&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/encodings&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/freefont&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/local&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/misc&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/sharefonts&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/terminus&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/TrueType&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/ttf&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/TTF&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/ttf-bitstream-vera&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/Type1&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/ukr&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/unifont&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/util&amp;lt;/dir&amp;gt;&lt;br /&gt;&amp;lt;dir&amp;gt;/usr/share/fonts/zh-kcfonts&amp;lt;/dir&amp;gt;&lt;br /&gt;        &lt;br /&gt;        &amp;lt;match target="font"&amp;gt;&lt;br /&gt;                &amp;lt;test name="lang" compare="contains"&amp;gt;&lt;br /&gt;                        &amp;lt;string&amp;gt;zh&amp;lt;/string&amp;gt;&lt;br /&gt;                &amp;lt;/test&amp;gt;&lt;br /&gt;                &amp;lt;edit name="hinting" mode="assign"&amp;gt;&lt;br /&gt;                        &amp;lt;bool&amp;gt;true&amp;lt;/bool&amp;gt;&lt;br /&gt;                &amp;lt;/edit&amp;gt;&lt;br /&gt;        &amp;lt;/match&amp;gt;&lt;br /&gt;&amp;lt;!-- turn off anti-alias function for font-size smaller than 13&lt;br /&gt;&lt;br /&gt;        &amp;lt;match target="pattern"&amp;gt;&lt;br /&gt;                &amp;lt;test qual="any" name="size" compare="less"&amp;gt;&lt;br /&gt;                        &amp;lt;int&amp;gt;13&amp;lt;/int&amp;gt;&lt;br /&gt;                &amp;lt;/test&amp;gt;&lt;br /&gt;                &amp;lt;edit name="antialias" mode="assign"&amp;gt;&lt;br /&gt;                        &amp;lt;bool&amp;gt;false&amp;lt;/bool&amp;gt;&lt;br /&gt;                &amp;lt;/edit&amp;gt;&lt;br /&gt;        &amp;lt;/match&amp;gt;&lt;br /&gt;--&amp;gt;&lt;br /&gt;        &amp;lt;alias&amp;gt;&lt;br /&gt;                &amp;lt;family&amp;gt;serif&amp;lt;/family&amp;gt;&lt;br /&gt;                &amp;lt;prefer&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;Bitstream Vera Serif&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;Times New Roman&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;Times&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;PMingLiU&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;MingLiU&amp;lt;/family&amp;gt;&lt;br /&gt;                &amp;lt;/prefer&amp;gt;&lt;br /&gt;        &amp;lt;/alias&amp;gt;&lt;br /&gt;        &amp;lt;alias&amp;gt;&lt;br /&gt;                &amp;lt;family&amp;gt;sans-serif&amp;lt;/family&amp;gt;&lt;br /&gt;                &amp;lt;prefer&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;Bitstream Vera Sans&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;Helvetica&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;Verdana&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;Arial&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;PMingLiU&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;MingLiU&amp;lt;/family&amp;gt;&lt;br /&gt;                &amp;lt;/prefer&amp;gt;&lt;br /&gt;        &amp;lt;/alias&amp;gt;&lt;br /&gt;        &amp;lt;alias&amp;gt;&lt;br /&gt;                &amp;lt;family&amp;gt;monospace&amp;lt;/family&amp;gt;&lt;br /&gt;                &amp;lt;prefer&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;Bitstream Vera Sans Mono&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;Courier&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;Courier New&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;PMingLiU&amp;lt;/family&amp;gt;&lt;br /&gt;                        &amp;lt;family&amp;gt;MingLiU&amp;lt;/family&amp;gt;&lt;br /&gt;                &amp;lt;/prefer&amp;gt;&lt;br /&gt;        &amp;lt;/alias&amp;gt;&lt;br /&gt;&amp;lt;/fontconfig&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-1837524716218734713?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/1837524716218734713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=1837524716218734713' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/1837524716218734713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/1837524716218734713'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/06/x-set-gtk2-fontconfig.html' title='[X] set gtk2 fontconfig'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-2364261450067802211</id><published>2008-06-01T13:28:00.006+08:00</published><updated>2008-08-24T22:16:23.612+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fonts'/><category scheme='http://www.blogger.com/atom/ns#' term='ffx'/><category scheme='http://www.blogger.com/atom/ns#' term='math'/><title type='text'>[FFX] mathfont missing</title><content type='html'>&lt;div class="title"&gt;install fonts for MathML&lt;/div&gt;&lt;br /&gt;Following the links provide by &lt;a href="http://www.mozilla.org/projects/mathml/fonts/"&gt;Fonts for MathML-enabled Mozilla&lt;/a&gt;, there are two font-sets for MathML:&lt;br /&gt;&lt;code&gt;1. &lt;a href="http://www.mozilla.org/projects/mathml/fonts/bakoma/texcm-ttf.zip"&gt;TeX's Computer Modern Fonts&lt;/a&gt;&lt;br /&gt;2. &lt;a href="http://support.wolfram.com/mathematica/systems/windows/general/files/MathFonts_TrueType_41.exe"&gt;Mathematica 4.1 TrueType Fonts&lt;/a&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Extract all font files to the system font directory and modify ffx pref.js by adding:&lt;br /&gt;&lt;code class="cmd"&gt;user_pref("font.mathfont-family", "CMSY10, CMEX10, Math1, Math2, Math4, Symbol");&lt;/code&gt;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-2364261450067802211?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/2364261450067802211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=2364261450067802211' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2364261450067802211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2364261450067802211'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/06/ffx-mathfont-missing.html' title='[FFX] mathfont missing'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-2295816835426295566</id><published>2008-06-01T02:17:00.002+08:00</published><updated>2008-07-23T14:15:50.825+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='intel'/><category scheme='http://www.blogger.com/atom/ns#' term='qchem'/><category scheme='http://www.blogger.com/atom/ns#' term='fftw'/><title type='text'>[Q-CHEM] Intel wrapped fftw</title><content type='html'>&lt;div class="title"&gt;wrapped fftw in Intel MKL&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;try it !!&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-2295816835426295566?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/2295816835426295566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=2295816835426295566' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2295816835426295566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2295816835426295566'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/06/q-chem-intel-wrapped-fftw.html' title='[Q-CHEM] Intel wrapped fftw'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-8806687758506332423</id><published>2008-05-29T16:02:00.002+08:00</published><updated>2008-05-29T16:04:51.021+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><category scheme='http://www.blogger.com/atom/ns#' term='beamer'/><category scheme='http://www.blogger.com/atom/ns#' term='tex'/><title type='text'>[TEX] beamer theme gallery</title><content type='html'>&lt;div class="title"&gt;theme image (http://mike.depalatis.net/beamerthemes/)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-8806687758506332423?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/8806687758506332423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=8806687758506332423' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8806687758506332423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8806687758506332423'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/05/tex-beamer-theme-gallery.html' title='[TEX] beamer theme gallery'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-5574871860602249187</id><published>2008-05-11T19:59:00.004+08:00</published><updated>2008-08-24T22:17:29.045+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>[SECURE] group check and consisteny</title><content type='html'>&lt;div class="title"&gt;Checking groups and convert to shadow&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ grpck # checking groups&lt;br /&gt;$ grpconv # convert to shadow&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-5574871860602249187?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/5574871860602249187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=5574871860602249187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5574871860602249187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5574871860602249187'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/05/secure-group-check-and-consisteny.html' title='[SECURE] group check and consisteny'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-1634306539375040799</id><published>2008-04-12T00:26:00.006+08:00</published><updated>2008-08-24T22:18:08.828+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='library'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>[PROG] note</title><content type='html'>&lt;div class="title"&gt;useful tools&lt;/div&gt;&lt;br /&gt;&lt;code&gt;nm - list symbols from object files&lt;br /&gt;ldd - print shared library dependencies&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="title"&gt;readable one-array format in C or C++&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;#define jArray[x + NCol*y]   jArray(x,y)&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-1634306539375040799?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/1634306539375040799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=1634306539375040799' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/1634306539375040799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/1634306539375040799'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/04/prog-note.html' title='[PROG] note'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-6581571181556544992</id><published>2008-04-11T11:32:00.004+08:00</published><updated>2008-05-05T14:32:26.290+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='log'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>[LOG] booting log of SCSI card on (old) twinberry</title><content type='html'>&lt;div class="title"&gt;Adaptec ASC-39320 U320&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;scsi0 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 1.3.11&lt;br /&gt;        &lt;Adaptec 39320 Ultra320 SCSI adapter&gt;&lt;br /&gt;        aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs&lt;br /&gt;&lt;br /&gt;(scsi0:A:1): 320.000MB/s transfers (160.000MHz DT|IU|QAS, 16bit)&lt;br /&gt;(scsi0:A:5): 320.000MB/s transfers (160.000MHz DT|IU|QAS, 16bit)&lt;br /&gt;  Vendor: SEAGATE   Model: ST373307LC        Rev: 0007&lt;br /&gt;  Type:   Direct-Access                      ANSI SCSI revision: 03&lt;br /&gt;scsi0:A:1:0: Tagged Queuing enabled.  Depth 253&lt;br /&gt;  Vendor: IBM       Model: IC35L073UCDY10-0  Rev: S23C&lt;br /&gt;  Type:   Direct-Access                      ANSI SCSI revision: 03&lt;br /&gt;scsi0:A:5:0: Tagged Queuing enabled.  Depth 253&lt;br /&gt;scsi1 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 1.3.11&lt;br /&gt;        &lt;Adaptec 39320 Ultra320 SCSI adapter&gt;&lt;br /&gt;        aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs&lt;br /&gt;&lt;br /&gt;scsi1:A:3:0: DV failed to configure device.  Please file a bug report against this driver.&lt;br /&gt;(scsi1:A:3): 160.000MB/s transfers (80.000MHz DT, 16bit)&lt;br /&gt;  Vendor: BROWNIE   Model: 8600U3            Rev: 0001&lt;br /&gt;  Type:   Direct-Access                      ANSI SCSI revision: 03&lt;br /&gt;scsi1:A:3:0: Tagged Queuing enabled.  Depth 253&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-6581571181556544992?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/6581571181556544992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=6581571181556544992' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/6581571181556544992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/6581571181556544992'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/04/log-booting-log-of-scsi-card-on-old.html' title='[LOG] booting log of SCSI card on (old) twinberry'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-8104474849516476859</id><published>2008-04-10T23:17:00.005+08:00</published><updated>2008-05-05T14:31:20.712+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bios'/><title type='text'>[GADGET] dmidecode</title><content type='html'>&lt;div class="title"&gt;introduction&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;Quote from &lt;a href="http://www.nongnu.org/dmidecode/"&gt;the official website&lt;/a&gt;:&lt;br /&gt;"Dmidecode reports information about your system's hardware as&lt;br /&gt;described in your system BIOS according to the SMBIOS/DMI standard"&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-8104474849516476859?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/8104474849516476859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=8104474849516476859' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8104474849516476859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8104474849516476859'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/04/gadget-dmidecode.html' title='[GADGET] dmidecode'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-2449594657384344045</id><published>2008-03-03T15:52:00.005+08:00</published><updated>2008-03-03T16:02:16.343+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='qchem'/><title type='text'>[QCHEM] bursted SCF energy in a parallel job with heterogeneous CPUs</title><content type='html'>&lt;div class="title"&gt;on berry6 (opteron 280) and berry8 (core2 quad)&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt; SCF converges when DIIS error is below 1.0E-08&lt;br /&gt; ---------------------------------------&lt;br /&gt;  Cycle       Energy         DIIS Error&lt;br /&gt; ---------------------------------------&lt;br /&gt;    1   -3361.2591633686      5.79E-02&lt;br /&gt;    2   -3751.3667331414      1.40E-01&lt;br /&gt;    3   -3753.7216460829      1.38E-01&lt;br /&gt;    4   -3729.9708610746      1.51E-01&lt;br /&gt;    5   -3356.8584124714      1.99E-01&lt;br /&gt;    6   -2360.4516761724      2.65E-01&lt;br /&gt;    7   -1906.3181437427      2.91E-01&lt;br /&gt;    8   -1865.0400872828      2.92E-01&lt;br /&gt;    9   -1836.4085108264      2.92E-01&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-2449594657384344045?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/2449594657384344045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=2449594657384344045' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2449594657384344045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2449594657384344045'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/03/qchem-burst-scf-energy-in-parallel-job.html' title='[QCHEM] bursted SCF energy in a parallel job with heterogeneous CPUs'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-5224225131285788972</id><published>2008-02-26T21:00:00.002+08:00</published><updated>2008-03-03T16:02:59.107+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virus'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>[SECURE] virus infection</title><content type='html'>&lt;a href="http://www.pctools.com/mrc/infections/id/Trojan.Pakes/"&gt;trojan.win32.pakes.k&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-5224225131285788972?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/5224225131285788972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=5224225131285788972' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5224225131285788972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5224225131285788972'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/02/secure-virus-infection.html' title='[SECURE] virus infection'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-1447399184761666608</id><published>2008-01-27T17:16:00.000+08:00</published><updated>2008-01-27T17:18:11.492+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>notes for network security</title><content type='html'>&lt;div class="title"&gt;nmap usage&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="cmd"&gt;$ nmap -sT -sU -v -oX -P0 {host}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-1447399184761666608?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/1447399184761666608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=1447399184761666608' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/1447399184761666608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/1447399184761666608'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/01/notes-for-network-security.html' title='notes for network security'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-934275780714342512</id><published>2008-01-14T21:47:00.000+08:00</published><updated>2008-01-15T02:05:33.733+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><category scheme='http://www.blogger.com/atom/ns#' term='beamer'/><category scheme='http://www.blogger.com/atom/ns#' term='tex'/><title type='text'>[TEX] template for beamer</title><content type='html'>&lt;div class="title"&gt;preamble&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;% Layout Options&lt;br /&gt;%&lt;br /&gt;% [slidestop] puts frame titles &amp; contents on the top left corner (default = [slidescentered])&lt;br /&gt;% [compress] makes all navigation bars as small as possible (bad for multi-line navigation bars)&lt;br /&gt;% [red] changes navigation bars and title to reddish color (default = blue; others = red,brown,blackandwhite)&lt;br /&gt;%&lt;br /&gt;% Font options &lt;br /&gt;% &lt;br /&gt;% [mathserif] use serif fonts for representing formulas instead of sans serif (default = mathsans)&lt;br /&gt;%&lt;br /&gt;% Note options&lt;br /&gt;% [notes] adds notes to PDF screen&lt;br /&gt;% [notesonly] make only notes&lt;br /&gt;\documentclass[notes,blue,mathserif]{beamer}&lt;br /&gt;%\documentclass[slidestop,blue,mathserif]{beamer}&lt;br /&gt;&lt;br /&gt;\usepackage{graphicx}&lt;br /&gt;\usepackage{fancybox}&lt;br /&gt;&lt;br /&gt;% This package enables us to use special letters (with accents, cedillas, etc).&lt;br /&gt;% You can discard this command when the presentation is in English.&lt;br /&gt;\usepackage[latin1]{inputenc}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;% in \begin{document} .. \end{document}&lt;br /&gt;%\mode&lt;article&gt;{\usepackage{fullpage}}&lt;br /&gt;&lt;br /&gt;% in \begin{frame} .. \end{frame}&lt;br /&gt;\mode&lt;presentation&gt;&lt;br /&gt;{&lt;br /&gt;%\usetheme{Warsaw}&lt;br /&gt;\usetheme{Berlin}&lt;br /&gt;%\usetheme{Malmoe}&lt;br /&gt;%\usetheme{Antibes}&lt;br /&gt;%\usetheme{Berkeley}&lt;br /&gt;%\usetheme{Singapore}&lt;br /&gt;%\usetheme{Szeged}&lt;br /&gt;&lt;br /&gt;% The default font theme installs a sans serif for all text of the presentation&lt;br /&gt;\usefonttheme{default}&lt;br /&gt;&lt;br /&gt;% Using default block style&lt;br /&gt;%\setbeamertemplate{blocks}[default]&lt;br /&gt;&lt;br /&gt;% Background colors&lt;br /&gt;% solid style&lt;br /&gt;%\beamertemplatesolidbackgroundcolor{gray}&lt;br /&gt;% gradient style&lt;br /&gt;%\beamertemplateshadingbackground{blue!5}{yellow!10}&lt;br /&gt;%\beamertemplateshadingbackground{blue!10}{yellow!5}&lt;br /&gt;\beamertemplateshadingbackground{yellow!5}{blue!10}&lt;br /&gt;% grid style&lt;br /&gt;%\beamertemplategridbackground[0.5in]&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;\title{Title of Presentation}&lt;br /&gt;\author{Name of Author}&lt;br /&gt;\institute{Institute of Chemistry, Academia Sinica}&lt;br /&gt;%\date{\today}&lt;br /&gt;\date{December 12, 2007}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;making title page&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;% Beamer 2.20 macro&lt;br /&gt;%\frame{\titlepage} &lt;br /&gt;% Beamer 3.0 to make cover slide&lt;br /&gt;\begin{frame}&lt;br /&gt; \titlepage&lt;br /&gt;\end{frame}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;layout of presentation&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;%\section[title name]{real name}&lt;br /&gt;\section[title name shown in navigation bars ]{real name shown in context}&lt;br /&gt;%\subsection[title name]{real name}&lt;br /&gt;\subsection[title name]{real name}&lt;br /&gt;\begin{frame}&lt;br /&gt;\frametitle{Title shown in the page}&lt;br /&gt;\end{frame}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;making outline page&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;% To define a frame containing the layout of the presentation&lt;br /&gt;\section[Outline]{}&lt;br /&gt;\frame{\tableofcontents}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;adding note for each frame&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;% appending to \end{frame}&lt;br /&gt;%\note[options]{ .. }; options = itemize, enumerate &lt;br /&gt;\note[itemize]{\item Notes content}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-934275780714342512?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/934275780714342512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=934275780714342512' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/934275780714342512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/934275780714342512'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2008/01/tex-template-for-beamer.html' title='[TEX] template for beamer'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-7454304652722640067</id><published>2007-12-29T00:33:00.000+08:00</published><updated>2007-12-31T21:32:20.074+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>[SSH] ssh_exchange_identification: Connection closed by remote host</title><content type='html'>&lt;div class="title"&gt;description&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;ssh_exchange_identification: Connection closed by remote host&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="title"&gt;solution&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;re-compile tcp-wrappers with USE flag "ipv6"&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-7454304652722640067?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/7454304652722640067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=7454304652722640067' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7454304652722640067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7454304652722640067'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/12/ssh-sshexchangeidentification.html' title='[SSH] ssh_exchange_identification: Connection closed by remote host'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-2438004611256297410</id><published>2007-12-25T10:48:00.000+08:00</published><updated>2008-01-15T13:48:09.765+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><title type='text'>[TEX] notes</title><content type='html'>&lt;div class="title"&gt;after installing packages&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="cmd"&gt;$ texhash&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;make equation left-aligned (default is center-aligned)&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;\documentclass[fleqn]{class}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;make newcommand with parameters&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;\newcommand{newcommand}[numberofparas]{detail}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="title"&gt;packages&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;\usepackage{graphicx}&lt;br /&gt;\usepackage{fancybox}&lt;br /&gt;% to add varied underlines&lt;br /&gt;\usepackage{ulem}&lt;br /&gt;&lt;br /&gt;% This package enables us to use special letters (with accents, cedillas, etc).&lt;br /&gt;% You can discard this command when the presentation is in English.&lt;br /&gt;\usepackage[latin1]{inputenc}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-2438004611256297410?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/2438004611256297410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=2438004611256297410' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2438004611256297410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2438004611256297410'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/12/tex-notes.html' title='[TEX] notes'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-8796946770919220317</id><published>2007-12-19T22:56:00.000+08:00</published><updated>2007-12-20T01:24:47.877+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='quantum'/><title type='text'>[QM] Notes for spin density</title><content type='html'>&lt;div class="title"&gt;definition of the spin density&lt;/div&gt;&lt;br /&gt;&lt;code&gt;A spin density is defined by the difference between an alpha spin one-particle density and a beta spin one-particle density.&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="title"&gt;physical meaning of the spin density&lt;/div&gt;&lt;br /&gt;&lt;code&gt;A spin density describes the probability density of finding twice of the z-component of an N-electron system in real space. The trace of a spin density shows twice of the z-component of an N-electron system or the difference between the number of alpha and beta electrons of an N-electron system.&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="title"&gt;spin densities in the MO theory&lt;/div&gt;&lt;br /&gt;&lt;code&gt;Given a system with equal number of alpha and beta electrons, the spin density of a restricted Slater determinant (RSD) is definitely vanished but the spin density of an unrestricted Slater determinant (USD) is not necessarily zero. The trace (the z-component of total spin) for both densities are definitely zero due to the same number of alpha and beta electrons.&lt;br /&gt;&lt;br /&gt;The multiplicity of the former wavefunction (RSD) is singlet and the later one (USD) is possibly not a eigenfunciton of total spin-moment operator (S^2).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-8796946770919220317?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/8796946770919220317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=8796946770919220317' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8796946770919220317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8796946770919220317'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/12/qm-notes-for-spin-density.html' title='[QM] Notes for spin density'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-8794995461624316954</id><published>2007-12-18T23:57:00.002+08:00</published><updated>2008-04-12T00:26:28.244+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gnuplot'/><title type='text'>[GNUPLOT] postscript note</title><content type='html'>&lt;div class="title"&gt;how to use Greek symbols and enhanced text mode in gnuplot&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;set term postscript enhanced eps "Times-Roman" 30&lt;br /&gt;set encoding iso_8859_1 # to access ISO Latin-1 fonts&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="title"&gt;reference&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;ps_guide&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-8794995461624316954?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/8794995461624316954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=8794995461624316954' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8794995461624316954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8794995461624316954'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/12/gnuplot-use-greek-symbols.html' title='[GNUPLOT] postscript note'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-7403351341080128789</id><published>2007-12-14T23:10:00.000+08:00</published><updated>2007-12-14T23:28:09.652+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='intel'/><title type='text'>[INTEL] Mixing Fortran and C/C++ by Using Intel Compiler</title><content type='html'>&lt;div class="title"&gt;linking Fortran subroutines in C/C++ &lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;LDFLAGS = -L/opt/intel/fce/9.1/lib -lifport -lifcore -limf&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-7403351341080128789?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/7403351341080128789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=7403351341080128789' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7403351341080128789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7403351341080128789'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/12/intel-mixing-fortran-and-cc-by-using.html' title='[INTEL] Mixing Fortran and C/C++ by Using Intel Compiler'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-323215516306529978</id><published>2007-12-14T16:34:00.001+08:00</published><updated>2008-05-06T21:34:52.279+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vim'/><title type='text'>[VIM] notes</title><content type='html'>&lt;div class="title"&gt;find match of current parenthesis, brace, or bracket&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;%&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="title"&gt;on the fly spell checking (vim 7.0)&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;:set spell - Turns on the spell checking&lt;br /&gt;:set nospell - Turns off the spell checking (can be achieved using GUI too).&lt;br /&gt;]s - Move to the next mis-spelled word in the document.&lt;br /&gt;[s - Same as above command but searches backwards.&lt;br /&gt;z= - Shows a list of close matches to the mis-spelled word from which the user can pick the correct one.&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="title"&gt;folding by {{{ ... }}} marker&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;:set foldmethod=maker&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="title"&gt;set shiftwidth to 2 in C indent&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;:set cino=&gt;2&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="title"&gt;automatically word wrap for tex&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;let s:extfname = expand("%:e")&lt;br /&gt;if s:extfname == "tex"&lt;br /&gt;  set textwidth=70&lt;br /&gt;endif&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="title"&gt;free Fortran90 format&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;let s:extfname = expand("%:e")&lt;br /&gt;if s:extfname == "f90" || s:extfname == "F"&lt;br /&gt;  let fortran_free_source=1&lt;br /&gt;  unlet! fortran_fixed_source&lt;br /&gt;else&lt;br /&gt;  let fortran_fixed_source=1&lt;br /&gt;  unlet! fortran_free_source&lt;br /&gt;endif&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-323215516306529978?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/323215516306529978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=323215516306529978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/323215516306529978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/323215516306529978'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/12/vim-c-indent.html' title='[VIM] notes'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-8699668957333695336</id><published>2007-12-12T22:23:00.000+08:00</published><updated>2008-01-14T22:37:01.734+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><category scheme='http://www.blogger.com/atom/ns#' term='beamer'/><category scheme='http://www.blogger.com/atom/ns#' term='tex'/><title type='text'>[TEX] compile beamer with EPS</title><content type='html'>&lt;div class="title"&gt;teTeX&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ latex &lt;fname&gt; &amp;&amp; latex &lt;fname&gt; &amp;&amp; dvipdf &lt;fname&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="title"&gt;MikTeX + M$&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ latex &lt;fname&gt; &amp;&amp; latex &lt;fname&gt; &amp;&amp; dvips &lt;fname&gt; &amp;&amp; ps2pdf &lt;fname&gt;.ps&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-8699668957333695336?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/8699668957333695336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=8699668957333695336' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8699668957333695336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8699668957333695336'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/12/tex-compile-beamer-with-eps.html' title='[TEX] compile beamer with EPS'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-5193840273464309130</id><published>2007-12-10T14:39:00.000+08:00</published><updated>2007-12-25T10:50:56.134+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><category scheme='http://www.blogger.com/atom/ns#' term='tex'/><title type='text'>[TEX] missing eps in DVI</title><content type='html'>&lt;div class="title"&gt;error when opening xdvi: gs: Unknown device: x11&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;make sure compile ghostscript with X11&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-5193840273464309130?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/5193840273464309130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=5193840273464309130' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5193840273464309130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5193840273464309130'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/12/tex-missing-eps-in-dvi.html' title='[TEX] missing eps in DVI'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-3331477800222325</id><published>2007-12-07T01:26:00.000+08:00</published><updated>2007-12-08T12:28:28.959+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ffx'/><title type='text'>[FFX] play M$ video</title><content type='html'>&lt;div class="subtitle"&gt;invoke WMP to player videos&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;1. turn off your ffx&lt;br /&gt;2. open the following file in notepad: %APPDATA%\Mozilla\Firefox\pluginreg.dat&lt;br /&gt;3. search for "Windows Media Player Plug-in Dynamic Link Library"&lt;br /&gt;4. add or modify bold lines: &lt;br /&gt;&lt;br /&gt;&lt;code&gt;Windows Media Player Plug-in Dynamic Link Library|$&lt;br /&gt;&lt;span style="font-weight: bold"&gt;10&lt;/span&gt;&lt;br /&gt;0|application/asx|Media Files|*|$&lt;br /&gt;1|video/x-ms-asf-plugin|Media Files|*|$&lt;br /&gt;2|application/x-mplayer2|Media Files|*|$&lt;br /&gt;3|video/x-ms-asf|Media Files|asf,asx,*|$&lt;br /&gt;4|video/x-ms-wm|Media Files|wm,*|$&lt;br /&gt;5|audio/x-ms-wma|Media Files|wma,*|$&lt;br /&gt;6|audio/x-ms-wax|Media Files|wax,*|$&lt;br /&gt;7|video/x-ms-wmv|Media Files|wmv,*|$&lt;br /&gt;8|video/x-ms-wvx|Media Files|wvx,*|$&lt;br /&gt;&lt;span style="font-weight: bold"&gt;9|video/x-msvideo|Media Files|avi,*|$&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-3331477800222325?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/3331477800222325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=3331477800222325' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/3331477800222325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/3331477800222325'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/12/ffx-play-m-video.html' title='[FFX] play M$ video'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-4742369415512101895</id><published>2007-12-06T21:11:00.002+08:00</published><updated>2008-04-06T22:55:51.819+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='qchem'/><title type='text'>[Q-CHEM] routines and remkey  s added for FED</title><content type='html'>&lt;div class="title"&gt;remkeys (in $QC/config/rem.list)&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;!ZQY: State to State one electron transformation&lt;br /&gt;STS_DONOR&lt;br /&gt;STS_ACCEPTOR&lt;br /&gt;STS_MOM&lt;br /&gt;STS_FED&lt;br /&gt;STS_GMH&lt;br /&gt;STS_DC&lt;br /&gt;STS_DC_DONOR = [iState, nState, nOccA, nOccB, nOrb]&lt;br /&gt;STS_DC_ACCEPTOR = [iState, nState, nOccA, nOccB, nOrb]&lt;br /&gt;*STS_D_NSTATE&lt;br /&gt;*STS_D_NALPHA&lt;br /&gt;*STS_A_NSTATE&lt;br /&gt;*STS_A_NALPHA&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;* old remkeys&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="title"&gt;routines added&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;setman/setman.F (mod)&lt;br /&gt;setman/sts.F (add)&lt;br /&gt;setman/stsDC.F (add)&lt;br /&gt;setman/stsdfd.F (add, make detach. and attach. densities for state-to-state transition)&lt;br /&gt;setman/sfdfd.F (add, make detach. and attach. densities for spin-flip transition)&lt;br /&gt;setman/cisfchg.F (add)&lt;br /&gt;setman/cismulmom.F (add)&lt;br /&gt;qparser/read_rem.C (mod, special input for stsDC)&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-4742369415512101895?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/4742369415512101895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=4742369415512101895' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/4742369415512101895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/4742369415512101895'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/12/q-chem-routines-and-remkey-s-added-for.html' title='[Q-CHEM] routines and remkey  s added for FED'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-2813621522253105324</id><published>2007-12-04T16:33:00.000+08:00</published><updated>2007-12-04T16:38:15.651+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='qchem'/><title type='text'>[Q-CHEM] qcaux update</title><content type='html'>basis update - racc-pV[DTQ]Z&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-2813621522253105324?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/2813621522253105324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=2813621522253105324' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2813621522253105324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2813621522253105324'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/12/q-chem-qcaux-update.html' title='[Q-CHEM] qcaux update'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-259560681526235256</id><published>2007-11-02T00:49:00.000+08:00</published><updated>2007-11-02T01:07:35.590+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='qchem'/><title type='text'>plot spin density using plots section</title><content type='html'>&lt;div class="subtitle"&gt;relevant routines&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;qparser/ParseQInput.C: invoke 'read_plots' function&lt;br /&gt;qparser/read_plots.C: parsing the input in plots section&lt;br /&gt;anlman/pltinp.C - get plot inputs from disk&lt;br /&gt;anlman/dnsanl.F - invoke PltInp to gain plot inputs&lt;br /&gt;(anlman/espevl.F)&lt;br /&gt;(ccman/interface_qchem.C)&lt;br /&gt;anlman/anlman.F - invoke DnsAnl to plot densities and MOs if IANLTY is set to 200 &lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-259560681526235256?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/259560681526235256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=259560681526235256' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/259560681526235256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/259560681526235256'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/11/plot-spin-density-using-plots-section.html' title='plot spin density using plots section'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-3616839875890951943</id><published>2007-08-07T01:57:00.002+08:00</published><updated>2008-05-17T16:20:47.340+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft'/><title type='text'>knowledge to windows security</title><content type='html'>&lt;div class="title"&gt;TCP connections limit&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;Due to the warm attacks, M$ limit the number of TCP connections (to 10).&lt;br /&gt;Apply patch from &lt;a href="http://www.lvllord.de/?lang=en&amp;url=downloads"&gt;http://www.lvllord.de/?lang=en&amp;url=downloads&lt;/a&gt; and reboot.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;TCP/UDP Port 135, 139, 445&lt;/div&gt;&lt;br /&gt;&lt;pre&gt; &lt;a href="http://www.grc.com/port_135.htm"&gt;http://www.grc.com/port_135.htm&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.grc.com/port_139.htm"&gt;http://www.grc.com/port_139.htm&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.grc.com/port_445.htm"&gt;http://www.grc.com/port_445.htm&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.20cn.net/ns/hk/hacker/data/20020819051358.htm"&gt;http://www.20cn.net/ns/hk/hacker/data/20020819051358.htm&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;Block through NAT&lt;/div&gt;&lt;br /&gt;&lt;pre&gt; Since those ports are supposed not to be exposed to the Internet,&lt;br /&gt; we block immediately them in incoming packets.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;Stop NetBIOS over TCP/IP&lt;/div&gt;&lt;br /&gt;&lt;pre&gt; In "Internet Protocol (TCP/IP)" -&gt; "Properties -&gt; "Advanced" &lt;br /&gt; -&gt; "WINS" -&gt; "Stop NetBIOS over TCP/IP", it will stop using port 139 (tcp).&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-3616839875890951943?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/3616839875890951943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=3616839875890951943' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/3616839875890951943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/3616839875890951943'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/08/knowledge-to-windows-security.html' title='knowledge to windows security'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-5493716813299821398</id><published>2007-08-05T14:46:00.000+08:00</published><updated>2007-12-29T23:55:23.663+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='snmp'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>snmp request timeout</title><content type='html'>&lt;div class="subtitle"&gt;descriptions&lt;/div&gt;&lt;br /&gt;&lt;pre&gt; Return "Timeout: No Response from localhost"&lt;br /&gt; when running snmpwalk -c my_community -v 1 localhost system&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;solutions&lt;/div&gt;&lt;br /&gt;&lt;pre&gt; 1. check access control in snmpd.conf&lt;br /&gt; 2. check tcpwrap (/etc/hosts.allow) for allowing snmpd&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-5493716813299821398?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/5493716813299821398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=5493716813299821398' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5493716813299821398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5493716813299821398'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/08/snmp-request-timeout.html' title='snmp request timeout'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-7596259369513238382</id><published>2007-08-03T12:20:00.000+08:00</published><updated>2007-12-29T23:50:05.433+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='port'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>[MAC] port and make</title><content type='html'>&lt;div class="subtitle"&gt;port usage&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;update outdated portname&lt;br /&gt;&lt;code class="cmd"&gt;$ port sync&lt;br /&gt;$ port -c -R upgrade outdated&lt;br /&gt;$ port -f -c uninstall inactive&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Determines which port owns a given file&lt;br /&gt;&lt;code class="cmd"&gt;$ port provides /path/to/file&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Lists the installed ports that depend on the port portname&lt;br /&gt;&lt;code class="cmd"&gt;$ port dependents &lt;portname&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;error when upgrade: Error: Error executing darwin_8: invalid command name "configure.compiler"&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ port -c -v selfupdate&lt;br /&gt;$ port sync&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;configure: error: this program cannot be compiled without X&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;The top directory of X11 is located in /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6.&lt;br /&gt;A example for making xdvik&lt;br /&gt;&lt;code class="cmd"&gt;$ ./configure --prefix=/usr/local/ --x-includes=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include --x-libraries=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib --datadir=/opt/local/share --with-xdvi-x-toolkit=xaw&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-7596259369513238382?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/7596259369513238382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=7596259369513238382' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7596259369513238382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7596259369513238382'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/08/something-on-my-mac.html' title='[MAC] port and make'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-2783933765196807602</id><published>2007-08-03T02:48:00.000+08:00</published><updated>2007-08-03T09:23:01.613+08:00</updated><title type='text'>a good saying</title><content type='html'>I apologize for writing a long letter because I didn't have time to write a short one.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-2783933765196807602?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/2783933765196807602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=2783933765196807602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2783933765196807602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2783933765196807602'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/08/saying.html' title='a good saying'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-1346361578512272444</id><published>2007-08-03T02:15:00.000+08:00</published><updated>2007-12-08T12:33:33.893+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='qchem'/><title type='text'>memory insufficient using qchem with mpich</title><content type='html'>&lt;div class="subtitle"&gt;solutions&lt;/div&gt;&lt;br /&gt;&lt;code&gt;P4_GLOBMEMSIZE=33554432&lt;br /&gt;export P4_GLOBMEMSIZE&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-1346361578512272444?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/1346361578512272444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=1346361578512272444' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/1346361578512272444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/1346361578512272444'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/08/memory-insufficient-using-qchem-with.html' title='memory insufficient using qchem with mpich'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-4590390872712675287</id><published>2007-07-31T10:48:00.000+08:00</published><updated>2007-09-11T09:58:15.076+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='intel'/><title type='text'>Command-line error: invalid GNU version number: 412</title><content type='html'>&lt;div class="subtitle"&gt;description&lt;/div&gt;&lt;br /&gt;&lt;pre&gt; error message "Command-line error: invalid GNU version number: 412"&lt;br /&gt; when running icc v8.1 under the environment of gcc-4.1 and glibc-2.5 &lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;sources&lt;/div&gt;&lt;br /&gt;&lt;pre&gt; That version is incompatible with gcc-4.1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;solutions&lt;/div&gt;&lt;br /&gt;&lt;pre&gt; 1. use icc v9.1 above instead&lt;br /&gt; 2. try to install compatible library ex: libstdc++5 etc.&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-4590390872712675287?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/4590390872712675287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=4590390872712675287' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/4590390872712675287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/4590390872712675287'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/07/command-line-error-invalid-gnu-version.html' title='Command-line error: invalid GNU version number: 412'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-8018342661472376316</id><published>2007-07-30T10:10:00.000+08:00</published><updated>2007-12-29T23:50:51.053+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>select() to /dev/rtc to wait for clock tick timed out</title><content type='html'>&lt;div class="subtitle"&gt;description&lt;/div&gt;&lt;br /&gt;&lt;pre&gt; error message "select() to /dev/rtc to wait for clock tick timed out" when using hwclock &lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;solutions&lt;/div&gt;&lt;br /&gt;&lt;pre&gt; 1. pass a parameter "--directisa" to hwclock&lt;br /&gt; 2. pick up one module among "rtc", "genrtc" and "rtc-dev"&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-8018342661472376316?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/8018342661472376316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=8018342661472376316' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8018342661472376316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8018342661472376316'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/07/select-to-devrtc-to-wait-for-clock-tick.html' title='select() to /dev/rtc to wait for clock tick timed out'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-2630309972160777468</id><published>2007-07-19T20:21:00.000+08:00</published><updated>2007-12-29T23:51:33.269+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>Quick guide to install Gentoo</title><content type='html'>&lt;div class="subtitle"&gt;quick installation&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;booting Live CD&lt;br /&gt;set up network&lt;br /&gt;partition disk (eg. /dev/sda)&lt;br /&gt;&lt;code&gt;/dev/sda1  /boot      100MB&lt;br /&gt;/dev/sda2  swap       2.5*MEM&lt;br /&gt;/dev/sda3  /          10GB&lt;br /&gt;/dev/sda5  /scratch   &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;prepare installation directory&lt;br /&gt;&lt;code class="cmd"&gt;$ mount /dev/sda3 /mnt/gentoo&lt;br /&gt;$ mkdir /mnt/gentoo/boot&lt;br /&gt;$ mount boot /mnt/gentoo/boot&lt;/code&gt;&lt;br /&gt;check date &lt;br /&gt;change current directory to /mnt/gentoo &lt;br /&gt;download stage3 (links http://ftp.isu.edu.tw)&lt;br /&gt;untar dowloaded stage file&lt;br /&gt;configure compile options in etc/make.conf&lt;br /&gt;&lt;code&gt;CHOST="x86_64-pc-linux-gnu"&lt;br /&gt;CFLAGS="-O2 -march=opteron -pipe"&lt;br /&gt;CXXFLAGS="${CFLAGS}"&lt;br /&gt;MAKEOPTS="-j3"&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;change root&lt;br /&gt;&lt;code class="cmd"&gt;$ cp -L /etc/resolve.conf /mnt/gentoo/etc/resolv.conf&lt;br /&gt;$ mount -t proc none /mnt/gentoo/proc&lt;br /&gt;$ mount -o bind /dev /mnt/gentoo/dev&lt;br /&gt;$ chroot /mnt/gentoo /bin/bash&lt;br /&gt;$ env-update&lt;br /&gt;$ source /etc/profile&lt;br /&gt;$ emerge --sync&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;install utilities for configuration&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="cmd"&gt;$ emerge vim ntp gentoolkit pciutils&lt;br /&gt;$ cp -f /usr/share/zoneinfo/Asia/Taipei /etc/localtime&lt;br /&gt;$ ntpdate stdtime.sinica.edu.tw; hwclock {--directisa} -w&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;check or change profiles (ls -FGg /etc/make.profile)&lt;br /&gt;&lt;code class="cmd"&gt;$ edit /etc/locale.gen ; run 'locale-gen'&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;update system (emerge system)&lt;br /&gt;&lt;code class="cmd"&gt;$ emerge gentoo-sources genkernel&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;configure kernel options&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;install utilities for administration&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ emerge syslog-ng vixie-cron logrotate logwatch xxfsprog tcsh nmap screen&lt;br /&gt;$ emerge grub&lt;br /&gt;.....&lt;br /&gt;$ umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;add daily services&lt;/div&gt;&lt;br /&gt;&lt;code&gt;10 5 * * * /usr/sbin/ntpdate stdtime.sinica.edu.tw &amp;&amp; /sbin/hwclock -w&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;local mail delievery&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;install relative packages&lt;br /&gt;&lt;code class="cmd"&gt;$ USE="mailwrapper" emerge postfix procmail&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;use /etc/procmailrc below&lt;br /&gt;&lt;code&gt;DEFAULT=/var/spool/mail/$LOGNAME&lt;br /&gt;SHELL=/bin/sh&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;modify those options in /etc/postfix/main.cf&lt;br /&gt;&lt;code&gt;myhostname = xxxx&lt;br /&gt;mydomain = xxxx&lt;br /&gt;inet_interfaces = localhost  # only allow local mail delievery&lt;br /&gt;home_mailbox = /var/spool/mail/$LOGNAME&lt;br /&gt;mailbox_command = /usr/bin/procmail&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;build aliases.db in /etc/mail/&lt;br /&gt;&lt;code class="cmd"&gt;$ newaliases&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;send a test mail with subject "test" &lt;br /&gt;&lt;code class="cmd"&gt;$ /etc/init.d/postfix start&lt;br /&gt;$ mail -s "test" your.mail.com&lt;br /&gt;.&lt;br /&gt;Ctrl+D&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;add postfix to startup&lt;br /&gt;&lt;code class="cmd"&gt;&lt;br /&gt;$ rc-update add postfix default&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;integration with your cluster&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;install relative packages&lt;br /&gt;&lt;code class="cmd"&gt;$ emerge ypbind nfs-utils&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;modify system database and switch file /etc/nsswitch.conf&lt;br /&gt;&lt;code&gt;#passwd:      compat&lt;br /&gt;#shadow:      compat&lt;br /&gt;#group:       compat&lt;br /&gt;&lt;br /&gt;passwd:    db files nis&lt;br /&gt;shadow:    db files nis&lt;br /&gt;group:     db files nis&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;enable ypbind service and add it to startup&lt;br /&gt;&lt;code class="cmd"&gt;$ /etc/init.d/ypbind start&lt;br /&gt;$ rc-update add ypbind default&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-2630309972160777468?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/2630309972160777468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=2630309972160777468' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2630309972160777468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2630309972160777468'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/07/quick-guide-to-install-gentoo.html' title='Quick guide to install Gentoo'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-7959960946110287134</id><published>2007-07-19T17:52:00.000+08:00</published><updated>2007-12-29T23:52:13.718+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>IP listing at berrylab</title><content type='html'>&lt;code&gt;231  blueberry&lt;br /&gt;232  salmonberry (firewall)&lt;br /&gt;233  strawberry&lt;br /&gt;234  raspberry&lt;br /&gt;235  blackberry&lt;br /&gt;236  boysenberry (cherri's printer #1)&lt;br /&gt;237  sugarberry (cherri's printer #2)&lt;br /&gt;238  (returned)&lt;br /&gt;239  coralberry (Lexmark T520)&lt;br /&gt;240  snowberry (Xerox C1618)&lt;br /&gt; &lt;br /&gt; 30  (returned)&lt;br /&gt; 31  sheepberry&lt;br /&gt; 32  salmonberry (sander)&lt;br /&gt; 33  gooseberry (CCD)&lt;br /&gt; 34  twinberry&lt;br /&gt;&lt;br /&gt;215  (returned)&lt;br /&gt;216  (returned)&lt;br /&gt;217  jrhwu8 (huckleberry) &lt;br /&gt;218  (returned)&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-7959960946110287134?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/7959960946110287134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=7959960946110287134' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7959960946110287134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7959960946110287134'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/07/ip-listing-at-berrylab.html' title='IP listing at berrylab'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-9214368572726273909</id><published>2007-07-19T15:48:00.000+08:00</published><updated>2007-12-29T23:52:21.596+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>Backup for configuration</title><content type='html'>&lt;div class="subtitle"&gt;huckleberry&lt;/div&gt;&lt;br /&gt;&lt;code&gt;/root/nat.script&lt;br /&gt;/root/route.script&lt;br /&gt;/etc/syslog-ng/syslog-ng.conf&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-9214368572726273909?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/9214368572726273909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=9214368572726273909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/9214368572726273909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/9214368572726273909'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/07/backup-for-configuration.html' title='Backup for configuration'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-8817553710381724412</id><published>2007-07-17T21:20:00.000+08:00</published><updated>2007-12-29T23:53:06.320+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>Reference for NAT &amp; Routing</title><content type='html'>&lt;pre&gt; &lt;a href="http://linux-ip.net/html/index.html"&gt;Guide to IP Layer Network Administration with Linux&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.policyrouting.org/PolicyRoutingBook/"&gt;Policy Routing With Linux&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.study-area.org/linux/servers/linux_nat.htm"&gt;Building NAT&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.netfilter.org/"&gt;netfilter&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.study-area.org//tips/packet-filter-howto/packet-filtering-HOWTO-chn.html"&gt;Linux 2.4 Packet Filtering HOWTO&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.netfilter.org/documentation/HOWTO/cn/NAT-HOWTO.html"&gt;Linux 2.4 NAT HOWTO&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.study-area.org/tips/2.4routing/2.4routing-big5.html"&gt;Linux 2.4 Advanced Routing HOWTO&lt;/a&gt;&lt;br /&gt; &lt;a href="http://linux.cis.nctu.edu.tw/chinese/how-to/NET-2-HOWTO.html"&gt;Linux NET-2/3-HOWTO&lt;/a&gt;&lt;br /&gt; &lt;a href="http://lartc.org/howto/"&gt;Linux Advanced Routing &amp; Traffic Control HOWTO&lt;/a&gt;&lt;br /&gt; &lt;a href="http://security.maruhn.com/"&gt;iptables &amp; netfilter - How to get started&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.ncu.edu.tw/~center5/livecd/ipnat/"&gt;Private IP &amp; NAT&lt;/a&gt;&lt;br /&gt; &lt;a href="http://linux.vbird.org/linux_server/0250simple_firewall.php"&gt;Linux Firewall &amp; NAT Host&lt;/a&gt;&lt;br /&gt; &lt;a href="http://ms.ntcb.edu.tw/~steven/article/iptables.htm"&gt;Linux iptables&lt;/a&gt;&lt;br /&gt; &lt;a href="http://turtle.ee.ncku.edu.tw/~tung/tcpip/routing.htm"&gt;Routing&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;Network bridge (?)&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/wesleyyou/837379463/" title="相片分享"&gt;&lt;img src="http://farm2.static.flickr.com/1163/837379463_48814686f1_o.png" width="776" height="298" alt="network bridge" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-8817553710381724412?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/8817553710381724412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=8817553710381724412' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8817553710381724412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/8817553710381724412'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/07/reference-for-iptables.html' title='Reference for NAT &amp; Routing'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-6034059078632833890</id><published>2007-07-17T20:46:00.000+08:00</published><updated>2007-12-29T23:53:11.090+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='admin'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='system'/><title type='text'>Commands for administration</title><content type='html'>&lt;div class="subtitle"&gt;system log analysis&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ logwatch --detail level{10,5,0} --service service-name --print&lt;br /&gt;&lt;/code&gt; &lt;br /&gt;&lt;div class="subtitle"&gt;iptable rules list&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ iptables -L -v -t nat&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;MAC address request&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ ping ip-address&lt;br /&gt;$ arp -n&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;show/manipulate routing, devices, policy routing and tunnels&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;please man ip&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;set an entry to ARP cache&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ /sbin/arp -s host_or_ip_address local_mac_address&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;set ARP proxy for a host&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ arp -Ds host_ip_address ethX pub&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;remove a host from proxy ARP&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ /sbin/arp -i ethX -d host_or_ip_address pub&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;ARP conversation captured with tcpdump&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ tcpdump -ennqti eth0 \( arp or icmp \)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;add/remove a rule to routing table via iproute2&lt;/div&gt;&lt;br /&gt;&lt;code class="cmd"&gt;$ ip route add/remove x.x.x.x/n dev ethX&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;logging via program name (with syslog-ng)&lt;/div&gt;&lt;br /&gt;&lt;code&gt; # comment for log&lt;br /&gt;filter name_for_filter { program("program_name"); };&lt;br /&gt;destination name_for_destl { file("/var/log/dir_to_log/file_to_log"); };&lt;br /&gt;log { source(src); filter(name_for_filter); destination(name_for_dest); };&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;logging via matching content (with syslog-ng)&lt;/div&gt;&lt;br /&gt;&lt;code&gt;# comment for log&lt;br /&gt;filter name_for_filter { match("reexp_to_match_content"); };&lt;br /&gt;destination name_for_destl { file("/var/log/dir_to_log/file_to_log"); };&lt;br /&gt;log { source(src); filter(name_for_filter); destination(name_for_dest); };&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;nfs usage&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;show NFS server export list&lt;br /&gt;&lt;code class="cmd"&gt;$ showmount -e nfshost&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;show all clients and mounted directories&lt;br /&gt;&lt;code class="cmd"&gt;$ showmount -a nfshos&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;iptables and NFS - a solution for NFS server under firewall&lt;br /&gt;&lt;code class="cmd"&gt;$ NFSTCP=`rpcinfo -p | grep -v program| awk '{ print $3 " " $4 }' | sort | uniq |\&lt;br /&gt;grep tcp | awk '{print $2}' | xargs| sed 's/ /,/g'`&lt;br /&gt;$ NFSUDP=`rpcinfo -p | grep -v program| awk '{ print $3 " " $4 }' | sort | uniq |\&lt;br /&gt;grep udp | awk '{print $2}' | xargs| sed 's/ /,/g'`&lt;br /&gt;$ iptables -N NFS&lt;br /&gt;$ iptables -N PESC&lt;br /&gt;$ iptables -A INPUT -p tcp -m multiport --dport $NFSTCP -j NFS&lt;br /&gt;$ iptables -A INPUT -p udp -m multiport --dport $NFSUDP -j NFS&lt;br /&gt;$ iptables -A NFS -j PESC&lt;br /&gt;$ iptables -A NFS -j DROP&lt;br /&gt;$ iptables -A PESC -s 10.0.0.0/24 -j ACCEPT&lt;br /&gt;$ iptables -A PESC -s 10.2.0.0/24 -j ACCEPT&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;rsync usage&lt;/div&gt;&lt;br /&gt;&lt;pre&gt;sync via rsync daemon (need to start rsynd service)&lt;br /&gt;&lt;code class="cmd"&gt;$ rsync -av host:/src /dest&lt;br /&gt;$ rsync -av host::module/src /dest&lt;br /&gt;$ rsync -av authuser@host::module_for_authuser/src /dest&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;sync through ssh tunnel&lt;br /&gt;&lt;code class="cmd"&gt;$ rsync -av -e "ssh -l sshuser" host:/src /dest&lt;br /&gt;$ rsync -av -e "ssh -l sshuser" authuser@host::module_for_authuser/src /dest&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="subtitle"&gt;mrtg usage&lt;/div&gt; &lt;br /&gt;&lt;pre&gt;create the index page&lt;br /&gt;&lt;code class="cmd"&gt;$ indexmaker --output=path_to_your_index path_to_config&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-6034059078632833890?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/6034059078632833890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=6034059078632833890' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/6034059078632833890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/6034059078632833890'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2007/07/commands-for-administration.html' title='Commands for administration'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-235620072903684571</id><published>2006-12-20T02:11:00.000+08:00</published><updated>2006-12-22T02:48:29.801+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='intel'/><category scheme='http://www.blogger.com/atom/ns#' term='qchem'/><title type='text'>optimize Q-CHEM by INTEL</title><content type='html'>Q-CHEM 的 makefile 相當混亂,&lt;br /&gt;特別是 for intel 的, linker option 居然設在 optimization,&lt;br /&gt;還有一些從 PGI 時期留下來的選項, 早該移除了, 避免混亂.&lt;br /&gt;&lt;br /&gt;目前有幾個計畫:&lt;br /&gt;一是提升 optimization 的 level (machine specific) 還有搞清楚 non-optimization 需不需要設定.&lt;br /&gt;二是 static link to ALL library. 因為 glibc 跟 gcc 變化太快了, 還是編死好了.&lt;br /&gt;三是 平行版本的最佳化.&lt;br /&gt;&lt;br /&gt;update&lt;br /&gt;&lt;br /&gt;make FFTW 這個 -assume nounderscore 別忘了&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-235620072903684571?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/235620072903684571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=235620072903684571' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/235620072903684571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/235620072903684571'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2006/12/optimize-q-chem-by-intel.html' title='optimize Q-CHEM by INTEL'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-5648428805810117509</id><published>2006-12-10T11:57:00.001+08:00</published><updated>2006-12-10T11:57:51.435+08:00</updated><title type='text'>poster to TCD conference</title><content type='html'>&lt;a href=http://www.box.net/public/xm3vdydz4b&gt;&lt;img border=0 src="http://www.box.net/index.php?rm=box_v2_file_button&amp;text=TCD_poster.pdf&amp;author=alienyuo@gmail.com"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-5648428805810117509?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/5648428805810117509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=5648428805810117509' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5648428805810117509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/5648428805810117509'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2006/12/poster-to-tcd-conference.html' title='poster to TCD conference'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-2486741371365310302</id><published>2006-12-04T16:38:00.000+08:00</published><updated>2006-12-04T16:49:06.296+08:00</updated><title type='text'>Fast Inverted Square - 1/sqrt(x)</title><content type='html'>How fast is it ?&lt;pre&gt;float InvSqrt (float x) {&lt;br /&gt;  float xhalf = 0.5f*x;&lt;br /&gt;  int i = *(int*)&amp;x;&lt;br /&gt;  i = 0x5f3759df - (i&gt;&gt;1);&lt;br /&gt;  x = *(float*)&amp;i;&lt;br /&gt;  x = x*(1.5f - xhalf*x*x);&lt;br /&gt;  return x;&lt;br /&gt;}&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-2486741371365310302?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/2486741371365310302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=2486741371365310302' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2486741371365310302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/2486741371365310302'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2006/12/fast-inverted-square-1sqrtx.html' title='Fast Inverted Square - 1/sqrt(x)'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-7945370940200287409</id><published>2006-12-01T16:33:00.001+08:00</published><updated>2006-12-09T00:24:27.815+08:00</updated><title type='text'>chemical formula of different type of chlorophyll</title><content type='html'>&lt;ul&gt;&lt;br /&gt;&lt;li/&gt;Chlorophyll &lt;span style="font-style:italic;"&gt;a&lt;/span&gt; : C&lt;sub&gt;55&lt;/sub&gt;H&lt;sub&gt;72&lt;/sub&gt;MgN&lt;sub&gt;4&lt;/sub&gt;O&lt;sub&gt;5&lt;/sub&gt; (137)&lt;br /&gt;&lt;li/&gt;Bacteriochlorophyll &lt;span style="font-style:italic;"&gt;a&lt;/span&gt; : C&lt;sub&gt;55&lt;/sub&gt;H&lt;sub&gt;74&lt;/sub&gt;MgN&lt;sub&gt;4&lt;/sub&gt;O&lt;sub&gt;6&lt;/sub&gt; (140), T&lt;sub&gt;1&lt;/sub&gt; - 8240 cm&lt;sup&gt;-1&lt;/sup&gt; (triethylamine), - 8190 cm&lt;sup&gt;-1&lt;/sup&gt; (pyridine/2-methylTHF), - 7580 cm&lt;sup&gt;-1&lt;/sup&gt; (&lt;span style="font-style:italic;"&gt;Rsp. molischianum&lt;/span&gt; LH2)&lt;br /&gt;&lt;li/&gt;Bchl &lt;span style="font-style:italic;"&gt;a&lt;/span&gt; without phytol chain : C&lt;sub&gt;35&lt;/sub&gt;H&lt;sub&gt;36&lt;/sub&gt;MgN&lt;sub&gt;4&lt;/sub&gt;O&lt;sub&gt;6&lt;/sub&gt; (82)&lt;br /&gt;&lt;li/&gt;Spheroidene (10) : C&lt;sub&gt;41&lt;/sub&gt;H&lt;sub&gt;60&lt;/sub&gt;O, T&lt;sub&gt;1&lt;/sub&gt; - 7050 cm&lt;sup&gt;-1&lt;/sup&gt; (14100 cm&lt;sup&gt;-1&lt;/sup&gt;/2), - 6920 cm&lt;sup&gt;-1&lt;/sup&gt; (&lt;span style="font-style:italic;"&gt;Rb. sphaeroides&lt;/span&gt; 2.4.1 LH2)&lt;br /&gt;&lt;li/&gt;&lt;a href="http://www.chemie.fu-berlin.de/chemistry/oc/terpene/carotin_en.html"&gt;Carotene (11)&lt;/a&gt; : C&lt;sub&gt;40&lt;/sub&gt;H&lt;sub&gt;56&lt;/sub&gt;,  T&lt;sub&gt;1&lt;/sub&gt; - 7400 cm&lt;sup&gt;-1&lt;/sup&gt; (C&lt;sub&gt;6&lt;/sub&gt;D&lt;sub&gt;6&lt;/sub&gt;)&lt;br /&gt;&lt;li/&gt;Lycopene (11) : C&lt;sub&gt;40&lt;/sub&gt;H&lt;sub&gt;56&lt;/sub&gt;, T&lt;sub&gt;1&lt;/sub&gt; - 6870 cm&lt;sup&gt;-1&lt;/sup&gt; (&lt;span style="font-style:italic;"&gt;Rsp. molischianum&lt;/span&gt; LH2)&lt;br /&gt;&lt;li/&gt;&lt;a href="http://www.chemie.fu-berlin.de/chemistry/oc/terpene/phytol_en.html"&gt;Phytol&lt;/a&gt; : C&lt;sub&gt;20&lt;/sub&gt;H&lt;sub&gt;40&lt;/sub&gt;O&lt;br /&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-7945370940200287409?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/7945370940200287409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=7945370940200287409' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7945370940200287409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7945370940200287409'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2006/12/chemical-formula-of-different-type-of.html' title='chemical formula of different type of chlorophyll'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-6784205312203753459</id><published>2006-11-19T05:58:00.000+08:00</published><updated>2006-11-20T05:51:07.493+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='qchem'/><title type='text'>mpich with icc 8.1</title><content type='html'>from beowulf.org: http://www.beowulf.org/archive/2004-December/011486.html&lt;br /&gt;&lt;div style="border: 1px solid solid; background: #bbbbbb; padding: 0px 10px 0px 10px; font-family: Verdana; font-size: 0.8em;"&gt;&lt;br /&gt;Oops - sorry, I just showed my complete ignorance of the profiling&lt;br /&gt;interface.&lt;br /&gt;&lt;br /&gt;The configure option --disable-weak-symbols will give you separate&lt;br /&gt;libpmpich.a and libmpich.a libraries, containing respectively the&lt;br /&gt;"PMPI_xxx" and "MPI_xxx" versions of the code.  The "PMPI_xxx" versions&lt;br /&gt;are the "real" versions.  The "MPI_xxx" versions allow implementation of&lt;br /&gt;routines which intercept a given call, say to do profiling, and which&lt;br /&gt;also call the "PMPI_xxx"  versions.&lt;br /&gt;&lt;br /&gt;If I'm interpreting the documentation correctly, with&lt;br /&gt;"--disable-weak-symbols" if you want to profile some calls and not other&lt;br /&gt;calls, you'd have to use a link command something like:&lt;br /&gt;     cc ... -lprof -lpmpi -lmpi&lt;br /&gt;where libprof.a contains profiling versions of selected routines, eg,&lt;br /&gt;MPI_Send, which in turn call the base version, PMPI_Send, resolved in&lt;br /&gt;libpmpi.a.  Other routines not defined in libprof.a would be resolved in&lt;br /&gt;libmpi.   With weak symbols, on the other hand, it is sufficient to use&lt;br /&gt;     cc ... -lprof -lmpi&lt;br /&gt;and then an "MPI_xxx" symbol not defined in libprof.a will be resolved&lt;br /&gt;by "PMPI_xxx" in libmpi.a&lt;br /&gt;&lt;br /&gt;See, for example,&lt;br /&gt;  http://www.netlib.org/utk/papers/mpi-book/node190.html&lt;br /&gt;&lt;br /&gt;I just checked on two versions of mvapich on one of my machines, one&lt;br /&gt;built with the Intel 7.1 compiler and the other with the 8.1 compiler.&lt;br /&gt;The latter required "--disable-weak-symbols".  I verified that mpif77,&lt;br /&gt;for example, explicitly linked with "-lpmpich -lmpich" on the 8.1&lt;br /&gt;version, but only with "-lmpich" on the 7.1 version.&lt;br /&gt;&lt;br /&gt;Don Holmgren&lt;br /&gt;Fermilab&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-6784205312203753459?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/6784205312203753459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=6784205312203753459' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/6784205312203753459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/6784205312203753459'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2006/11/mpich-with-icc-81.html' title='mpich with icc 8.1'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-6568416262655906597</id><published>2006-11-14T13:36:00.000+08:00</published><updated>2007-07-20T13:53:56.074+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='qchem'/><title type='text'>The rank function does not work in RPA ?</title><content type='html'>The rankings I used in StS module is wrong. The cause is that the CisRnk writes the rankings back to disk only for SET_TYPE = 0. Hence, when reading the rankings from FILE_SET_RANK, I get TDA results. Q-Chem developers do not think this is a bug. The reason I guess is the rankings for TDA will be used in latter case.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-6568416262655906597?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/6568416262655906597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=6568416262655906597' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/6568416262655906597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/6568416262655906597'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2006/11/rank-function-does-not-work-in-rap.html' title='The rank function does not work in RPA ?'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-7274837371156170058</id><published>2006-11-09T17:52:00.000+08:00</published><updated>2006-11-11T00:24:27.234+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sts'/><title type='text'>Löwdin Population Analysis in StS module</title><content type='html'>Reform the density matrix which is made by a non-orthogonal basis set to a new density matrix in terms of a symmetrically orthogonalized basis set. The diagonal elements of the new density matrix are commonly used for a &lt;span style="font-style: italic; font-weight: bold;"&gt;Löwdin population analysis&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration: line-through;"&gt;What I do is to extract the coefficient matrix in terms of an orthogonal basis set obtained by &lt;span style="font-style: italic; font-weight: bold;"&gt;canonical orthogonalization&lt;/span&gt; from the canonical molecular orbitals. The SCF procedure in Q-Chem keeps the lastest Fock matrices (which is formed by a non-orthogonal basis set) in scratch, named as &lt;span style="font-weight: bold"&gt;FILE_TEMP_FOCK&lt;/span&gt;. I gonna going to hack or learn from liblas/fock2mo.F which makes a coefficients matrix in terms of a non-orthogonal basis set&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Damn it !! It's not so complicated as I think. Don't worry about the linear dependence problem due to multiplying with the root-squared eigenvalue of the overlap matrix, not dividing it.&lt;br /&gt;&lt;br /&gt;The one-particle density matrix in discrete basis can be presented as sum of&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-7274837371156170058?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/7274837371156170058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=7274837371156170058' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7274837371156170058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7274837371156170058'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2006/11/lowding-population-in-sts-module.html' title='Löwdin Population Analysis in StS module'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-7358988644814068849</id><published>2006-11-03T00:58:00.000+08:00</published><updated>2006-11-28T06:15:24.200+08:00</updated><title type='text'>Abstract to 11/30 Seminar</title><content type='html'>&lt;h3&gt;Non-photochemical quenching - is the molecular mechanism illuminated by the high resolution crystal structures of light-harvesting complex II ?&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;The photosynthetic systems in higher plant efficiently utilizes low intensity of sunlight in shade and avoids oxidative damage to the photosynthetic apparatus under excess light condition. The latter is known as non-photochemical quenching (NPQ) which can be measured &lt;span style="font-style: italic"&gt;in vivo&lt;/span&gt; as a reduction in the yield of chlorophyll fluorescence. This quenching is a complex process over a range of different time scales. One fast component (qE) of NPQ has been associated with the lowering of the pH in the thylakoid lumen side, induction of the xanthophyll cycle, the presence of the PsbS protein and conformation change of light-harvesting complex II (LHCII) [1-5]. However, the molecular mechanism for NPQ is still not clear. Recent high-resolution crystals of LHCII [6-7] have been found in the quenched state and might provide molecule-based solution for NPQ. In my presentation, I am going to report the work by Pascal et al. (see the attachment). Their spectra data showed the evidence of conformation change in quenched LHCII and two possible quenching sites are addressed. Furthermore, my different point view to this paper and the demand of theoretical study will be given in this presentation.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li/&gt;Horton, P. et al. (1996) Regulation of light-harvesting in green plants. Annu. Rev. Plant Physiol. 47, 665-684&lt;br /&gt;&lt;li/&gt;Horton, P. et al. (2000) Allosteric regulation of the light-harvesting system of photosysmte II. Phil. Trans. R. Soc. Lond. B 355, 1361-1370&lt;br /&gt;&lt;li/&gt;Niyogi K. K. et al. (2001) Non-photochemical quenching. A response to excess light energy. Plant Physiology 125, 1558-1566&lt;br /&gt;&lt;li/&gt;Li, X. P. et al. (2000) A pigment-binding protein essential for regulation of photosynthetic light-harvesting. Nature 403, 391-395&lt;br /&gt;&lt;li/&gt;Demmig-Adams, B. (1990) Carotenoids and photoprotection: a role for the xanthophyll zeaxanthin. Biochim. Biophys. Acta 1020, 1-24&lt;br /&gt;&lt;li/&gt;Liu, Z. et al. (2004) Crystal structure of spinach major light-harvesting complex at 2.72A resolution. Nature 428, 287-292&lt;br /&gt;&lt;li/&gt;Standfuss, J. et al. (2005) Mechanisms of photoprotection and nonphotochemical quenching in pea light-harvesting complex at 2.5A resolution. EMBO J. 24, 919-928&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;br /&gt;Non-photochemical quenching (NPQ) process contains two components. Slow one is activated within minutes and directly related to the xanthophyll cycle (conversion of violaxanthin to zeaxanthin). Fast one is induced within seconds, which correlates with the drop gradient of pH and seems independent of the xanthophyll cycle. NPQ is also related to the Psbs (CP22) protein, which was found to be absent in &lt;span &lt;br /&gt;style="font-style: italic;"&gt;Arabidopsis&lt;/span&gt; mutants deficient in NPQ.&lt;br /&gt;--&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li/&gt; The overall time cost for releasing oxygen and protons is around 20ms.&lt;br /&gt;&lt;li/&gt; PQ pool release 2 protons around 5ms.&lt;br /&gt;&lt;br /&gt;&lt;li/&gt; fluorescence lifetime in LHCII, PSII, and &lt;span style="font-style: italic"&gt;vivo&lt;/span&gt;&lt;br /&gt;LHCII-trimer: 4ns&lt;br /&gt;LHCII-oligomer: 0.2-1.5ns (Moya, I, BIOCHEM40; Mullineaux, CW, BBA1141)&lt;br /&gt;LHCII-oligomer: 0.65ns (by FLIM)&lt;br /&gt;LHCII-crystal (plane?): 0.89ns (by FLIM)&lt;br /&gt;&lt;br /&gt;&lt;li/&gt; the way to induce conformation changes of light-harvesting complexes (LHCII), which result in wanted highly energy dissipating state.&lt;br /&gt;literal aggregation in the membrane plane&lt;br /&gt;perpendicularly stacking to the membrane plane&lt;br /&gt;other non-LHCII proteins presented&lt;br /&gt;lipid-environment presented&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;outline&lt;br /&gt;&lt;ul&gt;&lt;li/&gt;photochemistry in photosynthetic apparatus&lt;br /&gt;&lt;li/&gt;harvesting sunlight safely (materials from Nature paper by Demmig-Adams, Babara)&lt;br /&gt;&lt;li/&gt;chlorophyll fluorescence&lt;br /&gt;&lt;li/&gt;non-photochemical quenching (introduction to three kinds of NPQ and focus on qE which is dependent on the gradient of pH and the xanthophyll  cycle)&lt;br /&gt;&lt;li/&gt;slow component of qE&lt;br /&gt;&lt;li/&gt;fast component of qE&lt;br /&gt;&lt;li/&gt;structure related to fast one (chlorophyll self-quenching ?)&lt;br /&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-7358988644814068849?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/7358988644814068849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=7358988644814068849' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7358988644814068849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/7358988644814068849'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2006/11/abstract-to-1130-seminar.html' title='Abstract to 11/30 Seminar'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7636513840679984166.post-488076742957742169</id><published>2006-10-30T12:55:00.000+08:00</published><updated>2006-11-06T21:16:55.028+08:00</updated><title type='text'>Abstract to TCD conference</title><content type='html'>&lt;h3&gt;Triplet-triplet energy transfer in light-harvesting complex II of purple bacteria: &lt;span style="font-style: italic"&gt;ab-initio&lt;/span&gt; calculation for the energy transfer matrix element by fragment spin difference method&lt;/h3&gt;&lt;br /&gt;&lt;div style="border: 3px dashed gray; padding: 0px 10px 0px 10px; font-family: Verdana; font-size: 1.0em;"&gt;&lt;br /&gt;Photoprotective function prevents the photosynthetic apparatus from damages by highly reactive singlet oxygen. Little is known on the theoretical basis of the photoprotection processes involving triplet states of the chromophores in photosynthesis. Theoretical estimate of the triplet-triplet energy transfer matrix element provides an important clue to the understanding of photoprotective function. Recently, we have developed the fragment spin difference (FSD) method which allow us to estimate the electronic coupling for many systems. In this presentation, we first compare the FSD results with our previous data [1] derived from other methods. We then apply the FSD method to the calculation of the electronic coupling between pigments in light-harvesting complex II of purple bacteria. The &lt;span style="font-style: italic;"&gt;ab-initio&lt;/span&gt; coupling values are larger than previous semi-empirical values by one order magnitude. We will discuss the implication of these new coupling values in their possible role of avoiding singlet oxygen formation.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7636513840679984166-488076742957742169?l=wesleyatberrylab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wesleyatberrylab.blogspot.com/feeds/488076742957742169/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7636513840679984166&amp;postID=488076742957742169' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/488076742957742169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7636513840679984166/posts/default/488076742957742169'/><link rel='alternate' type='text/html' href='http://wesleyatberrylab.blogspot.com/2006/10/abstract-to-tcd-conference.html' title='Abstract to TCD conference'/><author><name>Wesley You</name><uri>http://www.blogger.com/profile/15182996192756505592</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://farm1.static.flickr.com/134/347163269_c04df50cb9.jpg'/></author><thr:total>0</thr:total></entry></feed>
