Monday, December 25, 2006

We're at the Top of the World

It's the ending song of recent American Pie 5: The Naked Mile, released in 2000 by The Juliana Theory.

We're at the top of the world, you and I
We've got a lot of time and it sure feels right
Cause you reached in your pocket and pulled out a pass
Says you can take me anywhere

Sha la la la sha la la la sha la la la la la la

We're on the top of the world, here tonight
We've got a lot of time and it sure feels right
Cause I'm up here running behind you
I'm up here running in repeat

Monday, December 18, 2006

iPod nano

The vacation is coming, and friends in the States are getting back. This Sunday afternoon superhog and I met riki at the airport, who was back from Stanford. It's said that in an hour beckwo also arrived from Pittsburgh. The nowhereman couple are currently having fun in the southwest. Ho, partita will be back from Hong Kong soon.

Thanks to riki that I've got my iPod nano with an armband, and my Froogle wish list comes to empty. It's really cute and cool, though a black body with white in-ear headphones is a little weird. superhog has got a green iPod nano and fishy prefers a red one. Anyway, just enjoy.

Thursday, December 07, 2006

Flood for Win32

Flood is an HTTP load tester provided by Apache. It's built on APR that should be portable across platforms. Here are some instructions that I figured out this afternoon on how to build it on Win32.

First check out the code from its repository. Remember to get APR ready. You can find a VC project file for flood. Just open it and compile, and it fails. That's OK.

1. Copy to config.h. Comment or fill macro definitions as you wish.

2. In flood_round_robin.c there's an include for regex.h. Look for any POSIX compatible regex library for Win32, such as GNU regex or PCRE. Refer to GnuWin32 if you don't want to compile from the source. I used the pre-compiled PCRE from GnuWin32.

3. Flood now should be compiled sucessfully. Try the shipped examples. If it crashes, look into "farmer_worker" function in flood_farm.c and uncomment the call to apr_thread_exit at the end due to some cleanup mess with apr_thread_join/apr_thread_exit on Win32.

One more word: if sample bash scripts cannot run in cygwin, replace all "\r\n" by "\n" in them. That's it. Enjoy!

Tuesday, December 05, 2006


After all the messy debugging stuff, I spent two amazing hours this afternoon in Nirvana with mystery and spiderman, a popular health club located quite near our campus. It's my first time to enjoy those equipments. Just running on a treadmill and seeing the sun getting down, wow, that's really cool. Usually I'd like to take a run in the evening on the Stadium. However, in winters and springs of Beijing it sucks due to bad weather, especially the well-known sandstorms that are so perfect to enjoy. I'm still considering whether to join them now, for it's really busy with projects this month.

Thursday, November 30, 2006

Walk On

I was charging the cell phone, a little boring, so I started to review Friends again (and again). At the end of Episode 18 of Season 10, U2's Walk On turned on. It's an amazing and striking song, also Record of the Year at Grammy 2002. I do love those "all that ..." and have used them in my BBS signatures for a long time.

November's gone and another year comes to close. The question rose again today "why are you staying for another year". It's actually what I should pay. Taking the road less traveled by, just walk on.

And love is not the easy thing
The only baggage you can bring
Is all that you can't leave behind

And if the darkness is to keep us apart
And if the daylight feels like it's a long way off
And if your glass heart should crack
And for one second you turn back
Oh no, be strong

Walk on, walk on
What you got they can't steal it
No, they can't even feel it
Walk on, walk on
Stay safe tonight

You're packing a suitcase for a place none of has been
A place that has to be believed to be seen
You could have flown away
A singing bird in an open cage
Who will only fly, only fly for freedom

Walk on, walk on
What you've got they can't deny it
Can't sell it or buy it
Walk on, walk on
You stay safe tonight

And I know it aches, how your heart it breaks
You can only take so much
Walk on, walk on

Home, hard to know what it is if you've never had one
Home, I can't say where it is but I know I'm going home
That's where the hurt is

And I know it aches and your heart it breaks
And you can only take so much
Walk on

Leave it behind
You've got to leave it behind
All that you fashion
All that you make
All that you build
All that you break
All that you measure
All that you feel
All this you can leave behind
All that you reason
It's only time
All that you bear
No more than a feeling on my mind
All that you see
All that you wear
All that you sense
All that you scheme
All you dress up
All that you've seen
All you create
And all that you wreck
All that you hate

Sunday, November 26, 2006


Last weekend the BBS system was updated to Fedora Core 6 by COMMAN. Many thanks! Well, it's been two years since the first installation in 2004. It's really hard at that time: two harddisks were damaged and sources were lost. With some luck there were backup data on nowhereman's machine, which actually was borrowed from my advisor. I can still remember the rainy day that parrot and I rushed for a new SCSI harddisk, experiencing feelings of anxiety and helplessness. Later we got further financial support from Trend Micro with the help of Jackie, and COMMAN gave hands to get things ready for a new machine.

We had even no display card then, so we just "borrowed" one from lfan's machine. It's the first 64-bit machine I had ever used. Getting the operating system OK, we printed sizeof(long) and sizeof(void *) to see "8" and grinned. After this, better worked hard to port SMTH code and got it running successfully. Only a few months later another storm came and the story became ridiculous. I've no interest in politics but I really hate those full of ambition. So better and I chose to quit at the April Fool. Stupid, huh?

Last night a few reports showed that the system failed to deal with the timestamp of comments of blogs. As COMMAN figured out, the blogs were stored in an old version of MySQL and the timestamp format was YYYYMMDDHHMMSS while newer MySQL uses YYYY-MM-DD HH:MM:SS. A minor fix works, and it's said to add "+0" in the column name in SQL statements would also be OK to retain the old timestamp format.

Thursday, November 23, 2006

V for thanksgiVing

Victory at all costs, victory in spite of all terror, victory however long and hard the road may be; for without victory there is no survival.

Winston S. Churchill

Yeah, not V for Vendetta. Another Thanksgiving.

I was so depressed one year ago when I wrote on my MSN space with the words "thanks to those who hurt me". Well, blow it off. In fact it's always oneself hurting himself.

Thanks to the nice guys who have cared about me and helped me a lot enjoy the amazing days on campus, especially to V, the optimist who is cute and nice, a gesture for victory, or a symbol for courage and hope. Viva la V!

By the way, I come to the new domain for my blog, procfs, which is technical and short that makes it a good one.

Wednesday, November 15, 2006


I've just uploaded a vim syntax file for SConscript, configuration files of the build tool SCons. Comments are welcome.

Sunday, November 12, 2006

We Can Go Anywhere

I'm so attracted to Jesse McCartney. Beautiful Soul and Because You Live in his last album Beautiful Soul of 2004 are that amazing.

We Can Go Anywhere is my favorite song in his new album Right Where You Want Me this year. Gorgeous! Other songs are also great, such as Right Where You Want Me, Just So You Know, Right Back in the Water.

Slow down
Things have been a little crazy
Right now
It's time to get away
You can find out
What it is you're really after
Time is on our side
C'mon we're leaving everything behind

You know that sun is shining
We'll keep driving
Doesn't matter where
'Cause we got that open highway
Leading our way
As long as you are there
We can go anywhere

All the pressure that surrounds you
Allow it all to fade away
We can move on
Looking in the rear view mirror
Wave goodbye
C'mon we're leaving everything behind

We're gonna be so far gone
Some place we ain't never been before
Find a new favourite song
We'll end up right where we belong

Come with me everything will be alright
Movin' on 'cause we're leaving it all behind

Saturday, November 11, 2006

Beyond Grand Canyon

Thanks to Madsen for helping me find Beyond Grand Canyon, the fourth album from Nicholas Gunn on the Grand Canyon.

The Boneyard demonstrates the impressive power of Gunn's flute once again, addressing the topic of death, in my mind. In a bleak wind bones disperse all over. In the circle of life, ashes to ashes, dust to dust. On the contrary, Bridal Falls is extremely sweet. Violin, piano and flute together create a beautiful view of rocks and water, where the sun is shining while drips are falling and reflecting. I like the two songs most in the album.

Well, the album is quite serious, at least not as springy as the previous albums. I'm afraid it's not good to enjoy it while working so that it would easily make me low in spirits.

Monday, November 06, 2006


It's so windy since the weekend, while the temperature went down below zero degree centigrade. Keeping blowing, the air became extremely fresh and the sky was really cute with the skyline of the Western Hills.

Over a month ago I got a shot of sunset at the same place, on the 14th floor of Zijing 14#. I was somewhat depressed at that time. Anyway, the October's gone.

Wednesday, November 01, 2006

Fall Color

Leaves of ginkgo trees turn golden, which is my favorite color of the season. There are many ginkgo trees on campus, especially around Building 6# and the Old Gate.

Behind the 1st Teaching Building there are also many trees of different colors. I was expecting to meet some squirrels there yesterday afternoon, however, out of luck.

Thursday, October 26, 2006

gtemplate 0.1

Gtemplate 0.1 is available, which is the first release. The user's guide may be a good start. Comments are welcome.

Sunday, October 15, 2006


Since Python 2.5, dict types provide a hook __missing__ method, to be called when a key is not found. It can be used to implement some fancy dictionary types. However, sometimes it's error-prone that only mydict[key] may trigger this method while mydict.get(key) will NOT, which leads to inconsistent semantics.

Wednesday, September 27, 2006

Xidi and Hongcun

This Tuesday I visited Xidi and Hongcun, two famous ancient villages in southern Anhui, honored by UNESCO. Traditional houses in southern Anhui were fascinating that no windows were on walls at all, left only some skylights for ventilating. Usually there was one skylight on the roof in front of the hall and maybe some on the roof of bedrooms. This made the house wet and cold.

About 80 percent of the residents of Xidi are of the Hu family. It's recorded that one son of Li Ye (867 - 904, the 19th emperor of the Tang dynasty) was sheltered secretly. Later the emperor and most of the royal family was murdered by Zhu Wen except this son, brought up safely by a nanny whose husband was of the Hu family. His descendants took Hu as the family name rather than Li, and that's the origin of the village.

The villagers were rather friendly.
Hongcun was nearby. About 70 percent of the residents are of the Wang family. Hongcun was arranged in the shape of an ox, two trees (one pagoda tree and one ginkgo tree) as its horns, streams as intestines and lakes as the stomachs. It's because the village were burned down several times that they designed so many streams and lakes around houses. The two trees were also interesting that I thought it was something about yin-yang balance in Chinese culture.

The journey ended in Tuesday evening, at the Xin'an river.

I took a flight back to Beijing and got to the campus late at night. Though not tired, nothing had changed except more work was left. It's time to move on.

Monday, September 25, 2006

Jade Valley

After getting down of Mt. Huangshan, I visited nearby Feicun Valley, or Jade Valley, where the Oscar winning movie Crouching Tiger, Hidden Dragon was casted. But there were little water in Autumn.

Jade valley was also known as Lovers' Valley, where couples showed up everywhere except me alone. I didn't finish the journey, for it's not a place should I travel all by myself.

Mt. Huangshan

Mt. Huangshan is famous for its fantastic pines, grotesque rocks, sea of clouds, hot springs and snow of winter. However, the weather was too good when I was there that there were few clouds, and no time to enjoy springs. Of course, it's not the right season to see snow. Maybe they could be left for next time.

The most famous pine tree on Mt. Huangshan should be the Welcoming Pine.

The Farewell Tree was also well-known. The former one died last year.

There were many beautiful pine trees. Their shapes were quite special and amazing, often growing in stocks.

The Lotus Peak was the highest peak, with a height of 6116 feet (1864 meters).

The Brightness Apex was only a little lower, with a height of 6102 feet (1860 meters). It's said to be a great place to see sunrise.

Thanks to these porters.

Sunday, September 24, 2006


It's only two hours drive on highway from Jiujiang to Jingdezhen, well known as the "Porcelain Capital". Though I didn't buy any, just watching was also enjoyable.

Saturday, September 23, 2006


After 12 hours train I arrived at Jiujiang of Jiangxi Province from Beijing on Friday morning. The city, quite and small, lay along the Yangtze River, adjacent Hubei and Anhui. It's centered around two lakes: Nanmen ("southern gate") Lake and Gantang ("birchleaf pear") Lake. Every morning and evening there were many citizens walking or running, as well as a beautiful fountain with colorful lights.

Here's a shot of the Yangtze River near the Anti-blood Square in memory of those heroes in the year 1998.

Mt. Lushan were considered to be a great place but it was not. Bad weather, bad mood, crowds, leaders' visit, too many villas and disappointing scenes made it uncomfortable at all. There's nothing impressive, I'm afraid I have to say that. Maybe next time I should come again to stay several days around Lake Poyang, the largest freshwater lake in China, only one hour drive from Jiujiang city. Here's shot of the Sandie ("three steps") Fall, the largest fall in Mt. Lushan, though in my opinion it's quite small.

I also visited the White Deer Grotto Academy at the foot of Mt. Lushan, revived by Zhu Xi, a great neo-Confucian. I thought this place was more like a symbol of his philosophy that dominated Chinese culture for several centuries.

Monday, September 18, 2006

Draft R6RS

Actually it's called R5.91RS: Revised5.91 Report on the Algorithmic Language Scheme. As far as I was concerned, some long desired features were addressed, such as library, Unicode, hash-table, etc. I do prefer a small language with extensible libraries, however, interoperability of different Scheme implementations remains a significant problem. Besides, I've seen a new I/O library but still no plan for networking and some other facilities, though they may not be the targets right now.

Sunday, September 17, 2006


History teaches us that men and nations behave wisely once they have exhausted all other alternatives.

Abba Eban

If history repeats itself, and the unexpected always happens, how incapable must Man be of learning from experience.

George Bernard Shaw

The Mukden Incident of September 18, 1931.

Friday, September 15, 2006


The story began when blink registered his GRE test in Dalian rather than in Beijing. He'd take it this Wednesday there, accompanied by TuotuoXP and me. We departed from Beijing at 6 o'clock Tuesday afternoon by train, which was really a twelve-hour nightmare: crowd, stupid air condition, lights that never dimmed all night, rude and savage conductors that woke all passengers at least 4 times for tickets, and even did a baby pee on me!

It's a pity that blink had to hurry back on Wednesday evening. TuotuoXP and me stayed in Dalian for about 36 hours and took a plane back to Beijing on Thursday evening.

Dalian that said to be the "Hong Kong of the North" was far smaller than expected. Walking would be a nice way for tourists most of the time. Transportation in Dalian was convenient, especially trolley cars. Dalian was famous for its sea view and squares. However, the weather was too foggy in the two days that we could hardly see anything from the sea.

Dalian was also well-known for its marine shipping. Here's a sculpture on the campus of Dalian Maritime University, a university of a good reputation all over the world.

Dalian at night was beautiful, such as a scene at Xinghai Square, the most famous square of Dalian.

The dock was not open for visitors.

Lovely sea birds played on a rock near the Tiger Beach.

Beaches in Dalian seemed not well protected. Skyscrapers could easily destroy the outline of the city, as seen at the Tiger Beach.

In Dalian University of Technology, newbies were taking the military training course.

And another view of the tennis court on campus, like a dream.

External links by TuotuoXP: 1 2 3 4.

Sunday, September 10, 2006

Clouds in Weiming Lake

Yesterday afternoon I fell asleep with bending over on the bench of MSRA, which made my hands and legs tingled. So I decided to go to the campus of Peking University for a walk. I always like to be alone around Weiming Lake to try to relax these years.

The Boya Tower.

Clouds and the mirrors.

A tadpole?

The sun went down and it's time to get back home.

Saturday, September 09, 2006

Sunset at Summer Palace

The day before yesterday (Friday), TuotuoXP and I took a bus to the Summer Palace, near to our campus. As soon as we arrived at the lakeside, oh, so many photographers that it's easy to tell how perfect the weather was!

Kunming Lake was rather big, which made the view quite open and comfortable. A big block of could lay on the top of the west hills and the sun went down between them.

The sun disappeared, with lights spewing, which reminded me of Mordor:-)

TuotuoXP had taken far more beautiful photos.

After that his dad drove us home. With weidog, a really kind and professional guy, we took the metro to the Tian'anmen Square and Wangfujing, to enjoy an amazing night. We got back TuotuoXP's home at about 2 o'clock in the morning. I took his bed, and he slept in a sofa. Sorry, buddy:-)

Friday, September 08, 2006

IronPython 1.0

IronPython finally comes to its 1.0 release. Great! Thanks to Jim Hugunin, creator of Jython and IronPython, and his team. I do think there should be an alternative scripting language for .NET beside C# for prototype development, just like Groovy for Java. In fact VB ought to have taken this responsibility but it seems on an aberrant way.

I've tried to run some of my previous Python code under IronPython. A simple online monitor program for our BBS ran quite well, except the logging module failed to load due to the lack of implementation of sys._getframe (some workaround could be applied though not perfect). Another blog crawler using Python 2.5 features (mostly because of using elementtree for XPath) ran after a few minor modifications of the source code of IronPython (and of course, a recompilation). Actually, the source code is very clear and suitable for reading. I'm quite looking forward to the next release.

Wednesday, September 06, 2006

Flight of the Condor

I was chatting with riki today on traveling across America. What a dream! His parents would like to make it true next year after his graduation from Stanford. I suggested to start from San Francisco, pass Los Angeles, Las Vegas, Denver, Omaha, Chicago, and end at New York. Hoo, the route must go through the Grand Canyon, about which Nicholas Gunn has several famous New Age music albums. In The Music Of The Grand Canyon [1995] "Entering Twin Falls" is pretty good. In the sequel album Return to the Grand Canyon [1999] "Flight of the Condor" favors me most. They are both included in The Great Southwest [2001].

The most impressive highlight of the song "Flight of the Condor" is the alternation of Gunn's gentle flute and Karen Briggs's (the fabulous lady in red at Yanni's "Live at the Acropolis" concert) passionate violin, that makes feel like hovering over the Grand Canyon to enjoy an amazing birds eye view of the landscape while wind blows off. Besides, the gorgeous drumbeats are also as exciting as in most Gunn's songs. By the way, Gunn's new album Beyond Grand Canyon was put on sale this July, his fourth album on the Canyon. I'm wondering where I could find it now in Beijing.

Tuesday, September 05, 2006

Fragrant Hills

After the call I headed back to our campus to meet TuotuoXP. Leaving at about 11 o'clock yesterday morning, we bicycled along the Qinghe River and the 5th Ring Road on the north of our campus. Riding on such a nice path was really comfortable, enjoying sunshine and breezes.

Fragrant Hills, or Xiangshan, is to the northeast of the Beijing city, most famous for its red smoke tree leaves in late autumn and snow scenery in winter. The trip from the campus was about 12 miles (20 kilometers). We didn't hurry and photoed wherever, so it took us about 2 hours to get there.

After having lunch, we started to climb. The Xianglu Peak was about 1400 feet (400 meters) in height. On the way along we saw quite a lot of old men enjoying climbing. The Fragrant Hills seemed to be a public garden for citizens rather than for tourists. Good! At about 3 o'clock in the afternoon we got to the top of Xianglu Peak. Wow, a birds eye view of Beijing that lies to the east, that's it!

Then we chatted to wait for sunset for about 2 hours. Damn! The battery of my camera soon ran out! And I missed the chance to take photos of the sunset. Remember to charge next time! Luckily, there are far more beautiful photos and a nice blog from TuotuoXP.

After the sun went down, we got down the hill, had our supper and headed back to campus. Mum called to tell me that my pet dog got another four children!

What a nice trip! We're planning to explore here again in late autumn, when leaves turn red or yellow in a colorful world.

Morning Glory

After a whole day's skiing and snowboarding, I got up with aching all over on the Monday morning. Getting everything ready I headed for MSRA. The gorgeous blue sky with clouds of all shapes stroke me when passing by the main building on campus. I looked around and got excited. So I buzzed TuotuoXP immediately for an outing but nobody answered the call.

I had no choice but kept on going south. Buildings in such a great day seemed much more amazing and lofty, such as the Yin'gu Building on the 4th Ring Road. Bicycling across it, the west hills that were so clear indicated the charming autumn, my favorite season in Beijing, already fell in the city. Hooray!

I was taking photos of morning glory flowers along the avenue when TuotuoXP called back. It would be a pity to stay in doors in such a day. So we decided to bicycle for Xiangshan, the Fragrant Hills, one of the most famous parks in Beijing.

Sunday, September 03, 2006

Skiing and Snowboarding

It's my first time skiing/snowboarding, so fascinating! The activity was organized by some nice guys from the SKI board of SMTH BBS. It cost 120 RMB for a whole day skiing and 30 RMB for round-trip bus to Qiaobo Ice & Snow World, a great indoor ski/snowboarding resort in Shunyi (a district in the east of Beijing).

So many guys from our department turned up: Barbary, bluewhales, dreamer, eNigMa and his girlfriend, gb, King, sheven and his girlfriend, superhog, taurus, wolf, xray, Yulai and his sister, that might be a half of all participants. We departed at about 8 o'clock in the morning and arrived there in an hour by bus. After changing for ski wear and taking ski equipments (skis, boots and poles) I started my whole day's tumble. First we were taught how to fall down and get up by an expert. Well, believe me that's not easy to do it. Then we learned snowplow, the downhill technique for beginners. And we practised. I didn't fall down at my third try and tried to learn turning. It's so great that I could turn slightly before lunch.

After lunch I skied for a while and began to experience snowboarding, which was really cool but much harder to start. That's a far longer story of falling down again and again but really amazing to jump and rotate in all attractive actions. Also at my third try I didn't fall down on a snowboard. However, there's not enough time to practise more. At about 5:30 in the afternoon we left. Snowboarding would be enjoyed next time, I'm pretty sure.

Thursday, August 31, 2006


I'm still not sure whether moving out would be a good decision. Nevertheless, it made me realize more about the longest distance that you face your love every day but cannot say it out. OK, move on, buddy. Just get over it.

At last I met Jian, the director this afternoon. Before entering his office I felt a little nervous. He's nice and conversational so most of the time I was just listening. The goal of the data-driven system is gorgeous and attractive, as he described, a chance with cost and challenges, where Google's already a pacemaker. Benyu and Weizhu also encouraged me a lot. I really appreciate it. Well, it's fascinating that six-month coding is worth nothing but a report of two-hour debugging works effectively.

Then I hurried back to campus for a talk given by David Axmark, co-founder of MySQL. At first I even ran into a wrong room until the words such as "exon" and "gene" drove me out. There were not many audience, and very few questions were proposed as in classes of Tsinghua, which always made the speaker disappointed. David sighed that might be why there were few open source projects in China. Passion and curiosity may be the best drive powers, but neither could live easily. Besides, there would be a story about a Triton among the minnows.

Tuesday, August 29, 2006

Life as a Debugger

What a day!

A DFS (distributed file system) suffered from a network problem and my mentor asked me to solve it, which took most of my afternoon. In fact the problem was rather old: when sending or receiving large blocks of data (10M – 70M on different machines), calls to send/recv probably fail with error code WSAENOBUFS (10055). I believe that the problem is due to running out of kernel memory for sending or receiving data. More powerful a machine is, the bigger the threshold buffer size could be.

As KB201213 suggests, following workarounds could be applied:
  • Use the socket in non-blocking or asynchronous mode.
  • Break large-size data blocks into small ones and specify a relatively small buffer in send for blocking sockets, preferably no larger than 64K.
  • Set the SO_SNDBUF socket option to 0 (zero) to allow the stack to send from your application buffer directly.
However, asynchronous I/O does not always work for this problem. Neither could setting SQ_SNDBUF option get over it.

In my opinion, overlapped I/O locks the memory that would be sent or received to avoid page switching. When the size of locked memory goes too large, the kernel would think that there’s no sufficient memory and WSAENOBUFS is returned.

The basic idea is to break large blocks into smaller ones. Using for-loops for send/recv on smaller buffers may be the simplest solution. An alternative is to use scatter/gather I/O by WSASend/WSARecv. First, a large buffer can also be allocated at once as usual, however, pass in an array of WSABUF that contains pointers to different sections of the buffer, where each section has a smaller size (16K - 1M, for example). This approach might be faster though more bug-prone.

I had reproduced the problem on a desktop and solved it using the proposed approach. Further test would be taken on the original source code to verify it. By the way, note that a recent API TransmitPackets is likely to fail without any error code reported.

Later I turned to a memory exception problem when using IT++ to do SVD on a 30,000*30,000 matrix on a server with an AMD Opteron 254 (daul-core) and 16G physical memory. Such a matrix takes slightly less than 8G memory and a SVD would consume about 24G memory for 3 matrices. However, someone set the maximum virtual memory size to only 2G which would definitely trigger the memory exception. Adjust it and everything is OK.

After supper, I got a message from the physics guy on GTalk asking me to help with compile another two libraries...

Monday, August 28, 2006

Life as a Compiler

I spent the whole afternoon helping a PhD student from Physics Department with compiling the PARATEC library (a Fortran library of some quantum stuff that I've no idea at all) on ChinaGrid, where each node has dual Itanium CPUs, using Intel Fortran and C/C++ compilers. The configurations on the grid were a little confusing that ScalaPack, fftw, MKL, gcc, icc, BLAS, etc. all exist but no MPI versions. However, everything went quite well linking against MKL cluster edition though the library was designed to be compiled by pgf compiler. Remember that the functions "derf" and "derfc" should be renamed to "vderf" and "vderfc" when using Intel Fortran compiler, respectively, and don't mix gcc and icc.

The physics guy said that they had spent over a year on compiling this on ChinaGrid, gosh! Currently he's testing the program and checking the results. I agree with my boss that they do need something similar to nanoHUB to simplify scientific computing, or too much time would be wasted on getting over these meaningless obstacles.

While compiling the library I was talking to Sunny and tension on GTalk. They just went to Redondo Beach near Los Angeles with mingkong, waicha, etc., enjoying the sea, playing football and taking a lot of beautiful photos. Wow, I'm thinking about hanging around to take some photos of the rail on the east of the campus. That might be cool.

Saturday, August 26, 2006

Flowers around Houhai

Here're some photos of flowers I encountered around Houhai. Autumn in Beijing will be far more amazing and attractive that I'm so looking forward to. By the way, I'm not good at telling plants and Jack helped me. Thanks.

Chinese hibiscus / 朱槿

Sorbaria kirilowii / 珍珠梅

Kerria / 棣棠