-
Notifications
You must be signed in to change notification settings - Fork 1
Provisioning a build machine
In order to build DASH, your system must meet some requirements. The following instructions are a manual equivalent of how we at CCDC provision the build machine that generates the DASH installers.
Any modern and patched windows operating system should fit the bill. DASH has very few hardware requirements itself.
We use chocolatey to install the various tools mentioned here, with the exception of the Intel oneAPI tools and Winteracter. We higly recommend that you use it or an equivalent package manager to install the programs below, it will save you tons of time, reduce your chances of installing malware by accident and help you keep your system update.
The Intel oneAPI legacy Fortran compiler requires a working Visual Studio 2019 installation. The Desktop development with C++ workload will provide the required components
Chocolatey Packages: choco install visualstudio2019community visualstudio2019-workload-nativedesktop
You should first install the Intel oneAPI Base Toolkit package.
At CCDC, we use the online installer and only install the GDB debugger and VTune components, thus saving gigabytes of space on tools we do not require.
You can run the online installer executable and follow the graphical interface or use the installer 'silent more' to install what's required. The command we use roughly looks like this. Please consult the oneAPI documentation for more details as the instructions here might become stale.
w_BaseKit_p_2021.4.0.3421.exe --silent --remove-extracted-files yes --a --silent --eula=accept --components=intel.oneapi.win.dpcpp_debugger:intel.oneapi.win.vtune --intel-sw-improvement-program-consent=no
Once the Base Toolkit is installed, you need to install the oneAPI HPC Toolkit.
At CCDC, we use the online installer and only install the Fortran compiler component. The other components are not required for building DASH.
You can run the online installer executable and follow the graphical interface or use the installer 'silent more' to install what's required. The command we use roughly looks like this. Please consult the oneAPI documentation for more details.
w_HPCKit_p_2021.4.0.3340.exe --silent --remove-extracted-files yes --a --silent --eula=accept --components=intel.oneapi.win.ifort-compiler --intel-sw-improvement-program-consent=no
Used to extract files obtained from github
Chocolatey Packages: choco install 7zip
You will need a git client to fetch the source code from github.
Chocolatey Packages: choco install git
CMake translates the instructions in the CMakeLists.txt file into a Visual Studio specific solution that can be used to build the code.
Chocolatey Packages: choco install cmake
Ninja is a modern and fast replacement for the venerable make tool. It is natively supported by CMake. We use ninja to build the code at CCDC.
Chocolatey Packages: choco install ninja
Winteracter is a GUI toolset for the Fortran programming language. It consists of various visual development tools and a substantial subroutine library. A copy must be bought from ISS and installed on your system.
WIX Toolset is used to create the installers. Before installing the chocolatey package, you must make sure that the .NET Framework 3.5 Windows Feature is installed or the chocolatey command below will hang.
Chocolatey Packages: choco install wixtoolset