Different Results with Different Operating systems

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
faraklit
Posts: 21
Joined: Mon Feb 25, 2013 10:38 pm
Location: Ohio State University

Different Results with Different Operating systems

Post by faraklit »

Hi,
I have been working with OpenSees for three years.
I have just noticed that OpenSees gives different results with different computers; one is windows 7 and other is Ubuntu 14.04. The code is totally same, however; the result is different. Is this normal? Or there is problem with my computers.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Different Results with Different Operating systems

Post by fmk »

i can give you 2 exe for the same os that will give different results by changing the optimization flags sent to the compiler .. while the source code is the same the set of instructions generated by the compiler is different .. as a consequence of this and the fact that we deal in finite precision mathematics when running on a computer, the results start getting different .. typically not noticable unless you start looking at the last digits .. it can be noticable if problems start becoming ill-conditioned and small changes on rhs of the matrix equation lead to big changes in solution .. excaserbated if transient problems, for if you consider some step during the analysis as starting point and boundary condition at that step are different which will result in a different end solution.
Post Reply