Work @ CCT

Friday, December 29, 2006

Problems with Fortran compiler on Darwin and othe bench stuff...

Today I had problems with compiling the Cactus benchmark on a Darwin machine.

Something useful I found on the CactusCode Developer's list:
http://www.cactuscode.org/pipermail/users/2005-March/001391.html

-off-topic:Someone sent me today this link:
http://www.dilbert.com/comics/dilbert/archive/images/dilbert2006152711228.gif

Here I have my final gnuplot script:

#This script contains the commands to generate the plot for the BSSN_PUGH benchmark results.

#This is the dataset we used and which goes in BSSN_PUGH_100l.dat
#machine wall time #processors
#Bassi_sp 567.268 1
#numrel02 728.128 1
#catbert 853.416 1
#xws2 965.440 1
#santaka 1140.422 1
#helix2 1436.51 1


#Set the range for the axes
set xrange [-0.5:6]
set yrange [0:1500]

#Set the width of the boxes for the histogram
set boxwidth 0.15 absolute
set style fill solid 1.00 border -1

#Set the labels on the x axis and rotate them
set xtics ("Bassi" 0.00000, "numrel02" 1.0000, "catbert" 2.00000, "xws2" 3.00000, "santaka" 4.00000, "helix2" 5.00000)
#set xtics rotate by -45
plot "BSSN_PUGH_100l.dat" u :2 w boxes

#Set the title and the axes labels
set title "Wall Time Comparison for Different Machines"
set ylabel "Wall Time in Seconds"
set xlabel "Machine and Architecture"

#Plot the graph and save the output to a file
plot "BSSN_PUGH_100l.dat" u :2 w boxes
set terminal png color small
set output "BSSN_PUGH_100l.png"
plot "BSSN_PUGH_100l.dat" u :2 w boxes


...I finished the Presentation web page. Now it looks really nice. I uploaded the .bib, -bib.html and the .html files.
Here is the link... but I don't know if it's working for those that don't have an account:
http://www.cactuscode.org/Documentation/Presentations/

I also made the News item that I owed to Gab and Tom Goodale about the BSSN_PUGH scaling on BGW.
http://www.cactuscode.org/News/bssnpughonbgw
For this I had an Excel file and (Excel) graph, but I wrote a gnuplot script for this too, to plot the scaling results.

Today I also cleaned the KrancLatex CVS. It took me more than one hour... but I'm done for this year ... or at least for this payperiod.

Things to do:
-ask Peter or Yaakoub or the cactusmain group about Nemeaux and/or greengrass
-find if there is any repository for Presentations, if not create one
-convert the sdd into pdf
-eventually upload the ppts and the sdds.
-figure out how to label with bullets instead of numbers
-do the same things for Bench_whisky_Carpet, as for Bench_BSSN_PUGH

Labels: , , , , ,

Working with bibtex

Yesterday I learnt how to modify a bibtex style file bst. I didn't change much; I just made the title in italics.
Here is the portion of code that does this:


FUNCTION {format.title}
{ title empty$
{ "" }
{ title "t" change.case$ emphasize}
if$
}


The commands for creating the html file are in my case:

-to sort the entries by year and reverse them:
./bib2bib -r -s year Presentations.bib > Presentations1.bib

-to create the html files:
./bibtex2html -style plain.bst Presentations1.bib

An entry in the Presentations.bib looks like this:

@INPROCEEDINGS{CactusPresentations_Allen01b,
author = {Gabrielle Allen},
title = {{Numerical Relativity with Cactus}},
urlpdf = {http://www.cactuscode.org/Documentation/presentations/gr16July01.pdf
},
note = {Description: Numerical Relativity Workshop, Satellite Meeting of GR16
- Johannesberg, South Africa},
month = {July},
year = {2001}
}


I tried to find a way to have the entries labeled with bullets instead of numbers for the html, but I didn't find anything yet. :(

Yesterday I partially finished running the benchmark. ( I still couldn't get my hands on igertws09 and I couldn't compile the Bench_BSSN_PUGH on Nemeaux or greengrass - arch=Darwin.) In the same time with the runnings I wrote the .bib file and convert the ppts to pdfs. There were some presentations on sdd format and I was told that these could be opened with OpenOffice. Now, the presentation web page looks reasonable. Eventually I would have to delimitate the entries by year with a line - this was the suggestion I received; this would make the page looks nice, but having bullets instead of numbers would make it nicer.

Labels: , ,

Monday, December 25, 2006

Useful Unix commands

uname -a --prints all system information

cat /proc/cpuinfo -- tells the processor type, the clockspeed, etc for each processor

top -- shows the top jobs running on the machine

Friday, December 22, 2006

Who says it's not easy to create a PC-Mac network?

Yesterday I made my first small home-network: my Mac connects to Internet through a PC with a wireless card. I did not have a router, but only two computers, a USB cable and a wireless card. I had to install the wireless card, connect the computers and create a bridge connection between the two. Finally, I had to allow the dial-up connection to share the internet via wireless.
It was fun reading about networks and setting up computers. :)
Who could have ever imagined that I would have to do this on my first day of Christmas break... after 22 hours of flight?...

Tuesday, December 12, 2006

histograms in gnuplot

These days I'm doing benchmarking stuff.
Here are a few commands to generate histograms with gnuplot:

set xrange [-0.5:4]
set yrange [0:1100]
set boxwidth 0.5 absolute
set style fill solid 1.00 border -1
set xtics ("Bassi(SP P5-575 1.9Ghz)" 0.00000, "Bassi(DP P5-575 1.9Ghz)" 1.0000,
"Loni(P5-575 1.9Ghz)" 2.00000, "Supermike(Intel Xeon 3.06Ghz)" 3.00000)
set title "Wall Time Comparison for Different Machines"
set ylabel "Wall Time in Seconds"
set xlabel "Machine and Architecture"
plot "BSSN_PUGH_100l.dat" u :2 w boxes
plot "BSSN_PUGH_100l.dat" u :2 w boxes
set terminal postscript
set output "BSSN_PUGH_100l.eps"
plot "BSSN_PUGH_100l.dat" u :2 w boxes


Facts I "discovered" today:
-gnuplot's postscript terminal does not have the option of changing the page size.
-gnuplot writes the entire .eps file from scratch

Saturday, December 9, 2006

What's this all about?

Hi there!

This is my first entry in a blog that is supposed to describe my CCT work. I just hope that I can make time to write on it.
It will be only for my personal reference. This last summer I had an internship at LBL and those guys asked me to have a web-page with the projects I was working on. At the end, when I had to give two presentations it was really helpful. There were lots of details I wrote down at the time I was writing the pages and that I wouldn't have remember otherwise.

More, I think it's good to have something you can come back to at the end of the week and see what your progress of that week was.

I wish y'all the best,
Elena