Skip to content

Instantly share code, notes, and snippets.

@caiofbpa
Created July 19, 2013 13:46
Show Gist options
  • Save caiofbpa/6039215 to your computer and use it in GitHub Desktop.
Save caiofbpa/6039215 to your computer and use it in GitHub Desktop.
Temperature variation in heat_fdiff
Given the default parameters:
n = 10
dz = 0.010000
nt = 60
dt = 60.000000
The result varies as follows:
One process (mpiexec -n 1 ./bin/example1):
-12.6787
-10.8511
-10.1864
-9.94976
-9.87032
-9.84794
-9.84527
-9.84827
-9.85185
-9.85454
Two processes (mpiexec -n 2 ./bin/example1):
-12.4581
-10.0875
-8.8584
-8.02554
-7.31573
-6.63468
-6.63468
-6.63468
-6.63468
-6.63468
Three processes (mpiexec -n 3 ./bin/example1):
-12.3122
-9.58407
-8.01516
-6.86964
-6.86964
-6.86964
-6.86964
-6.86964
-6.86964
-6.86964
Four processes (mpiexec -n 4 ./bin/example1):
-12.1975
-9.18681
-7.33862
-7.33862
-7.33862
-7.33862
-7.33862
-7.33862
-7.33862
-7.33862
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment