Skip to content
This repository has been archived by the owner on Aug 24, 2020. It is now read-only.
/ PP-f18_HW2 Public archive

Conjugate gradient method parallelization using OpenMP

Notifications You must be signed in to change notification settings

tfchan/PP-f18_HW2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PP-f18_HW2

Conjugate gradient method parallelization using OpenMP

  • Files:

    • cg.c : main functions, the implementaion of conjugate gradient method.
    • globals.h : some data defination.
    • common : functions for verification and time caculation.
    • bin : excutable output directory.
    • Makefile, make.common : make systems.
  • Build up:

    make DATASIZE=[LARGE|MEDIUMN|SMALL]
    

    (If not assign DATASIZE, default will be mediumn)
    Please do make clean if you want to change datasize.

  • Check correctness:
    Main function contains verification information, it will show VERIFICATION SUCCESSFUL/FAILED to indicate the correctness of the program.

  • Run:

    ./run.sh <0|1|2>
    

    0/1/2 mean small/medium/large data size respectively.

About

Conjugate gradient method parallelization using OpenMP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published