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?
Displaying selected article
Showing 1 of 148 articles.
Currently 14 other people reading this forum.


 UWA week 38 (2nd semester, week 8) ↓
SVG not supported

Login to reply

👍?
helpful
3:54pm Mon 16th Sep, ANONYMOUS

when I tried to alloc some memory on setonix, with script: #!/bin/bash #SBATCH --nodes=1 #SBTACH --ntasks=28 #SBATCH --partition=work #SBATCH --account=courses0101 #SBATCH --mem=200G export OMP_SCHEDULE="static,3125" gcc -m64 -fopenmp -o project ./project.c srun ./project I tried: -mem=200G, 120G and 100G. my program just call one function: int* generate_sparse_matrix(int* maxNonZero, double probability){ int* matrix = alloc_matrix(ROW_NUM,COLUMN_NUM); int* maxValues = malloc(sizeof(int) * ROW_NUM); return; } If I run this program with the script , it is fine. however if I add openmp paralel: like: int* generate_sparse_matrix(int* maxNonZero, double probability){ int* matrix = alloc_matrix(ROW_NUM,COLUMN_NUM); int* maxValues = malloc(sizeof(int) * ROW_NUM); omp_set_num_threads(GENERATE_THREAD_NUM); #pragma omp parallel { //operations without allocate memory } } then it gives a hint: slurmstepd: error: Detected 1 oom_kill event in StepId=15608085.0. Some of the step tasks have been OOM Killed. srun: error: nid002280: task 0: Out Of Memory srun: Terminating StepId=15608085.0 GENERATE_THREAD_NUM = 1. Is there any clue about this issue? Btw, I always feel the setonix doesn't give us really enough resource for calculating or memroy.

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