Programming Assignment

5 views
Skip to first unread message

Guofeng

unread,
Oct 1, 2007, 1:44:18 PM10/1/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
Here is a link to a decent online MPI programming overview:

http://www-unix.mcs.anl.gov/dbpp/text/node94.html

Regards,
Guofeng

Guofeng

unread,
Oct 2, 2007, 9:45:56 PM10/2/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
Hi all,

The assignment specification has been posted in the ASSIGNMENT section
on the course website. Let us know if you have any questions.

Regards,
Guofeng

Sandeep Gupta

unread,
Oct 3, 2007, 11:51:05 AM10/3/07
to asucse520-fall-07-advanc...@googlegroups.com, Sandeep Gupta

Also please fine a tentative reading list to help you identifying with
some interesting papers related to class topics.

-sg

Pradnyesh Gudadhe

unread,
Oct 3, 2007, 7:18:46 PM10/3/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
Hi,
I have one question.
The assignment says: " "0" will indicate the leftmost column or
topmost row, respectively."
This is regarding the ordered pairs in the input file.
The quoted statement indicates that the ordered pair is < col, row >
I would like to confirm once, if its supposed to be < row, col > or <
col, row >
Thanks.

-Pradnyesh

Guofeng

unread,
Oct 3, 2007, 7:41:37 PM10/3/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
You can assume <row, col>. If assuming the other, you will get the
transpose, which is also acceptable.

Regards,
Guofeng

Pradnyesh Gudadhe

unread,
Oct 3, 2007, 7:53:09 PM10/3/07
to asucse520-fall-07-advanc...@googlegroups.com
Thanks. :)

-Pradnyesh

Guofeng

unread,
Oct 8, 2007, 11:06:37 AM10/8/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
Hi guys,

I have included a couple of test cases for the programming assignment
in the ASSIGNMENT section
on the course website. Let me know if there are any questions.

Regards,
Guofen

On Oct 2, 6:45 pm, Guofeng <guofeng.d...@gmail.com> wrote:

Ayan

unread,
Oct 13, 2007, 10:26:19 PM10/13/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
Hi all,
I think in this program you are limited with your size of the array.
Because I tried a 50 cross 50 array but it gave error in the runtime.
But when I used an array size of 32 cross 32 then the program worked
fine. Have anybody faced the same problem?

Ayan

Guofeng

unread,
Oct 25, 2007, 9:07:11 PM10/25/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
Hi folks,

The second programming assignment has been announced today. Briefly,
you will write a program, which runs on the cell simulator, that
multiplies 2 matrices of 1024 by 1024. The goal is to make the program
run as fast as possible by exploring data-level parallelism, SIMD and
communication & computation parallelism, etc. on cell processors. You
have tentatively two weeks working on the assignment. We will announce
a formal specification of the assignment later.

For this assignment, 19 students will be divided into 9 groups. You
will be working on the computers, which have the cell simulator ready,
either in Dr. Gupta's or Dr. Shrivastava's lab. There will 2 to 3
groups working on each computer. You should be able to access these
computers remotely using SSH and Hummingbird/Exceed.

Here is a list of things you need to do now:

1. Form a group of 2 students and send me the names via email. I will
then assign you the computers. There will be only one group of 3, for
which we do FCFS.

2. Start to read materials about cell processors, programming on cell
processors and simulators, and do the cell user guide. You can find
them in the lecture notes on our web page.

3. If you have any questions, discuss them here in this thread
(Programming Assignment) or shoot us email.

Regards,
Guofeng

Guofeng

unread,
Oct 27, 2007, 10:30:08 PM10/27/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
If you have the similar question, do the following:

1. Install hummingbird and run Exceed.
2. Run SSH; enable TunnelX11 connections under Edit --> Settings -->
Profile Settings --> Connection --> Tunneling.

Let me know if this is not working.

Regards,
Guofeng

> I have tried to run the example program on ps3 cell simulator.
> However I meet one problem: after I input the systemsim -g -q &,
> there is no any graphical window. I am trying to connect the simulator
> from a XP system. And I have installed the exceed10 beforehand.
> The msg alert that var DISPLAY not set, but what shall the value of
> DISPLAY be. I dont know what's wrong. Help!


Guofeng

unread,
Oct 31, 2007, 2:33:30 PM10/31/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
Hi folks,

I have the following announcements about PA2.


1. We have set up 2 computers for this assignment. There will be
another computer available at the end of the week. So, there will be 3
groups sharing each computer. Find your group name at
http://impact.asu.edu/cse520fa07/cellsim.html and the computer
resources below. You can modify the password later. When the third
computer is ready, I will move group 7 to there. I am waiting for
information of group 8 and group 9. I will assign the members for the
2 groups unless I receive volunteers by the end of this Saturday.

Computer 1: Located at BY531AB, right in front of the entrance of our
lab.
You can work on it either remotely or locally.
IP address 149.169.177.239
usernames : group1 passwd group1
usernames : group2 passwd group3
usernames : group3 passwd group3
usernames : group7 passwd group7

Computer 2: Remote access only.
IP address 149.169.176.115
usernames : group4 passwd group4
usernames : group5 passwd group5
usernames : group6 passwd group6


2. input and output

Your program should take 3 command line arguments. The first argument
is an integer, e.g., 2, which means the first matrix is an all 2's
matrix (1024x1024). Similarly, the second argument, an integer, is
used to define the second matrix (1024x1024). The third argument is a
string, which is taken as the output file name. For example, you will
run your program like ./myprogram 2 3 myout.


3. what to submit

This is a team assignment. So, each group will submit one program. The
program should be well commented. Besides, you need to submit a
writeup about what technique you applied to make the program faster
and how. Include all your programs in a tar file and submit it to TA
via email before due time with a subject line "cse520pa2:groupname".
Put compile command, known bugs and any other issues you want us know
in the email body.

A formal specification is under preparation and coming soon. You
should start working on the assignment ASAP. Complete references to
cell programing and cell simulator can be found in the materials of
Oct 23's lecture.

Feel free to ask me questions. Enjoy the fun!

Regards,
Guofeng

Guofeng

unread,
Nov 6, 2007, 7:46:00 PM11/6/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
Hi,

We finally get all 3 computers ready. Please check the following link
for group assignments and let me know if there is any question.

http://impact.asu.edu/cse520fa07/cellsim.html

If you have any question about the cell simulator and simulator
programming, please direct your question to Amit Pabalkar
<apab...@asu.edu> and cc to me.

Last, I have uploaded a cell broadband engine programming tutorial at
http://impact.asu.edu/cse520fa07/cell/CBE_Tutorial_v2.1_1March2007.pdf.
You can also find the link in the material field of lecture nodes on
10/23, cell tutorial.

Regards,
Guofeng

On Oct 31, 11:33 am, Guofeng <guofeng.d...@gmail.com> wrote:
> Hi folks,
>

> I have the following announcements about PA2.
>
> 1. We have set up 2 computers for this assignment. There will be
> another computer available at the end of the week. So, there will be 3

> groups sharing each computer. Find your group name athttp://impact.asu.edu/cse520fa07/cellsim.htmland the computer

Guofeng

unread,
Nov 12, 2007, 11:47:51 PM11/12/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
Hi folks,

I have posted the specification of PA2 on-line. You can find it at
http://impact.asu.edu/cse520fa07/assignment/cse520fa07PA2.doc.

It simply is a summary and clarification of what I have announced
through the blog. But you should have a look at it. As a kind
reminder, PA2 is due on Tuesday, Nov. 20th.

Let me know if you have any questions.

Regards,
Guofeng

On Nov 6, 5:46 pm, Guofeng <guofeng.d...@gmail.com> wrote:
> Hi,
>
> We finally get all 3 computers ready. Please check the following link
> for group assignments and let me know if there is any question.
>
> http://impact.asu.edu/cse520fa07/cellsim.html
>
> If you have any question about the cell simulator and simulator
> programming, please direct your question to Amit Pabalkar

> <apaba...@asu.edu> and cc to me.
>
> Last, I have uploaded a cell broadband engine programming tutorial athttp://impact.asu.edu/cse520fa07/cell/CBE_Tutorial_v2.1_1March2007.pdf.


> You can also find the link in the material field of lecture nodes on
> 10/23, cell tutorial.
>
> Regards,
> Guofeng
>
> On Oct 31, 11:33 am, Guofeng <guofeng.d...@gmail.com> wrote:
>
> > Hi folks,
>
> > I have the following announcements about PA2.
>
> > 1. We have set up 2 computers for this assignment. There will be
> > another computer available at the end of the week. So, there will be 3

> > groups sharing each computer. Find your group name athttp://impact.asu.edu/cse520fa07/cellsim.htmlandthe computer

Raghu

unread,
Nov 14, 2007, 3:46:34 PM11/14/07
to asucse520-fall-07-advanc...@googlegroups.com
Hi!
 
Yesterday I met Amit regarding cell programming assignment yesterday before the class. He told that it would be easier for us to use doube buffering technique in the assignment rather then SIMD or any other technique, given the complexity in the programming.
 
This is for your info
 
Thanks & Regards
Sai Raghunath T
 

David.S....@asu.edu

unread,
Nov 14, 2007, 4:38:37 PM11/14/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
It's still one more week that seems like it would probably be better
spent on the research project.

I am having a hard time balancing this programming assignment with
preparing my paper presentation, doing the paper critiques, doing the
presentation critiques, paper reading, term project research. Not to
mention my other class assignments.

It just seems like we are trying to do too much in too little time -
especially now that project presentations are to begin on the 27th.
We will spend the next week working on this assignment and then only
have 1 week to finish our term project??

Aren't we going to run out of time from juggling all of these
assignments?

On Nov 14, 1:46 pm, Raghu <sairaghun...@gmail.com> wrote:
> Hi!
>
> Yesterday I met Amit regarding cell programming assignment yesterday before
> the class. He told that it would be easier for us to use doube buffering
> technique in the assignment rather then SIMD or any other technique, given
> the complexity in the programming.
>
> This is for your info
>
> Thanks & Regards
> Sai Raghunath T
>

> --
> Regards
> Sai Raghunath T- Hide quoted text -
>
> - Show quoted text -

Guofeng

unread,
Nov 14, 2007, 5:44:02 PM11/14/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
Hi all,

Dr. Gupta has agreed to become PA2 optional. Students who finish it on
time will get extra credits.

Regards,
Guofeng

David.S....@asu.edu

unread,
Nov 14, 2007, 6:29:25 PM11/14/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
That sounds great. Thank you!

Guofeng

unread,
Nov 16, 2007, 4:16:39 PM11/16/07
to ASU:CSE520 FALL 07 Advanced Computer Architecture
Hi all,

Please exit the simulator when they have done working for the day.
This hogs resources and causes inconvenience to all.

Regards,
Guofeng

On Nov 6, 5:46 pm, Guofeng <guofeng.d...@gmail.com> wrote:
> Hi,
>
> We finally get all 3 computers ready. Please check the following link
> for group assignments and let me know if there is any question.
>
> http://impact.asu.edu/cse520fa07/cellsim.html
>
> If you have any question about the cell simulator and simulator
> programming, please direct your question to Amit Pabalkar
> <apaba...@asu.edu> and cc to me.
>
> Last, I have uploaded a cell broadband engine programming tutorial athttp://impact.asu.edu/cse520fa07/cell/CBE_Tutorial_v2.1_1March2007.pdf.
> You can also find the link in the material field of lecture nodes on
> 10/23, cell tutorial.
>
> Regards,
> Guofeng
>
> On Oct 31, 11:33 am, Guofeng <guofeng.d...@gmail.com> wrote:
>
> > Hi folks,
>
> > I have the following announcements about PA2.
>
> > 1. We have set up 2 computers for this assignment. There will be
> > another computer available at the end of the week. So, there will be 3
> > groups sharing each computer. Find your group name athttp://impact.asu.edu/cse520fa07/cellsim.htmlandthe computer
Reply all
Reply to author
Forward
0 new messages