[mesa-users] inconsistency

Martin C. martincs14 at gmail.com
Sat Nov 5 12:07:38 EDT 2016


Hi all

I think I've come across something in MESA that may contradict this from
MESA paper 3:

>From MESA paper 3

[image: Inline image 1]
[image: Inline image 2]

MESA is supposed to provide bit for bit consistency across all platforms,
independent of threads. (for those not able to see the inline screenshots).

I'm using other_D_mix in run_star_extras to calculate a diffusion
coefficient. For that I need to access values from s% omega.
It seems that when I change OMP_NUM_THREADS from 3 to 2 the values in s%
omega are different. I test this with this routine (also in attached
run_star_extras)

[image: Inline image 3]

I tested the above on ubuntu14, *mesa 8118*, latest sdk.
example: OMP_NUM_THREADS =2
[image: Inline image 4]

OMP_NUM_THREADS = 3 produces:

[image: Inline image 5]


I also installed mesa 8118 on a mac pro with latest sdk (default of 16
threads). Here no matter what I change OMP_NUM_THREADS to I don't get the
results that I get on ubuntu. Worse: running the exact same code multiple
times yields different results for the printed s% omega values! (Often
zeros, sometimes NaN, sometimes "random" values).


So am I misunderstanding something? What's causing this. How can I work
around this problem (if it is one).

thanks!

Martin








-- 
Martin C.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20161105/1d4601b3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13430 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20161105/1d4601b3/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 5146 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20161105/1d4601b3/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13222 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20161105/1d4601b3/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 4591 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20161105/1d4601b3/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 9590 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20161105/1d4601b3/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_project
Type: application/octet-stream
Size: 804 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20161105/1d4601b3/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist
Type: application/octet-stream
Size: 657 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20161105/1d4601b3/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_star_extras.f
Type: text/x-fortran
Size: 11999 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20161105/1d4601b3/attachment.bin>


More information about the Mesa-users mailing list