Updating the CompilerDetector.exe Utility File - For PSCAD Version 5.1 and Newer
A new compiler detector utility, CompilerDetector.exe, was released at PSCAD v5.1.0. In conjunction with the new compiler configuration file, this utility allows the user to select the desired combination of third-party compilers, Intel Fortran compiler, Microsoft Visual Studio, and MATLAB, in the Dependencies tab in the Application Options dialog.
The compiler detector utility, installed alongside PSCAD, can become outdated as newer versions of the third-party compiling software are released. Consequently, newer compiling versions might not be detectable by PSCAD, and therefore not useable.
This article provides the instructions for detecting when the compiler detector utility is outdated, and for updating the utility either automatically or manually.
Note - These instructions are applicable for PSCAD v5.1 and newer.
1. Detecting whether the Compiler Detector Utility is outdated
- Download and run the newest version of the Fortran Medic utility as per Steps (a) to (d) of this article.
Note: At Step (c), ensure to select Yes to allow the Fortran Medic utility to be able to make changes to your machine. - When the Fortran Medic utility has finished gathering information about your system, scroll down to the PSCAD installation. If an error indicating that the compiler detector utility is outdated, then proceed as per Step 2 or 3 below.
2. Automatically Updating the Compiler Detector Utility
- Follow the instructions in Step 1 above to use the Fortran Medic Utility to display the error.
- Right-click on the error, and select the option to update the utility.
- To check that the error is no longer present, the Fortran Medic Utility must be restarted first (go Actions | Start); wait for the results to display, then scroll down to check for the error.
3. Manually Updating the Compiler Detector Utility
- To obtain the CompilerDetector.exe file, either:
- Request the most recent version of the file from our support desk (support@mhi.ca), or
- Download and unzip the file from the link at the bottom of this article.
Note - This might not be the most recent version.
- Use the new file to replace your current CompilerDetector.exe file. The location should be similar to the following:
C:\Program Files (x86)\<PSCADVersion>\Utilities