-
Notifications
You must be signed in to change notification settings - Fork 631
Setting up Windows Environment
For Windows, we only have experience with the Intel oneAPI toolkits, which provides the Fortran compiler (ifort or ifx) and MPI libraries. Follow these steps to setup the Windows environment.
1. Install Visual Studio: Download and install Visual Studio with "Desktop Development with C++" Component from here. Note that Visual Studio itself is not directly required for building FDS and Sundials, but it is necessary for installing the Intel Base Toolkit.
2. Install Intel Base and HPC Toolkit: Download and install the Windows version of Intel Base and HPC Toolkit from this link.
3. Install Git: Download and install Git from here and ensure that its "bin" directory is included in the PATH environment variable.
4. Install CMake: Generally cmake should be available through Visual studio installation. If not, install it from here. Add the "bin" directory of cmake installation to the PATH environment variable.
5. Install a make utility: Download and install Gnu make utility. If you have installed MinGW for Windows, MinGW provides the mingw32-make.exe utility (instead of make). To make it easier to use, create an alias "make" that executes mingw32-make.exe: Create a file named make.bat in the MinGW_Install_Dir\bin folder and add the following lines:
@echo off
mingw32-make %*
Add the "bin" directory of Gnu-make or MinGW to the PATH environment variable. You can use other "make" programs as well such as MinGW64 in a similar way.
Note: To add bin directories (for git, cmake, and make) to PATH variable you can either use following command from the Windows Command Prompt (Start menu -> cmd) or through Windows Start Menu (from the Start menu, search for "environment variables", select "Edit the system environment variables", then navigate to the "Advanced" tab and click "Environment Variables"). The second option is permanent and recommended.
Set PATH=%PATH%;<path to Gnu-make or MinGW Install_Dir>\bin