…but neither one says why we’re not using the Intel Fortran compiler for NumPy. I assumed at first it might be because NumPy doesn’t have Fortran code or something, but I see during the build process, gfortran is definitely used. Can anyone shed some light on this one? It builds fine if I use the same command to build NumPy as the recommended one for SciPy.
Somewhat related, the Intel link above recommends a set of compiler flags:
self.cc_exe = 'icc -O3 -g -fPIC -fp-model strict -fomit-frame-pointer -openmp -xhost’
…which does work to build NumPy. However, when I build SciPy, I’m seeing a lot of -xSSE4.2 on the Fortran compiles:
2) Ideally I’d want to use -xAVX if it were possible (which is what -xhost is doing since I’m building on an AVX-capable machine). There doesn’t seem to be anyplace to set this in SciPy, and there is some indication from reading about SciPy that it uses NumPy’s build setup somehow. Any idea why this is happening?
____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | [hidden email] - 973/972.0922 (2x0922)
|| \\ Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark