Monday, February 1, 2010

How to compile and run DTMS

  1. go to Usr/, do a make
  2. edit dtms.inp, change nrtitr and nrtout to small values (20 or 40)
  3. edit dtms.sh, use your own email and account
  4. submit the job

Thursday, January 28, 2010

Picture of twitter being down

http://users.nccs.gov/~zzhang3/twitter_down.jpg

Thursday, January 21, 2010

Compiling and using shared libraries on Juguar

To link to a dynamic library, besides the -L <path_to_lib>and -l<name_of_lib>, also remember to use -Bdynamic! It is because Jaguar is using pgcc for parallel programs.

It took me at least 5 hours to find out. Google rocks...


But Jaguar compute nodes cannot load the dynamic library. So look at this page for linking to static library.

Monday, January 4, 2010

Submitting job to jaguarpf


  1. Use this job script (test.pbs)

  2. #PBS -A STF008
    #PBS -N test
    #PBS -j oe
    #PBS -l walltime=1:00:00,size=12

    cd /lustre/widow1/scratch/zzhang3
    date
    env IOTA_LOGFILE=/lustre/widow1/scratch/zzhang3/output aprun -n 12 ./pi


  3. Submit it using qsub test.pbs

  4. Monitor the job status using qstat -a

Monday, December 21, 2009

Starting to learn strace now

Questions I want to figure out:
  1. Can we just trace certain functions? -- Yes
  2. Why do people still spend a lot of time developing other tracing tools? -- For light weight
  3. strace -o strace_output.txt -e trace=open,close , this allows you to track certain system calls

Monday, November 23, 2009

Jaguar the fastest computer in the world!

Jaguar is listed as the fastest computer in the world on November 16th, a day which is easy for me to remember since it is my first day of work :)

How do supercomputers really affect a person's daily life? Better weather forecast?

Saturday, September 12, 2009

Old school blog, mini blog, photo blog, voting blog, OMG!

Now I am writing this "old school" blog on blogger.com. I also use twitter for mini blog, Flickr for photos, and facebook for some other interesting apps.

Should social network sites be unified? Technically, there might be some difficulties since they all have their strengths. But as a user, I would like a one-stop shopping place...