Setting Up Intel Version* to Switch Between Two Versions of Visual Studio

By default, the Intel Fortran compiler will detect and use the most recent and compatible version of Visual Studio (VS). For example, if VS 2013 and VS 2015 are both installed, Intel 15 Update 4 and newer will always use VS 2015.

Sometimes, however, due to model compatibility, a PSCAD user needs to be able to switch between using two different versions of VS with the same compiler. For example, some models may require Intel 15 Update 7 / VS 2013, and some models may require Intel 15 Update 7 / VS 2015. In theory, if Intel 15 by default uses VS 2015, then the Intel 15 / VS 2013 models can never be run.

One work-around, as presented in the attached document, involves modifying the Fortran configuration file (fortran_compilers.xml), with the result that the user can select the desired Intel / VS combination in the PSCAD Application Options.

The attached example contains a "before" and "after" Fortran configuration file.

Documents

Examples

Back