Skip to content

Version 1.2.4 – Restored gpi_make functionality for windows

Compare
Choose a tag to compare
@borupdaniel borupdaniel released this 20 Feb 19:29
· 62 commits to master since this release
24b7059

This release restores the ability to compile C++ extensions using PyFI for native (non-WSL) Windows users. Two additional steps are required to compile in Windows:

  1. Install the pthreads-win32 library to your build environment using the following command. This should not trigger any additional dependencies.
conda install pthreads-win32
  1. Install the visual studio build tools, which can be found at this link. Scroll down to All Downloads, then find Build Tools for Visual Studio 2019 under Tools for Visual Studio 2019. On installation, several packages will be displayed — only the C++ compiler is required for gpi_make to work.

Notably, this fix lets us compile and distribute ReadPhillips binaries for Windows users. Expect to see those binaries released at this link soon.

This is being released as a patch number bump because there are still issues remaining prior to achieving "full" Windows compatibility for GPI 1.3. Most serious among these is that, while compilation with threaded nodes works, those nodes will segfault on running. This affects Grid, FFTW, and others in the core nodes library, so gpi_core will still omit these in the Windows build for the time being.