Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

Intel® Parallel Studio XE 2016 for Linux*: compilervars set $MANPATH incorrectly

$
0
0

Problem:
With Intel® Parallel Studio XE 2016 for Linux* (initial release), sourcing the compilervars.[csh|sh] scripts (simply compilervars in the following) might set $MANPATH incorrectly. This can result in not being able to view the system man pages anymore. This is only temporarily since being limited to the shell environment for which the scripts have been sourced. Opening a new shell does show the correct $MANPATH again, according to the system configuration.

Example:


$ man ls

<shows man page for ls>

 

$ source <install-dir>/compilers_and_libraries/linux/bin/compilervars.sh intel64

 

$ man ls

No manual entry for ls

See 'man 7 undocumented' for help when manual pages are not available.

Some man pages from Intel® Software Development Products are still shown correctly, like man icc, man ifort, ...

Environment:
Intel® Parallel Studio XE 2016 for Linux* (with Intel® C++ Compiler and/or Intel® Fortran Compiler 16.0).
Some Linux* distributions, like Ubuntu*, are affected but not all.

Root Cause:
The compilervars scripts also source the ones for the debug solutions (debuggervars.[csh|sh]) which in turn modify the $MANPATH incorrectly.

Resolution:
Since the modification of the shell's environment via compilervars is only temporary, opening another shell has a correct $MANPATH again. That other shell can be used to view the man pages.
A fix will be available with the next update.


Viewing all articles
Browse latest Browse all 3384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>