Download and install basic tools - KineticTheory/Linux-HPC-Env GitHub Wiki

Download and install Windows tools that support Draco development

MSYS2 shell

  • Linux shell and gfortran. These tools are needed to build the Fortran portions of Draco.
  • Install msys2 and some GNU build tools.
    • winget install msys2
    • Fix entry for Windows Terminal:
      • Command line: C:\msys64\msys2_shell.cmd -mingw64 -defterm -no-start
      • Icon: C:\msys64\msys2.ico
    • After installing, run the msys2 shell
    • Update the installation: pacman -Syuu (repeat as needed)
    • Update the package database: pacman -Sy pacman
      • Then run pacman -Syuu again.
    • For MinGW64 (64-bit/x86_64)
      • Install gcc: pacman -Sy mingw-w64-x86_64-gcc
      • Install gfortran: pacman -Sy mingw64/mingw-w64-x86_64-gcc-fortran
      • Install make: pacman -Sy mingw64/mingw-w64-x86_64-make --> mingw64-make.exe
      • Install gendef: pacman -Sy mingw-w64-x86_64-tools
    • Example of searching for other packages: pacman -Ss fortran ==> mingw-w64-i686-gcc-fortran
      • List all packages: pacman -S -l
  • If you require a proxy server to access the internet, you may need the following additional settings in MSYS2. You might need to do this before the above pacman commands will work properly.
    • Edit ~/.bash_profile and add appropriate values for
      • HTTPS_PROXY="https://myproxy.domain.com:8080/"
      • HTTP_PROXY="http://myproxy.domain.com:8080/"
      • http_proxy="http://myproxy.domain.com:8080/"
      • https_proxy="https://myproxy.domain.com:8080/"
    • Edit ~/.wgetrc and add these two lines
      • use_proxy=yes
      • http_proxy=http://myproxy.domain.com:8080/
    • Edit c:/msys2/etc/pacman.conf and uncomment line 19 (wget)
    • Close and restart the MSYS2 shell.
  • Add c:\msys64\mingw64\bin to PATH so that CMake and Visual Studio can find gfortran.exe.

Visual Studio

MPI

Optional tools

  • Use the following additional tools. These are not required by Draco, but might be useful.
  • A list of tools that can be installed by winget are shown at Setup Windows 10

Qt

  • UI/Windowing framework.
  • There are a couple of Draco applications that require Qt, but these applications are not known to be required by Projects that use Draco.
  • https://www.qt.io/download-qt-installer

Doxygen

  • Install via winget, but may also want these extensions:
    • Doxygen winget install doxygen
    • Graphviz winget install graphviz
    • MSCGEN
    • Dia winget install dia -s winget
    • Ghostscript winget install ghostscript
      • ensure gswin32c.exe is found in %PATH%
    • Might need LaTeX to create inline HTML equations (see below)

LaTeX

  • Needed for building some Draco documentation. Might be needed for creating equations via Doxygen.
  • MiKTeX - https://miktex.org/download
    • ensure latex.exe is found in %PATH%

Links