Differences in Freecad between 32 bit windows and 64 bit windows

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: Differences in Freecad between 32 bit windows and 64 bit windows

Post by easyw-fc »

peterl94 wrote:Actually wasn't hard since I was able to use my CLbundler script for it. Attached is numpy 1.9.2 64-bit built with VS 2013. I'm interested to know if the newer version solves the problem or if it is the way I'm building it (simply running setup.py install).
[/code]
Hi @peterl94
unfortunately this release doesn't solve the issue...
(you can test i.e. opening
testAssembly17-bspline_objects.fcstd
from assembly2 test files (in test DIR of assembly2 Mod) and clicking the 'Solve Assembly2 constraints' ... in windows the parts just don't align ...
an other file you can test is the following
ProfiliQuadro-assembly-aligned-3.FCStd
(9.25 KiB) Downloaded 90 times
if you click on 'Solve Assembly2 constraints' the parts just detach...
)
this release
peterl94 wrote:I've uploaded the numpy folder from the installer, so that you don't need to use the installer yourself.
viewtopic.php?t=8395&start=60#p77413
is working for FC 0.16 32bits
So the riddle is: 'how did you build that release?'
Thx for going into this

Maurice
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: Differences in Freecad between 32 bit windows and 64 bit windows

Post by peterl94 »

easyw-fc wrote:So the riddle is: 'how did you build that release?'
The thing is, I didn't build it. I copied it from the official installer. I will inquire about how the official installers are built. I imagine the issue we are having is something to do with BLAS/LAPACK, since the official installers are built with it and I did not.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Differences in Freecad between 32 bit windows and 64 bit windows

Post by sgrogan »

peterl94 wrote:The thing is, I didn't build it. I copied it from the official installer. I will inquire about how the official installers are built. I imagine the issue we are having is something to do with BLAS/LAPACK, since the official installers are built with it and I did not.
Thanks for looking Peter! This is what I was afraid of :cry:
"fight the good fight"
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Differences in Freecad between 32 bit windows and 64 bit windows

Post by Kunda1 »

adding issue #2404 to this discussion
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: Differences in Freecad between 32 bit windows and 64 bit windows

Post by easyw-fc »

peterl94 wrote:I will inquire about how the official installers are built.
Hi @peterl94
did you get any further with the numpy build/info?
Thx
Maurice
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Differences in Freecad between 32 bit windows and 64 bit windows

Post by sgrogan »

Kunda1 wrote:adding issue #2404 to this discussion
I think this can be closed. Although the reported didn't explicitly state it they are using assembly2, a 3rd party add-on.
NumPy is the most likely culprit.
However unless it's changed recently the whole SciPy stack, including NumPy is not officially supported on x64 Windows. I think most use these packages http://www.lfd.uci.edu/~gohlke/pythonlibs/ At least in the past even the Windows x64 Scientific Distributions used these packages. They are built against the standard VC compiler for the given Python version. ie Python 2.7+VC9, Python 3.5+VC14.
Even though they are unofficial, there is a direct link from the official scipy webpage.
After the FreeCAD port to Python3, it should be possible to create a VC14 Libpack and use the available SciPy packages.
The alternative is an "Intel Fortran" license (approx. $2k USD) and a bounty for a dev to do it.
EDIT: just found this https://software.intel.com/en-us/qualif ... ontributor
"fight the good fight"
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: Differences in Freecad between 32 bit windows and 64 bit windows

Post by easyw-fc »

sgrogan wrote:They are built against the standard VC compiler for the given Python version. ie Python 2.7+VC9, Python 3.5+VC14.
Also here it is possible to obtain binaries from:
https://pypi.python.org/pypi/numpy
http://www.lfd.uci.edu/~gohlke/pythonlibs/
https://sourceforge.net/projects/winpython/files/
do you think it would be possible to contact them and see if they could offer also a release for:
Python 2.7.8 (default, Nov 17 2014, 20:37:05) [MSC v.1800 64 bit (AMD64)]
sgrogan wrote:EDIT: just found this https://software.intel.com/en-us/qualif ... ontributor
I also noticed that
https://www.scipy.org/scipylib/building/windows.html
Note, if you are a student or educator, this option is very appealing because Intel’s academic license will provide you everything that you need free of charge.
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: Differences in Freecad between 32 bit windows and 64 bit windows

Post by peterl94 »

easyw-fc wrote:did you get any further with the numpy build/info?
Sorry, no. It will be another week or two before I can get back to this.
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: Differences in Freecad between 32 bit windows and 64 bit windows

Post by peterl94 »

It seems this issue has been fixed in a newer version of numpy. Please try the following: https://drive.google.com/open?id=0Bx4ov ... G5fcW9UV2c. Numpy 1.12 compiled the same as before.
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: Differences in Freecad between 32 bit windows and 64 bit windows

Post by easyw-fc »

peterl94 wrote:It seems this issue has been fixed in a newer version of numpy. Please try the following: https://drive.google.com/open?id=0Bx4ov ... G5fcW9UV2c.
I tested with
ProfiliQuadro-assembly-aligned-2-normal.FCStd
and with some assembly2 examples (i.e testAssembly17-bspline_objects.fcstd) that didn't worked in win and now the constrains work fine! :D
(tested with FC 0.17 10085 64b )
peterl94 wrote:Numpy 1.12 compiled the same as before.
so it was a release bug :D
Thx a lot!

would it be possible to have also a 32b of this numpy? So @sgrogan may packet FC for both platforms

Maurice
Post Reply