Java code for calculating Pi on HTCondor

Java code for calculating Pi using n terms of the Gregory series.

Compiling using java version 1.7.0 and submitting to HTCondor

  • module load JDK/1.7.0
  • javac calculate_pi.java
  • condor_submit submit_JDK1.7.0.txt

using the following HTCondor submit file.

Compiling using java version 1.8.0 and submitting to HTCondor

  • module load JDK/1.8.0
  • javac calculate_pi.java
  • condor_submit submit_JDK1.8.0.txt

using the following HTCondor submit file.

Last modified on February 1, 2018 at 1:57 pm by Chris Paul