Skip to content
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

Fix Windows build issues #29

Open
4 tasks
davidovitch opened this issue Jun 30, 2016 · 2 comments
Open
4 tasks

Fix Windows build issues #29

davidovitch opened this issue Jun 30, 2016 · 2 comments

Comments

@davidovitch
Copy link
Member

The Windows build is currently broken due to various reasons and has to be fixed. Some of the challenges on Windows are mentioned in issue #14. Other related issues are #16, #26, #28. @pbrod @eelcovv @ocefpaf lets try to find a workable solution for the Windows build here. On both Linux and Windows issue #18 indicates something else is not entirely right in the current build procedure.

Things to do:

  • reproducible Windows builds: requirements and how-to
  • py2.7 conda package and binary wheel for pypi (32 and 64-bit)
  • py3.4 conda package and binary wheel for pypi (32 and 64-bit)
  • py3.5 conda package and binary wheel for pypi (32 and 64-bit)
@davidovitch
Copy link
Member Author

For Python 3.4 and with the Intel Fortran compiler, I have been able to get it to work when installing from the source directory with pip install -e ./. Here's the procedure I followed:

create and activate a python 3.4 environment

conda create -n py34 python=3.4
activate py34

install dependencies, when using pip use --no-deps to avoid pip updating conda packages:

conda install setuptools_scm future pytest nose sphinx coverage pbr
pip install --no-deps pyscaffold pytest-cov
conda install numpy scipy mpmath matplotlib
conda install -c omnia numdifftools

Compile Fortran sources with Intel, load the proper environment variables:

"C:\Program Files (x86)\Intel\Composer XE\bin\ifortvars.bat" intel64 vs2010

Build/install pywafo from the source directory. When I create wheel packages, the compiled extensions are not included (don't know why at this stage).

cd pywafo
pip install -e ./

@fprabowo
Copy link

Hi davidovitch,

Is it possible to use other compiler beside Intel Fortran, say gfortran?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants