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 5 of 8⬅ older  |  newer ⮕
Currently no other people reading this forum.


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported 12:12pm Sun 15th Sep, ANONYMOUS

Yeah I was also using runtime to experiment with different scheduling and chunk sizes.


SVG not supported 12:11pm Sun 15th Sep, ANONYMOUS

I wrote two separate functions. One generates the compressed form directly, without relying on an existing X; The other generates the compressed form from an existing X. I hope this covers what they're asking for, as at least one of these approaches s...


SVG not supported 9:32pm Sat 14th Sep, ANONYMOUS

just started the project and was wondering if anyone understands the wording for task 2 Write separate code for generating the B and C matrices given a matrix X. You can generate the matrix X inside this code. is this suggesting that i generate B and ...


SVG not supported 9:56pm Thu 12th Sep, ANONYMOUS

In mid test, Q12 it use private(k) so k is not initialized. That means it can be any value. So all the answers are possible. If I misunderstand something pls tell me.


SVG not supported 9:49pm Thu 12th Sep, ANONYMOUS

I think in lecture, it only mentions static, dynamic, guided, runtime. With runtime you can set the chunk size in script. But I am also confused whether I should make runtime as a indepedent strategy.


SVG not supported 3:50pm Thu 12th Sep, ANONYMOUS

OpenMP offers five scheduling schemes for the pragma omp parallel for directive. However, out of these, only static , dynamic , and guided are the real deal when it comes to scheduling. The other two, runtime and auto , aren t true scheduli...


SVG not supported 12:36pm Thu 12th Sep, Daniel L.

For me I've currently been using SBATCH --nodes 1 SBATCH --ntasks 1 SBATCH --cpus-per-task I change this for the thread count SBATCH --partition work SBATCH --account courses0101 SBATCH --mem 220G (definitely overkill, but works) SBATCH --time 01 ...


SVG not supported 6:02pm Tue 10th Sep, Yao T.

I think it is the result matrix of B and C since the professor mentions it in the lecture.


SVG not supported 3:08pm Tue 10th Sep, Jiandong W.

Hi Benjamin, At this moment, I just use command to test my program and set the total thread number to 1. I will do the batch bash program later to add the nodes or cores for getting more test results. Thanks, Joey


SVG not supported 8:27am Tue 10th Sep, Benjamin W.

What does your sbatch script contain? My Setonix jobs sit in a queue for a full day before executing, and OpenMP has been doing nothing for me. What values do you have for --nodes and --ntasks, and are you using the --cpus-per-task directive?


SVG not supported 10:17pm Mon 9th Sep, ANONYMOUS

Hi, Just wondering how many threads you are using to get 1 second. Currently I am using one thread to get the output around 1. Thanks.


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported 6:33pm Fri 6th Sep, ANONYMOUS

Likewise - 10000 took around a second, and for me doubling the size led to a 10x time increase, so mine will take somewhere around 3 hours Feels quite long however, it will make repeated tests and comparisons difficult


SVG not supported 5:57pm Fri 6th Sep, ANONYMOUS

sorry, use this link https en.cppreference.com w c numeric random rand


SVG not supported 5:53pm Fri 6th Sep, ANONYMOUS

A minimal test case to show the performance difference. openmp 101.c c include inttypes.h include limits.h include omp.h include stdint.h include stdio.h include stdlib.h int main() printf("omp get max threads() u n", omp get max ...


SVG not supported 5:19pm Fri 6th Sep, ANONYMOUS

Moreover I have never tried to use sbatch before because I thought running a program with srun should have identical or at least similar performance. For example, if I were you I would run openmp 101-b.sh as bash cc -fopenmp -o openmp 101 . op...


SVG not supported 5:03pm Fri 6th Sep, ANONYMOUS

First I would like to point out that your code may have undefined behavior. int i and long loops have different data type, and loops have value equal to 10000000000 which is greater than INT MAX, so the loop should never finish. But since the beh...


SVG not supported 11:17am Fri 6th Sep, ANONYMOUS

Thats not far off the times I'm having as well, I'm under the assumption it is supposed to take quite a long time. Though I could also not be using the optimal algorithm but regardless I'm assuming it will take a long time.


SVG not supported 9:27am Fri 6th Sep, ANONYMOUS

My sparse multiplication algorithm used about 1 sec for size 10000 but after that the time growth in a exponential speed and very likely would take about an hour for size 100000. I guessing I might not using the optimal algorithm, is there any hint?


SVG not supported 8:41am Fri 6th Sep, ANONYMOUS

Hello Professor, as stated in the project "Your code should write the final results for the B and C matrices in two separate files named FileB and FileC" Can you please verify that For matrix multiplication X Y Z, we will be saving the all the matrices...


SVG not supported 11:07pm Thu 5th Sep, ANONYMOUS

Additionally, measuring the longest-running thread won't accurately reflect total time consumed if multiple threads are time-sharing the same CPUs, especially when the number of threads exceeds the number of available CPUs. This is why I believe wtim...

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