Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Installing 9.1 over 9.0

ferrad01
Beginner
447 Views

After the installation of 9.1 over an existing version of 9.0, I noticed that the environment variables PATH, LIB and INCLUDE still have the relevant 9.0 entries, and that as the 9.1 entries are put at the end, the 9.0 versions take precedence. This has confused a lot of our users, is there a way to automatically fix this for them without having to tell them all to go into System -> Control Panel -> etc ?

0 Kudos
2 Replies
TimP
Honored Contributor III
447 Views
This is one of the reasons I don't find the "update environment variables" installation option satisfactory. I always use the Intel Software....>Intel Fortran...>Build environment window, after making any necessary fixes to ifortvars.bat and ifort.cfg. It does seem that removing a compiler should also remove the associated environment variables, and installing a new compiler should ask if you want to replace environment variables from an earlier compiler. You are entitled to file an issue on premier.intel.com if a change would make it more convenient.
0 Kudos
Steven_L_Intel1
Employee
447 Views

If you install 9.1 over 9.0, 9.0 remains installed. The system enviroinmnt variables can't deal with the concept of two versions installed, and I agree with Tim that this should not be relied upon and that the "Build Environment" shortcuts should be used instead.

If you uninstall a compiler, then its additions to the system variables SHOULD be removed, but that doesn't happen if you just install 9.1 over 9.0.

As for automatic correction - you can try having the users uninstall 9.0. But better is to have them use the build environment shortcuts.
0 Kudos
Reply