Skip to content

๐Ÿ“Š Uses MPI package to solve a system of equations in parallel

Notifications You must be signed in to change notification settings

carol-he/ParallelSysofEqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

This program uses the MPI package to create a parallelized solution for any system of equations in which the number of unknowns is divisible by the number of cores. It also includes a sequential version of the code.

To run, use ./gengs to generate a input text file named .txt, or simply use the provided input.txt.

install mpi package if not already installed, preferably with homebrew.

Compile using the command: mpicc -o gs gs.c

Then run: mpirun -n gs inputfile.txt

Output should be the new unknowns and number of iterations it took!

About

๐Ÿ“Š Uses MPI package to solve a system of equations in parallel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages