Install TPLs needed by Draco - KineticTheory/Linux-HPC-Env GitHub Wiki
- Draco uses many TPLs. A couple are required and several are optional. The text below details building and installing these TPLs.
- Prefer: TPL installs via vcpkg
- random123, gsl, openblas, metis
vcpkg install --triplet=x64-windows <name>
- We use the already installed MSYS2 MinGW 32-bit terminal to build numdiff, so open this terminal from the Start Menu. (Note: at least for me, numdiff fails to compile under a MSYS2 MinGW 64-bit session).
- Download the numdiff sources:
wget https://bigsearcher.com/mirrors/nongnu/numdiff/numdiff-5.9.0.tar.gz
- Expand the sources into a directory:
tar -zxvf numdiff-5.9.0.tar.gz
- Create a build directory:
mkdir build && cd $_
- Configure the project:
../numdiff-5.9.0/configure --prefix=/c/work/vendors64 --disable-nls --disable-gmp
- Build and install:
make -j 8 install
- Check that the files are in the right location and work from a Windows command prompt:
- Start a windows command prompt:
cmd
cd /d c:\work\vendors64\bin
numdiff --version
- Start a windows command prompt:
- Clone from https://github.com/KineticTheory/parmetis
- Start a _ x64 Native Tools Command Prompt for VS 2017_ from the Start Menu
- Create a build directory:
cd /d c:\work\vs2017
mkdir parmetis
cd parmetis
- Configure the build directory
cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=c:\work\vendors64\parmetis-4.3.0 \
<path_to>/parmetis
- Compile and install
cmake --build . --config Release --target install -j 8
- Previous - Setup development directories
- Next - Notes on mixing VS and MinGW
- Up - Wiki