Skip to content

Latest commit

 

History

History

Example1

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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