Open davidovitch opened 8 years ago
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 ./
Hi davidovitch,
Is it possible to use other compiler beside Intel Fortran, say gfortran?
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: