Skip to content

nagyaly/hpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AASTMT | College of Artificial Intelligence

High Performance Computing


This Course is Conducted By:

# Topic Content
1 Basics Write & compile codes, calculate runtime, Compiler Optimization

Usefull commands

Info Command
compile code gcc file.c -o file
submit sequential job sbatch submit.seq "./out_file"
monitor jobs progress watch -n 1 "squeue"
submit job and calculate time sbatch submit.seq "time ./out_file"
submit job and profile cache hit/miss sbatch submit.seq "perf stat -d ./out_file"
submit job with input from file sbatch submit.seq "perf stat -d ./dot-product" "data_50000_5000"
compile code with pthread gcc input_file.c -o out_file -lpthread
compile code with openmp gcc input_file.c -o out_file -fopenmp
submit threaded job sbatch submit.pthread "./out_file"
submit openmp job sbatch submit.omp "./out_file"
compile cuda code submit.nvcc input_file.cu -o out_file
submit cuda job sbatch submit.gpu "./out_file"
compile mpi code mpicc input_file.c -o out_file
submit mpi job sbatch submit.mpi "./out_file"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published