8000 Building Numpy / Scipy on AIX system (Trac #1419) · Issue #2017 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

Building Numpy / Scipy on AIX system (Trac #1419) #2017

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thouis opened this issue Oct 19, 2012 · 4 comments
Closed

Building Numpy / Scipy on AIX system (Trac #1419) #2017

thouis opened this issue Oct 19, 2012 · 4 comments

Comments

@thouis
Copy link
Contributor
thouis commented Oct 19, 2012

Original ticket http://projects.scipy.org/numpy/ticket/1419 on 2010-03-02 by trac user A_LARAS, assigned to unknown.

Hi,[[BR]]
I wounder if somebody have success to build Numpy/Scipy on AIX system with any of the IBM compilers (XLC, XLF) or Gnu gcc, g++[[BR]]
I have lot of issues make it installed on AIX 5.3, 64 bits machine[[BR]]

vac 8.0[[BR]]
xlf 10.1[[BR]]
gcc-4.2.4-2[[BR]]
AIX 5.3[[BR]]

@numpy-gitbot
Copy link

trac user gdrapala wrote on 2010-05-28

I was able to build numpy on AIX 5.3 with gcc using a gcc-compiled version of Python 2.6. Initially, I needed to learn to mind the CC and CXX environment variables as they take precedence over the values in /path/to/python/lib/python2.X/config/Makefile. Then gcc had a problem linking the math library by default (ERROR: Undefined symbol: .exp), so I set CC="gcc -pthread -lm", for lack of a more general solution. Next, I edited the same Makefile to change Modules/python.exp to a full path, and the ld_so_aix file to modify the second CCOPT line to be:

CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -Wl,-brtl -Wl,-bnortllib -lm -lbsd -o $objfile"

Finally, see numpy issue #2093. Hope that helps.

@numpy-gitbot
Copy link

@rgommers wrote on 2011-03-25

@A_LARAS: Did those instructions help you out?

@numpy-gitbot
Copy link

Milestone changed to Unscheduled by @rgommers on 2011-03-30

certik pushed a commit to certik/numpy that referenced this issue Nov 14, 2012
This is a squashed backport of 4 commits.
STY: cleanup hashdesc.c to follow our C conventions.

BUG: fix inconsistencies in dtype flag type at the C level.

Conflicts:

	numpy/core/src/multiarray/descriptor.c
	numpy/core/src/multiarray/hashdescr.c

BUG: fix numpy#2017 by ignoring type_num in the hash input.

Since type_num is not considered in PyArray_EquivTypes (for dtype
equality comparison), seems reasonable to ignore it for hashing as
well.

Conflicts:

	numpy/core/tests/test_dtype.py

BUG: fix flags type when exposed to python.
@charris
Copy link
Member
charris commented Feb 19, 2014

Closing this. If an AIX wants to update things, open another ticket.

@charris charris closed this as completed Feb 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
0