It's UWAweek 47

help5507

This forum is provided to promote discussion amongst students enrolled in CITS5507 High Performance Computing.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Showing 20 of 148 articles
Showing page 2 of 8⬅ older  |  newer ⮕
Currently 1 other person reading this forum.


 UWA week 42 (2nd semester, week 12) ↓
SVG not supported 2:55pm Thu 17th Oct, Marcell S.

You need to implement row compression, as described in the Project 1 specifications. Your code needs to be able to generate and multiply row compressed matrices, sequentially, and using OpenMP, MPI, and OpenMP MPI. It will be much easier to have on...


SVG not supported 2:49pm Thu 17th Oct, Marcell S.

You can use submit multiple files. If cssubmit is giving you issues, you can zip them and submit them that way.


SVG not supported 2:41pm Thu 17th Oct, ANONYMOUS

Hello, I am wondering if we can use multiple files for testing in the second project cos our project 1 has already completed the sequential and OpenMP parts, and using MPI will change the structure of the code, therefore using multiple files to find...


SVG not supported 1:32pm Thu 17th Oct, ANONYMOUS

Hello, I'm not sure what the row compression task in Project 2 is asking us to do. Does this mean we have to generate an uncompressed matrix beforehand and then compress it? What does it mean to support both MPI and OpenMP? Also should we generate t...


SVG not supported 7:52pm Mon 14th Oct, Marcell S.

It shouldn't be too hard to guess a reasonable approximation for the largest matrix that you can multiply in 10 minutes. You don't need to be super accurate, as long as you're in the right ballpark. I would just submit a handful of jobs with sensible...


SVG not supported 7:42pm Mon 14th Oct, Marcell S.

These are both great observations. Please do not write the results to files, as we don't want to use Setonix's storage for these large random matrices. Other than this, I'm happy for you to address the issues in whatever way you want -- as long as you...


SVG not supported 11:12am Mon 14th Oct, ANONYMOUS

Hi, I'm trying to guess a nice number for the largest matrix sizes, so that the jobs run somewhere between 9-10 minutes. Other than guessing and checking, are there any other less tedious ways to figure this out? Setonix is quite busy, and my jobs are...


 UWA week 41 (2nd semester, week 11) ↓
SVG not supported 8:58pm Sun 13th Oct, ANONYMOUS

good point


SVG not supported 5:59pm Sun 13th Oct, ANONYMOUS

ANONYMOUS wrote Sorry, I meant N 250000.


SVG not supported 5:57pm Sun 13th Oct, ANONYMOUS

Additionally, what should we do if N is so large that we cannot gather the results into a single process? When N is large, even if the original matrix has a low non-zero rate, the resulting matrix is likely to have a non-zero rate close to 1. So for ...


SVG not supported 5:12pm Sun 13th Oct, ANONYMOUS

Given that the project involves working with large values of N, there's a risk of integer overflow if the program doesn't handle numerical limits carefully. I would suggest that fellow students take care to avoid this issue, and the marker should b...


SVG not supported 3:15pm Sun 13th Oct, Marcell S.

Sure, it is up to you to design your program and justify it, so in that sense it is allowed. But be careful -- while you do eliminate the communication overhead, all your processes are just redundantly generating the same matrix. Even though your pro...


SVG not supported 2:48pm Sun 13th Oct, ANONYMOUS

Thank you for your response; I appreciate it. I didn t expect to see staff available on such a weekend. I believe I have a third option fully generating the operands for all processes while ensuring that the results are consistent across them. This...


SVG not supported 2:33pm Sun 13th Oct, Marcell S.

Deciding how to handle this is part of the point of the project. You need to weigh the pros and cons of each approach and justify which you have chosen in your report. Broadly, you have two options - You generate the matrix only at the root process. T...


SVG not supported 2:32pm Sun 13th Oct, ANONYMOUS

ANONYMOUS wrote This can be done if they follow the same generation sequence.


SVG not supported 2:28pm Sun 13th Oct, ANONYMOUS

If they don't close for us, then I think it will be reasonable for us to start mining ;)


SVG not supported 2:26pm Sun 13th Oct, ANONYMOUS

Or, should we just assume every process shares the same input data, but only does their own parts of computation


SVG not supported 2:10pm Sun 13th Oct, ANONYMOUS

I m wondering if we need to close our accounts ourselves since we opened them, or if there s an arrangement between the university and Pawsey to terminate our accounts.


SVG not supported 2:10pm Sun 13th Oct, Marcell S.

Generating the matrices counts towards this time, so you should parallelise the matrix generation. I cannot think of any other time consuming steps. You shouldn't be writing the large matrices to files during your experiments. You are correct, you wi...


SVG not supported 2:08pm Sun 13th Oct, Marcell S.

Sequential I O Only one process performs I O. Think regular fwrite from stdio.h . Independent I O Parallel I O, where each process performs its own I O, without coordination with the other processes. Think MPI File write at . Collective I O Par...

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy