Re: broken by the FPATH environment variable defined by bash / lmod
Vincent Lefevre <[email protected]>
| Newsgroups | gmane.comp.shells.zsh.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2026-08-19 11:09:32 +0200, Vincent Lefevre wrote: > On 2026-08-18 01:36:29 +0200, Vincent Lefevre wrote: > > Or do you assume that FPATH should universally be known? > > In the past, the Intel compiler was using a variable named $FPATH, > until this got removed: > > https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-10-3-update-11-is-now-available/td-p/794956?profile.language=en [...] This was apparently for Fortran (and there was CPATH and C): https://wwwuser.gwdguser.de/~parallel/intel_compiler_doc/FortranReleaseNotes.htm https://community.intel.com/t5/Intel-Fortran-Compiler/Environment-variables/m-p/960090 https://community.intel.com/t5/Intel-Fortran-Compiler/Environment-variables-for-zsh/td-p/752259 So this lasted at least for 7 years (2005-2012), and even later due to old config files that remained! But it may still be used by other Fortran compilers: https://fortranwiki.org/fortran/show/Include+files "Directories specified by environment variables (e.g., FPATH or INCLUDE)." In 2021, FPATH is still used by LLVM/MPICH: https://mooseframework.inl.gov/releases/moose/2021-09-15/getting_started/installation/manual_installation_llvm.html which has export FPATH=$PACKAGES_DIR/mpich-3.3/include:$FPATH -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)