Skip to content

Files

Latest commit

author
Manasvita Joshi
Nov 30, 2024
d69bace · Nov 30, 2024

History

History

Example1

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 30, 2024
May 9, 2024
Nov 30, 2024
Sep 23, 2024

Purpose:

Calculate PI via Monte-Carlo method.

Contents:

(1) mc_pi.py: Python source code

(2) run.sbatch: Batch-job submission script for sending the job to the queue

Example Usage:

sbatch run.sbatch

Example Output:

Exact value of PI: 3.14159
Estimate of PI: 3.14296