question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Different machines outputting different results

See original GitHub issue

Hi there,

This is a very very very odd situation. Due to my work conditions, I usually work in different machines (desktops, laptops) since all my data is stored in the cloud, and I can easily access them.

Now comes the odd part: I was having some trouble getting outputted the same results from Ansys and pyansys, and I was sure that the problem was my code so I decided to call it a day and work on it after, with a fresh mind. That was when I changed from my working station, a desktop, and started working on the code home on my laptop. Before changing anything in the code, I decided running it one more time before going into the debugging phase, and that’s where I lost my mind: the results were now exactly the same as the ones outputted by Ansys.

Before jumping into conclusions, I checked if there was any difference between the two machines, like Python version, conda version, IPython version, Spyder version and most importantly pyansys version, among others. All the versions were the same. Not satisfied, I asked some colleagues (some with the same versions as mine, others with different) to run the same files to check the outputs, and not surprisingly, all the results were consistent between themselves, but the wrong one (the same as my desktop). The only machine that outputs the same results as the ones from Ansys is my laptop. How can that be?!

I hope you can help me understanding and solving this odd situation.

Here are some additional information regarding the versions:

  1. My laptop (same results as Ansys):
  • Architecture 64bit
  • python 3.7.4
  • pyansys 0.40.0
  • numpy 1.18.4
  • scipy 1.4.1
  • IPython 7.6.1
  • matplotlib 3.2.1
  • scooby 0.5.4
  • conda 4.7.12
  1. My desktop (consistent with others but different from Ansys):
  • Architecture 64bit
  • python 3.7.4
  • pyansys 0.40.0
  • numpy 1.18.4
  • scipy 1.4.1
  • IPython 7.6.1
  • matplotlib 3.2.1
  • scooby 0.5.4
  • conda 4.7.12
  1. Colleagues configs (consistent with others but different from Ansys):
  • Architecture 64bit
  • python 3.7.4, python 3.7.6
  • pyansys 0.40.0
  • numpy 1.18.4
  • scipy 1.4.1
  • IPython 7.6.1, IPython 7.13.0
  • matplotlib 3.2.1
  • scooby 0.5.4
  • conda 4.7.12, conda 4.8.3

PS: I can share all the simulation files by request. For that please provide me your email address.

Many thanks in advance.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
akaszynskicommented, May 25, 2020

That’s an interesting bug! Here’s my work address: alexander.kaszynski@ansys.com

0reactions
akaszynskicommented, Sep 3, 2020

Hello,

I’m pinging you on this closed issue because GitHub doesn’t have an email address for you.

ANSYS is busy improving and extending pyansys. As an existing user, we are interested in learning about your experience and opinions using this package. Most notably:

  • What is your application?
  • How does pyansys facilitate your work?
  • What new pyansys features or improvements would you find valuable?
  • Your feedback will help us prioritize our investments and make pyansys even better.

On behalf of the pyansys development team, I look forward to hearing any feedback from you as it will be used to improve and advance pyansys.

Feel free to respond here to this issue, or email me at akascap@gmail.com Alex Kaszynski

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Do I Get Different Results Each Time in Machine Learning?
You will get different results when you run the same algorithm on different data. This is referred to as the variance of the...
Read more >
Why CPLEX outputs different results on different machines?
On my development machine CPLEX outputs one result (which is abnormal and stuck at some large value), and on all other machines, result...
Read more >
Clearly different results on different machines - PyTorch Forums
I implemented YOLOv3 using libtorch and trained with Telsa V100 on the server several times until the recall level was high enough.
Read more >
Different results on different machines with the same env #2269
I have 2 machines running the above code in a conda env. Both envs are the same, but the produced results are different....
Read more >
Same ssh command gives different results to different local ...
The crazy thing is me running the same command on the same remote machine with the same user resulted in a different output...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found