2.1. Windows Installation¶
MFiX has been developed and tested on the following Windows versions:
Windows 10 (64-bit)
If you have an issue running MFiX works on your system, ask for help at Support Forum.
2.1.1. Install Anaconda¶
For instance, with the Anaconda installer:
Double-click on the downloaded file. (At the time of this writing, it would be
Uncheck “Add Anaconda to my PATH environment variable”
Check “Register Anaconda as my default Python”
Anaconda is now installed. To verify, open the Start Menu, and run
2.1.2. Install MFiX¶
After installing Anaconda, install MFiX with the following steps:
Open the Anaconda Prompt (Start Menu, type anaconda, enter)
Browse to MFiX Download (requires registration and login)
Copy the conda command.
Paste it in the Anaconda Prompt and hit enter.
If you already installed MFiX, you may see the following message. Select
y to confirm.
WARNING: A conda environment already exists Remove existing environment (y/[n])? y
MFiX will be installed in a new conda environment. The process will take a few minutes to complete.
2.1.3. Run MFiX¶
Open the Anaconda prompt by opening the Start Menu, type “Anaconda Prompt”, and selecting the Anaconda Prompt. Then run the following commands:
conda activate mfix-20.2
Your prompt should look something like this:
C:\> conda create -n mfix-20.2 mfix=20.2 -c https://mfix.netl.doe.gov/.... C:\> conda env list # conda environments: # base * C:\Users\user\anaconda3 mfix-20.2 C:\Users\user\anaconda3\envs\mfix-20.2 C:\> conda activate mfix-20.2 C:\(mfix-20.2)> conda env list # conda environments: # base C:\Users\user\anaconda3 mfix-20.2 * C:\Users\user\anaconda3\envs\mfix-20.2 C:\> mfix
2.1.4. Deactivate Conda Environment¶
After using MFiX you can just
exit to leave the Anaconda Prompt. However, if
you need to deactivate the
mfix-20.2 conda environment, you can do so with:
C:\(mfix-20.2)> deactivate C:\>
This returns to the base conda environment.
2.1.5. Uninstall MFiX¶
To uninstall MFiX from a conda environment:
C:\(mfix-20.2)> conda uninstall mfix
To remove the conda environment (if you have the environment activated, deactivate it first):
C:\(mfix-20.2)> conda deactivate C:\> conda env remove -n mfix-20.2
To uninstall Anaconda entirely, go to “Add or remove programs” under Windows Control Panel, and uninstall Anaconda.
To learn more about managing conda environments, visit the conda documentation .