<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ifort command not found fedora8 in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748416#M5636</link>
    <description>&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Whatever editor you used to edit the file has seemingly converted it into &lt;B&gt;UTF-8 Unicode text&lt;/B&gt; format which bash is unable to parse. I get the same errors as you on my system trying to use both copies of profile you provided.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Try downloading the attached copy I provided. Rename your existing copies to have a suffix of .sav or .old, and then rename the file I provided to be just &lt;STRONG&gt;profile&lt;/STRONG&gt; and then retry the source command again.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;You should not see any errors (hopefully) and you should then be able to execute: &lt;STRONG&gt;which ifort&lt;/STRONG&gt; and see that ifort is found.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;If that works, then you need to determine whats different between the editors on your FC8 and FC5 systems.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jun 2008 18:22:08 GMT</pubDate>
    <dc:creator>Kevin_D_Intel</dc:creator>
    <dc:date>2008-06-12T18:22:08Z</dc:date>
    <item>
      <title>ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748403#M5623</link>
      <description>&lt;P&gt;Hi folks,&lt;BR /&gt;i have a fedora 8 installed computer, 64 bit with amd processor. but i have to use intel fortran compiler. i installed ifc 10.1.015 without any problem after i installed all the 'Development Tols'. then i configured the etc/profile file adding the last two lines:&lt;BR /&gt;&lt;BR /&gt;# /etc/profile&lt;BR /&gt;&lt;BR /&gt;# System wide environment and startup programs, for login setup&lt;BR /&gt;# Functions and aliases go in /etc/bashrc&lt;BR /&gt;&lt;BR /&gt;pathmunge () {&lt;BR /&gt;if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then&lt;BR /&gt;if [ "$2" = "after" ] ; then&lt;BR /&gt;PATH=$PATH:$1&lt;BR /&gt;else&lt;BR /&gt;PATH=$1:$PATH&lt;BR /&gt;fi&lt;BR /&gt;fi&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# ksh workaround&lt;BR /&gt;if [ -z "$EUID" -a -x /usr/bin/id ]; then&lt;BR /&gt;EUID=`id -u`&lt;BR /&gt;UID=`id -ru`&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;# Path manipulation&lt;BR /&gt;if [ "$EUID" = "0" ]; then&lt;BR /&gt;pathmunge /sbin&lt;BR /&gt;pathmunge /usr/sbin&lt;BR /&gt;pathmunge /usr/local/sbin&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;# No core files by default&lt;BR /&gt;ulimit -S -c 0 &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;if [ -x /usr/bin/id ]; then&lt;BR /&gt;USER="`id -un`"&lt;BR /&gt;LOGNAME=$USER&lt;BR /&gt;MAIL="/var/spool/mail/$USER"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;HOSTNAME=`/bin/hostname`&lt;BR /&gt;HISTSIZE=1000&lt;BR /&gt;&lt;BR /&gt;if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then&lt;BR /&gt;INPUTRC=/etc/inputrc&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC&lt;BR /&gt;&lt;BR /&gt;for i in /etc/profile.d/*.sh ; do&lt;BR /&gt;if [ -r "$i" ]; then&lt;BR /&gt;. $i&lt;BR /&gt;fi&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;unset i&lt;BR /&gt;unset pathmunge&lt;BR /&gt;PATH=$PATH:/utilities:/opt/intel/fc/10.1.015/bin&lt;BR /&gt;export PATH&lt;BR /&gt;&lt;BR /&gt;finally when i try to compile the program, i get the following warnings:&lt;BR /&gt;&lt;BR /&gt;[root@Halserv utilities]# make&lt;BR /&gt;Making the sequential version&lt;BR /&gt;make[1]: Entering directory `/utilities'&lt;BR /&gt;make[2]: Entering directory `/utilities'&lt;BR /&gt;ifort -c -O -r8 -std95 -o parameters.o parameters.f90&lt;BR /&gt;make[2]: ifort: Command not found&lt;BR /&gt;make[2]: *** [libgibbs.a(parameters.o)] Error 127&lt;BR /&gt;make[2]: Leaving directory `/utilities'&lt;BR /&gt;make[1]: *** [libexe] Error 2&lt;BR /&gt;make[1]: Leaving directory `/utilities'&lt;BR /&gt;make: *** [sequential] Error 2&lt;BR /&gt;&lt;BR /&gt;Is there anyone that can help me?&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2008 12:58:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748403#M5623</guid>
      <dc:creator>eren07</dc:creator>
      <dc:date>2008-05-15T12:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748404#M5624</link>
      <description>The 64-bit compiler is installed into /opt/intel/fce&lt;BR /&gt;&lt;BR /&gt;I would also recommend using the "source" with the supplied ifortvars.sh as there's more than just PATH.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 May 2008 14:55:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748404#M5624</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-05-15T14:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748405#M5625</link>
      <description>Thank you Steve,&lt;BR /&gt;however, it was installed in fc directory as i checked it out.&lt;BR /&gt;and using source with or without path, did not work.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;B&gt;&lt;FONT face="Courier New" size="2"&gt;source&lt;/FONT&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;B&gt; &lt;FONT face="Courier New" size="2"&gt;/opt/intel/fc&lt;/FONT&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;B&gt;&lt;FONT face="Courier New" size="2"&gt;/10.1.015/bin&lt;/FONT&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;B&gt;&lt;FONT face="Courier New" size="2"&gt;/ifortvars.sh&lt;/FONT&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;</description>
      <pubDate>Tue, 20 May 2008 11:19:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748405#M5625</guid>
      <dc:creator>eren07</dc:creator>
      <dc:date>2008-05-20T11:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748406#M5626</link>
      <description>&lt;P&gt;&lt;FONT face="Arial"&gt;Steve suggested the subdirectory &lt;STRONG&gt;'fce'&lt;/STRONG&gt; in relation to your original post and the comment about the "64 bit with amd processor". If you are also running the 64-bit version of Fedora, then our installation would install the Intel 64 compiler under &lt;STRONG&gt;'fce'&lt;/STRONG&gt; sub-directory and not the 32-bit compiler which is found under &lt;STRONG&gt;'fc'&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial"&gt;When you said using 'source' did not work. Does that mean you tried adding the source command in /etc/profile?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial"&gt;If so, after editing this file, did you log out and log back in, or start a new shell or, source /etc/profile to ensure your changes became active in your working shell?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial"&gt;Are you intended to run your makefile while logged in as root? Just asking since that is what you showed in your original post.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial"&gt;To provide us with some additional information, can you please execute the following commands and post the output in the issue:&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT face="Arial"&gt;/opt/intel/fc/10.1.015/bin/ifort -V&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="Arial"&gt;env&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2008 12:52:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748406#M5626</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2008-05-20T12:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748407#M5627</link>
      <description>Thank you for contributing the solution of the problem.&lt;BR /&gt;I used PATH=$PATH:/utilities:/opt/intel/fc/10.1.015/bin&lt;BR /&gt;command in terminal, then the ifort command worked, so my fortran program was installed without any problem (although source command in terminal with some problem), and finally it worked in the same terminal session.&lt;BR /&gt;however, i have to always use the path command to run my fortran program, and it is very difficult to do it for each windows.&lt;BR /&gt;i tried them in profile file (path command with; export PATH), but it was unsuccessful.&lt;BR /&gt;as you asked for &lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face="Arial"&gt;/opt/intel/fc/10.1.015/bin/ifort -V&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="Arial"&gt;env&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;FONT face="Arial"&gt;commands, here are the resulting lines. Could you help about session problem?&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;[root@Halserv /]# /opt/intel/fc/10.1.015/bin/ifort -V&lt;BR /&gt;Intel Fortran Compiler for applications running on IA-32, Version 10.1 Build 20080312 Package ID: l_fc_p_10.1.015&lt;BR /&gt;Copyright (C) 1985-2008 Intel Corporation. All rights reserved.&lt;BR /&gt;FOR NON-COMMERCIAL USE ONLY&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;[root@Halserv /]# env&lt;BR /&gt;SSH_AGENT_PID=3095&lt;BR /&gt;SHELL=/bin/bash&lt;BR /&gt;DESKTOP_STARTUP_ID=&lt;BR /&gt;TERM=xterm&lt;BR /&gt;XDG_SESSION_COOKIE=e88b196d29d168ab7ca96e004820f700-1211549929.788528-977304023&lt;BR /&gt;GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2&lt;BR /&gt;WINDOWID=48234587&lt;BR /&gt;GTK_MODULES=gnomebreakpad&lt;BR /&gt;USER=root&lt;BR /&gt;LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:&lt;BR /&gt;CCACHE_DIR=/var/cache/ccache&lt;BR /&gt;SSH_AUTH_SOCK=/tmp/ssh-FYMXWi3066/agent.3066&lt;BR /&gt;GNOME_KEYRING_SOCKET=/tmp/keyring-algh74/socket&lt;BR /&gt;SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/3066,unix/unix:/tmp/.ICE-unix/3066&lt;BR /&gt;DESKTOP_SESSION=default&lt;BR /&gt;PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin&lt;BR /&gt;GDM_XSERVER_LOCATION=local&lt;BR /&gt;PWD=/&lt;BR /&gt;CCACHE_UMASK=002&lt;BR /&gt;KDE_IS_PRELINKED=1&lt;BR /&gt;LANG=C&lt;BR /&gt;GNOME_KEYRING_PID=3064&lt;BR /&gt;GDM_LANG=C&lt;BR /&gt;KDEDIRS=/usr&lt;BR /&gt;GDMSESSION=default&lt;BR /&gt;SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass&lt;BR /&gt;HOME=/root&lt;BR /&gt;SHLVL=2&lt;BR /&gt;GNOME_DESKTOP_SESSION_ID=Default&lt;BR /&gt;LOGNAME=root&lt;BR /&gt;CVS_RSH=ssh&lt;BR /&gt;XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/&lt;BR /&gt;DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-4BENFWm4hs,guid=c3ec21ea3390c5e3fb4c82004836c8e9&lt;BR /&gt;LESSOPEN=|/usr/bin/lesspipe.sh %s&lt;BR /&gt;WINDOWPATH=7:7&lt;BR /&gt;DISPLAY=:0.0&lt;BR /&gt;G_BROKEN_FILENAMES=1&lt;BR /&gt;COLORTERM=gnome-terminal&lt;BR /&gt;XAUTHORITY=/tmp/.gdmO02UBU&lt;BR /&gt;OLDPWD=/root&lt;BR /&gt;_=/bin/env&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 23 May 2008 14:52:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748407#M5627</guid>
      <dc:creator>eren07</dc:creator>
      <dc:date>2008-05-23T14:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748408#M5628</link>
      <description>&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;Your last post shows you have the IA-32 compiler installed, which suggest you probably are also running the 32-bit version of Fedora Core 8. Since you opened this thread indicating your system contains a 64-bit AMD processor, if thats true, then you wont realize the full potential of your cpu with the choice of OS and compiler. For that you need to use the 64-bit (x86_64) version of Fedora Core 8, and then the Intel compiler installer will install the Intel 64 compiler, not the IA-32 compiler.&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;It is nearly impossible to assist with your issues involving /etc/profile and the source command in the absence of seeing a context of what you state is not working. If you can provide details for errors you received or what is meant by it was unsuccessful then we can try to help.&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;Your env output shows a couple of things:&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;You are still using the root account. Maybe thats what you intend, but thats not typical&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;Theres no evidence the PATH setting was set as you described, meaning theres no path to ifort&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;If you suffer an error when using the command: &lt;B&gt;source /opt/intel/fc/10.1.015/bin/ifortvars.sh&lt;/B&gt; then please tell us what that error is.&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;After editing /etc/profile what do you mean when you say it was unsuccessful?&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;What was unsuccessful?&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;After editing /etc/profile it is imperative that you do one of the following actions so the changes take effect:&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;Completely logoff your system and log back in and restart any Xterm or terminal windows, then check the PATH setting or execute: &lt;B&gt;ifort -V&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;Enter the command: &lt;B&gt;source /etc/profile&lt;/B&gt; in the current window, then check the PATH setting or execute: &lt;B&gt;ifort -V&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;Spawn a new shell from the current window so that /etc/profile is read, then check the PATH setting or execute: &lt;B&gt;ifort -V&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;The preferred action is option 1 above. The point of changing /etc/profile is to ensure that when users log into your system their environment is setup as you desire with a path to ifort.&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SP an=""&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SP&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;If you are not trying to make a system-wide change for all users, then assuming your personal account default login shell is BASH, a better alternative to editing /etc/profile is to edit your personal user accounts $HOME/.bash_profile or $HOME/.bash_rc to add the command to source the ifortvars.sh setup script.&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;I know you keep focusing on only setting the PATH variable to the bin sub-directory to run ifort, but believe us when we tell you this is not sufficient. If you get your program compiled and produce an executable it is likely the execution will fail due to you not having LD_LIBRARY_PATH set accordingly to load necessary ifort related shared libraries.&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;To resolve what you are trying to accomplish, you should focus on entering the source command mentioned earlier in /etc/profile or either your personal $HOME/.bash_profile or $HOME/.bash_rc files as mentioned.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2008 16:21:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748408#M5628</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2008-05-23T16:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748409#M5629</link>
      <description>As you said, it must be 32bit-fc. First of all, i tried your suggestions after adding the source line into etc/profile file and logging off and then back in. Here is the output:&lt;BR /&gt;&lt;FONT color="#008000"&gt;[root@Halserv /]# ifort -V&lt;BR /&gt;bash: ifort: command not found&lt;BR /&gt;[root@Halserv /]# source /etc/profile&lt;BR /&gt;: command not found&lt;BR /&gt;: command not found&lt;BR /&gt;'ash: /etc/profile: line 6: syntax error near unexpected token `{&lt;BR /&gt;'ash: /etc/profile: line 6: `pathmunge () {&lt;BR /&gt;[root@Halserv /]# ifort -V&lt;BR /&gt;bash: ifort: command not found&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;This is my profile file:&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;# /etc/profile
&lt;BR /&gt;&lt;BR /&gt;# System wide environment and startup programs, for login setup
&lt;BR /&gt;# Functions and aliases go in /etc/bashrc
&lt;BR /&gt;&lt;BR /&gt;pathmunge () {
&lt;BR /&gt; if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
&lt;BR /&gt;  if [ "$2" = "after" ] ; then
&lt;BR /&gt;  PATH=$PATH:$1
&lt;BR /&gt;  else
&lt;BR /&gt;  PATH=$1:$PATH
&lt;BR /&gt;  fi
&lt;BR /&gt; fi
&lt;BR /&gt;}
&lt;BR /&gt;&lt;BR /&gt;# ksh workaround
&lt;BR /&gt;if [ -z "$EUID" -a -x /usr/bin/id ]; then
&lt;BR /&gt; EUID=`id -u`
&lt;BR /&gt; UID=`id -ru`
&lt;BR /&gt;fi
&lt;BR /&gt;&lt;BR /&gt;# Path manipulation
&lt;BR /&gt;if [ "$EUID" = "0" ]; then
&lt;BR /&gt; pathmunge /sbin
&lt;BR /&gt; pathmunge /usr/sbin
&lt;BR /&gt; pathmunge /usr/local/sbin
&lt;BR /&gt;fi
&lt;BR /&gt;&lt;BR /&gt;# No core files by default
&lt;BR /&gt;ulimit -S -c 0 &amp;gt; /dev/null 2&amp;gt;&amp;amp;1
&lt;BR /&gt;&lt;BR /&gt;if [ -x /usr/bin/id ]; then
&lt;BR /&gt; USER="`id -un`"
&lt;BR /&gt; LOGNAME=$USER
&lt;BR /&gt; MAIL="/var/spool/mail/$USER"
&lt;BR /&gt;fi
&lt;BR /&gt;&lt;BR /&gt;HOSTNAME=`/bin/hostname`
&lt;BR /&gt;HISTSIZE=1000
&lt;BR /&gt;&lt;BR /&gt;if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
&lt;BR /&gt; INPUTRC=/etc/inputrc
&lt;BR /&gt;fi
&lt;BR /&gt;&lt;BR /&gt;export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
&lt;BR /&gt;&lt;BR /&gt;for i in /etc/profile.d/*.sh ; do
&lt;BR /&gt; if [ -r "$i" ]; then
&lt;BR /&gt;  . $i
&lt;BR /&gt; fi
&lt;BR /&gt;done
&lt;BR /&gt;&lt;BR /&gt;unset i
&lt;BR /&gt;unset pathmunge&lt;BR /&gt;source /opt/intel/fce/10.1.015/bin/ifortvars.sh&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Times New Roman"&gt;I have the same file (except the last line, it has the "PATH" line) in another fc5 installed pc, however it has no problem.&lt;BR /&gt;&lt;BR /&gt;I meant saying unsuccessful that executable file command had not been found. Therefore, i tried the same procedure to write the output. I installed the gibbs package program with make command, however when i use gibbs.exe command without path command, it fails. I have to always write the path command in each window.&lt;BR /&gt;This is the output, when i used the source command in terminal:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;[root@Halserv utilities]# make&lt;BR /&gt;Making the sequential version&lt;BR /&gt;make[1]: Entering directory `/utilities'&lt;BR /&gt;perl ./makeDepends.pl ./Makefile.depends . gibbs gibbs.f90 generic.f90 parameters.f90 common.f90 timing.f90 random.f90 adjust_param.f90 aua_model.f90 energy.f90 pressure.f90 utilities.f90 electrostatic.f90 update_transfer.f90 induction.f90 volume_change.f90 gdeR.f90 rotate_mol.f90 translate_mol.f90 regrow_CBMC.f90 read_write.f90 initconf_mol.f90 cycle.f90 create_initconf.f90 relax_rigid.f90 int_config_mol.f90 transfer_mol.f90 int_ro
t_ssb.f90 reptation.f90 conrot.f90 gcmc.f90 branched.f90 pivot.f90 displacement.f90 swap.f90 mod_main.f90 dble_bridging.f90 trimer.f90 int_dble_rebridging.f90 fakeMpi.f90&lt;BR /&gt;make[2]: Entering directory `/utilities'&lt;BR /&gt;ifort -c -O -r8 -std95 -o parameters.o parameters.f90&lt;BR /&gt;make[2]: ifort: Command not found&lt;BR /&gt;make[2]: *** [libgibbs.a(parameters.o)] Error 127&lt;BR /&gt;make[2]: Leaving directory `/utilities'&lt;BR /&gt;make[1]: *** [libexe] Error 2&lt;BR /&gt;make[1]: Leaving directory `/utilities'&lt;BR /&gt;make: *** [sequential] Error 2&lt;BR /&gt;[root@Halserv utilities]# source /opt/intel/fc/10.1.015/bin/ifortvars.sh&lt;BR /&gt;[root@Halserv utilities]# make&lt;BR /&gt;Making the sequential version&lt;BR /&gt;make[1]: Entering directory `/utilities'&lt;BR /&gt;make[2]: Entering directory `/utilities'&lt;BR /&gt;ifort -c -O -r8 -std95 -o parameters.o parameters.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a parameters.o&lt;BR /&gt;/usr/bin/ar: creating ./libgibbs.a&lt;BR /&gt;a - parameters.o&lt;BR /&gt;/bin/rm -f parameters.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o common.o common.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a common.o&lt;BR /&gt;a - common.o&lt;BR /&gt;/bin/rm -f common.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o adjust_param.o adjust_param.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a adjust_param.o&lt;BR /&gt;a - adjust_param.o&lt;BR /&gt;/bin/rm -f adjust_param.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o gdeR.o gdeR.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a gdeR.o&lt;BR /&gt;a - gdeR.o&lt;BR /&gt;/bin/rm -f gdeR.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o energy.o energy.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a energy.o&lt;BR /&gt;a - energy.o&lt;BR /&gt;/bin/rm -f energy.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o pressure.o pressure.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a pressure.o&lt;BR /&gt;a - pressure.o&lt;BR /&gt;/bin/rm -f pressure.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o random.o random.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a random.o&lt;BR /&gt;a - random.o&lt;BR /&gt;/bin/rm -f random.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o utilities.o utilities.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a utilities.o&lt;BR /&gt;a - utilities.o&lt;BR /&gt;/bin/rm -f utilities.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o initconf_mol.o initconf_mol.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a initconf_mol.o&lt;BR /&gt;a - initconf_mol.o&lt;BR /&gt;/bin/rm -f initconf_mol.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o fakeMpi.o fakeMpi.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a fakeMpi.o&lt;BR /&gt;a - fakeMpi.o&lt;BR /&gt;/bin/rm -f fakeMpi.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o induction.o induction.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a induction.o&lt;BR /&gt;a - induction.o&lt;BR /&gt;/bin/rm -f induction.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o aua_model.o aua_model.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a aua_model.o&lt;BR /&gt;a - aua_model.o&lt;BR /&gt;/bin/rm -f aua_model.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o regrow_CBMC.o regrow_CBMC.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a regrow_CBMC.o&lt;BR /&gt;a - regrow_CBMC.o&lt;BR /&gt;/bin/rm -f regrow_CBMC.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o cycle.o cycle.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a cycle.o&lt;BR /&gt;a - cycle.o&lt;BR /&gt;/bin/rm -f cycle.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o electrostatic.o electrostatic.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a electrostatic.o&lt;BR /&gt;a - electrostatic.o&lt;BR /&gt;/bin/rm -f electrostatic.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o relax_rigid.o relax_rigid.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a relax_rigid.o&lt;BR /&gt;a - relax_rigid.o&lt;BR /&gt;/bin/rm -f relax_rigid.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o update_transfer.o update_transfer.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a update_transfer.o&lt;BR /&gt;a - update_transfer.o&lt;BR /&gt;/bin/rm -f update_transfer.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o transfer_mol.o transfer_mol.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a transfer_mol.o&lt;BR /&gt;a - transfer_mol.o&lt;BR /&gt;/bin/rm -f transfer_mol.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o timing.o timing.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a timing.o&lt;BR /&gt;a - timing.o&lt;BR /&gt;/bin/rm -f timing.o
&lt;BR /&gt;ifort -c -O -r8 -std95 -o translate_mol.o translate_mol.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a translate_mol.o&lt;BR /&gt;a - translate_mol.o&lt;BR /&gt;/bin/rm -f translate_mol.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o trimer.o trimer.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a trimer.o&lt;BR /&gt;a - trimer.o&lt;BR /&gt;/bin/rm -f trimer.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o conrot.o conrot.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a conrot.o&lt;BR /&gt;a - conrot.o&lt;BR /&gt;/bin/rm -f conrot.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o dble_bridging.o dble_bridging.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a dble_bridging.o&lt;BR /&gt;a - dble_bridging.o&lt;BR /&gt;/bin/rm -f dble_bridging.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o swap.o swap.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a swap.o&lt;BR /&gt;a - swap.o&lt;BR /&gt;/bin/rm -f swap.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o displacement.o displacement.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a displacement.o&lt;BR /&gt;a - displacement.o&lt;BR /&gt;/bin/rm -f displacement.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o branched.o branched.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a branched.o&lt;BR /&gt;a - branched.o&lt;BR /&gt;/bin/rm -f branched.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o read_write.o read_write.f90&lt;BR /&gt;fortcom: Warning: read_write.f90, line 2287: Extension to standard: The text exceeds right hand column allowed on the line.&lt;BR /&gt; read (1,*) mix_rule ! 1 = Lorentz-Berthelot ; 2 = Kong ; 3 = Waldmann - Hagler ; 4 = geometric on sigma and epsilon -- default value in name list: 1&lt;BR /&gt;------------------------------------------------------------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Warning: read_write.f90, line 2315: Extension to standard: The text exceeds right hand column allowed on the line.&lt;BR /&gt; read (1,*) induction ! true if induction energy (i.e. polarisation) is considered ; false else -- default value in name list: false&lt;BR /&gt;------------------------------------------------------------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Warning: read_write.f90, line 2377: Extension to standard: The text exceeds right hand column allowed on the line.&lt;BR /&gt; read (1,*) setpoint ! target acceptance for rotations, translations, volume changes -- default value in name list: 0.5&lt;BR /&gt;------------------------------------------------------------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Warning: read_write.f90, line 2381: Extension to standard: The text exceeds right hand column allowed on the line.&lt;BR /&gt; read (1,*) cutoff2 ! cutoff radius, angstroem (if zero, cutoff is set to smallest half box length) -- default value in name list: 0.&lt;BR /&gt;------------------------------------------------------------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Warning: read_write.f90, line 7539: Parentheses around an I/O list is an extension to Standard F95. [MU]&lt;BR /&gt; (Mu(i,1))&lt;BR /&gt;-----------^&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a read_write.o&lt;BR /&gt;a - read_write.o&lt;BR /&gt;/bin/rm -f read_write.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o int_config_mol.o int_config_mol.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a int_config_mol.o&lt;BR /&gt;a - int_config_mol.o&lt;BR /&gt;/bin/rm -f int_config_mol.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o pivot.o pivot.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a pivot.o&lt;BR /&gt;a - pivot.o&lt;BR /&gt;/bin/rm -f pivot.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o reptation.o reptation.f90&lt;BR /&gt;/usr/bin/ar rv
 ./libgibbs.a reptation.o&lt;BR /&gt;a - reptation.o&lt;BR /&gt;/bin/rm -f reptation.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o gcmc.o gcmc.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a gcmc.o&lt;BR /&gt;a - gcmc.o&lt;BR /&gt;/bin/rm -f gcmc.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o rotate_mol.o rotate_mol.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a rotate_mol.o&lt;BR /&gt;a - rotate_mol.o&lt;BR /&gt;/bin/rm -f rotate_mol.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o volume_change.o volume_change.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a volume_change.o&lt;BR /&gt;a - volume_change.o&lt;BR /&gt;/bin/rm -f volume_change.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o create_initconf.o create_initconf.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a create_initconf.o&lt;BR /&gt;a - create_initconf.o&lt;BR /&gt;/bin/rm -f create_initconf.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o int_dble_rebridging.o int_dble_rebridging.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a int_dble_rebridging.o&lt;BR /&gt;a - int_dble_rebridging.o&lt;BR /&gt;/bin/rm -f int_dble_rebridging.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o int_rot_ssb.o int_rot_ssb.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a int_rot_ssb.o&lt;BR /&gt;a - int_rot_ssb.o&lt;BR /&gt;/bin/rm -f int_rot_ssb.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o mod_main.o mod_main.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a mod_main.o&lt;BR /&gt;a - mod_main.o&lt;BR /&gt;/bin/rm -f mod_main.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o gibbs.o gibbs.f90&lt;BR /&gt;ifort -c -O -r8 -std95 -o generic.o generic.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a generic.o&lt;BR /&gt;a - generic.o&lt;BR /&gt;/bin/rm -f generic.o&lt;BR /&gt;ifort -o gibbs.exe gibbs.o -L. -lgibbs -static-libcxa&lt;BR /&gt;ifort: command line remark #10010: option '-static-libcxa' is deprecated and will be removed in a future release. See '-help deprecated'&lt;BR /&gt;make[2]: Leaving directory `/utilities'&lt;BR /&gt;make[1]: Leaving directory `/utilities'&lt;BR /&gt;[root@Halserv utilities]# gibbs.exe&lt;BR /&gt;bash: gibbs.exe: command not found&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Times New Roman"&gt;This is the output, when i used the path command in terminal (gibbs command worked but needed data files):&lt;BR /&gt;
&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#a52a2a"&gt;[root@Halserv utilities]# make&lt;BR /&gt;Making the sequential version&lt;BR /&gt;make[1]: Entering directory `/utilities'&lt;BR /&gt;perl ./makeDepends.pl ./Makefile.depends . gibbs gibbs.f90 generic.f90 parameters.f90 common.f90 timing.f90 random.f90 adjust_param.f90 aua_model.f90 energy.f90 pressure.f90 utilities.f90 electrostatic.f90 update_transfer.f90 induction.f90 volume_change.f90 gdeR.f90 rotate_mol.f90 translate_mol.f90 regrow_CBMC.f90 read_write.f90 initconf_mol.f90 cycle.f90 create_initconf.f90 relax_rigid.f90 int_config_mol.f90 transfer_mol.f90 int_rot_ssb.f90 reptation.f90 conrot.f90 gcmc.f90 branched.f90 pivot.f90 displacement.f90 swap.f90 mod_main.f90 dble_bridging.f90 trimer.f90 int_dble_rebridging.f90 fakeMpi.f90&lt;BR /&gt;make[2]: Entering directory `/utilities'&lt;BR /&gt;ifort -c -O -r8 -std95 -o parameters.o parameters.f90&lt;BR /&gt;make[2]: ifort: Command not found&lt;BR /&gt;make[2]: *** [libgibbs.a(parameters.o)] Error 127&lt;BR /&gt;make[2]: Leaving directory `/utilities'&lt;BR /&gt;make[1]: *** [libexe] Error 2&lt;BR /&gt;make[1]: Leaving directory `/utilities'&lt;BR /&gt;make: *** [sequential] Error 2&lt;BR /&gt;[root@Halserv utilities]# PATH=$PATH:/utilities:/opt/intel/fc/10.1.015/bin&lt;BR /&gt;[root@Halserv utilities]# make&lt;BR /&gt;Making the sequential version&lt;BR /&gt;make[1]: Entering directory `/utilities'&lt;BR /&gt;make[2]: Entering directory `/utilities'&lt;BR /&gt;ifort -c -O -r8 -std95 -o parameters.o parameters.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a parameters.o&lt;BR /&gt;/usr/bin/ar: creating ./libg
ibbs.a&lt;BR /&gt;a - parameters.o&lt;BR /&gt;/bin/rm -f parameters.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o common.o common.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a common.o&lt;BR /&gt;a - common.o&lt;BR /&gt;/bin/rm -f common.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o adjust_param.o adjust_param.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a adjust_param.o&lt;BR /&gt;a - adjust_param.o&lt;BR /&gt;/bin/rm -f adjust_param.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o gdeR.o gdeR.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a gdeR.o&lt;BR /&gt;a - gdeR.o&lt;BR /&gt;/bin/rm -f gdeR.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o energy.o energy.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a energy.o&lt;BR /&gt;a - energy.o&lt;BR /&gt;/bin/rm -f energy.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o pressure.o pressure.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a pressure.o&lt;BR /&gt;a - pressure.o&lt;BR /&gt;/bin/rm -f pressure.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o random.o random.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a random.o&lt;BR /&gt;a - random.o&lt;BR /&gt;/bin/rm -f random.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o utilities.o utilities.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a utilities.o&lt;BR /&gt;a - utilities.o&lt;BR /&gt;/bin/rm -f utilities.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o initconf_mol.o initconf_mol.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a initconf_mol.o&lt;BR /&gt;a - initconf_mol.o&lt;BR /&gt;/bin/rm -f initconf_mol.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o fakeMpi.o fakeMpi.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a fakeMpi.o&lt;BR /&gt;a - fakeMpi.o&lt;BR /&gt;/bin/rm -f fakeMpi.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o induction.o induction.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a induction.o&lt;BR /&gt;a - induction.o&lt;BR /&gt;/bin/rm -f induction.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o aua_model.o aua_model.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a aua_model.o&lt;BR /&gt;a - aua_model.o&lt;BR /&gt;/bin/rm -f aua_model.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o regrow_CBMC.o regrow_CBMC.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a regrow_CBMC.o&lt;BR /&gt;a - regrow_CBMC.o&lt;BR /&gt;/bin/rm -f regrow_CBMC.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o cycle.o cycle.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a cycle.o&lt;BR /&gt;a - cycle.o&lt;BR /&gt;/bin/rm -f cycle.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o electrostatic.o electrostatic.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a electrostatic.o&lt;BR /&gt;a - electrostatic.o&lt;BR /&gt;/bin/rm -f electrostatic.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o relax_rigid.o relax_rigid.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a relax_rigid.o&lt;BR /&gt;a - relax_rigid.o&lt;BR /&gt;/bin/rm -f relax_rigid.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o update_transfer.o update_transfer.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a update_transfer.o&lt;BR /&gt;a - update_transfer.o&lt;BR /&gt;/bin/rm -f update_transfer.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o transfer_mol.o transfer_mol.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a transfer_mol.o&lt;BR /&gt;a - transfer_mol.o&lt;BR /&gt;/bin/rm -f transfer_mol.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o timing.o timing.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a timing.o&lt;BR /&gt;a - timing.o&lt;BR /&gt;/bin/rm -f timing.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o translate_mol.o translate_mol.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a translate_mol.o&lt;BR /&gt;a - translate_mol.o&lt;BR /&gt;/bin/rm -f translate_mol.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o trimer.o trimer.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a trimer.o&lt;BR /&gt;a - trimer.o&lt;BR /&gt;/bin/rm -f trimer.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o conrot.o conrot.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a conrot.o&lt;BR /&gt;a - conrot.o&lt;BR /&gt;/bin/rm -f conrot.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o dble_bridging.o dble_bridging.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a dble_bridging.o&lt;BR /&gt;a - dble_bridging.o&lt;BR /&gt;/bin/rm -f dble_bridging.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o swap.o swap.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a swap.o&lt;BR /&gt;a - swap.o&lt;BR /&gt;/bin/rm -f swap.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o displacement.o displacement.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a displacement.o&lt;BR /&gt;a - displacement.o&lt;BR /&gt;/bin/rm -f displacement.o&lt;BR /&gt;ifort -c -O -r8 
-std95 -o branched.o branched.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a branched.o&lt;BR /&gt;a - branched.o&lt;BR /&gt;/bin/rm -f branched.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o read_write.o read_write.f90&lt;BR /&gt;fortcom: Warning: read_write.f90, line 2287: Extension to standard: The text exceeds right hand column allowed on the line.&lt;BR /&gt; read (1,*) mix_rule ! 1 = Lorentz-Berthelot ; 2 = Kong ; 3 = Waldmann - Hagler ; 4 = geometric on sigma and epsilon -- default value in name list: 1&lt;BR /&gt;------------------------------------------------------------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Warning: read_write.f90, line 2315: Extension to standard: The text exceeds right hand column allowed on the line.&lt;BR /&gt; read (1,*) induction ! true if induction energy (i.e. polarisation) is considered ; false else -- default value in name list: false&lt;BR /&gt;------------------------------------------------------------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Warning: read_write.f90, line 2377: Extension to standard: The text exceeds right hand column allowed on the line.&lt;BR /&gt; read (1,*) setpoint ! target acceptance for rotations, translations, volume changes -- default value in name list: 0.5&lt;BR /&gt;------------------------------------------------------------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Warning: read_write.f90, line 2381: Extension to standard: The text exceeds right hand column allowed on the line.&lt;BR /&gt; read (1,*) cutoff2 ! cutoff radius, angstroem (if zero, cutoff is set to smallest half box length) -- default value in name list: 0.&lt;BR /&gt;------------------------------------------------------------------------------------------------------------------------------------^&lt;BR /&gt;fortcom: Warning: read_write.f90, line 7539: Parentheses around an I/O list is an extension to Standard F95. [MU]&lt;BR /&gt; (Mu(i,1))&lt;BR /&gt;-----------^&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a read_write.o&lt;BR /&gt;a - read_write.o&lt;BR /&gt;/bin/rm -f read_write.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o int_config_mol.o int_config_mol.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a int_config_mol.o&lt;BR /&gt;a - int_config_mol.o&lt;BR /&gt;/bin/rm -f int_config_mol.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o pivot.o pivot.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a pivot.o&lt;BR /&gt;a - pivot.o&lt;BR /&gt;/bin/rm -f pivot.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o reptation.o reptation.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a reptation.o&lt;BR /&gt;a - reptation.o&lt;BR /&gt;/bin/rm -f reptation.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o gcmc.o gcmc.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a gcmc.o&lt;BR /&gt;a - gcmc.o&lt;BR /&gt;/bin/rm -f gcmc.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o rotate_mol.o rotate_mol.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a rotate_mol.o&lt;BR /&gt;a - rotate_mol.o&lt;BR /&gt;/bin/rm -f rotate_mol.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o volume_change.o volume_change.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a volume_change.o&lt;BR /&gt;a - volume_change.o&lt;BR /&gt;/bin/rm -f volume_change.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o create_initconf.o create_initconf.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a create_initconf.o&lt;BR /&gt;a - create_initconf.o&lt;BR /&gt;/bin/rm -f create_initconf.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o int_dble_rebridging.o int_dble_rebridging.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a int_dble_rebridging.o&lt;BR /&gt;a - int_dble_rebridging.o&lt;BR /&gt;/bin/rm -f int_dble_rebridging.o&lt;BR /&gt;ifort -c 
-O -r8 -std95 -o int_rot_ssb.o int_rot_ssb.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a int_rot_ssb.o&lt;BR /&gt;a - int_rot_ssb.o&lt;BR /&gt;/bin/rm -f int_rot_ssb.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o mod_main.o mod_main.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a mod_main.o&lt;BR /&gt;a - mod_main.o&lt;BR /&gt;/bin/rm -f mod_main.o&lt;BR /&gt;ifort -c -O -r8 -std95 -o gibbs.o gibbs.f90&lt;BR /&gt;ifort -c -O -r8 -std95 -o generic.o generic.f90&lt;BR /&gt;/usr/bin/ar rv ./libgibbs.a generic.o&lt;BR /&gt;a - generic.o&lt;BR /&gt;/bin/rm -f generic.o&lt;BR /&gt;ifort -o gibbs.exe gibbs.o -L. -lgibbs -static-libcxa&lt;BR /&gt;ifort: command line remark #10010: option '-static-libcxa' is deprecated and will be removed in a future release. See '-help deprecated'&lt;BR /&gt;make[2]: Leaving directory `/utilities'&lt;BR /&gt;make[1]: Leaving directory `/utilities'&lt;BR /&gt;[root@Halserv utilities]# gibbs.exe&lt;BR /&gt;The output file is redirected to gibbs.log&lt;BR /&gt;forrtl: severe (24): end-of-file during read, unit 1, file /utilities/potparam.dat&lt;BR /&gt;Image PC Routine Line Source &lt;BR /&gt;gibbs.exe 0827095B Unknown Unknown Unknown&lt;BR /&gt;gibbs.exe 0826FF7B Unknown Unknown Unknown&lt;BR /&gt;gibbs.exe 0823352E Unknown Unknown Unknown&lt;BR /&gt;gibbs.exe 081F2D52 Unknown Unknown Unknown&lt;BR /&gt;gibbs.exe 081F29ED Unknown Unknown Unknown&lt;BR /&gt;gibbs.exe 0820DFAB Unknown Unknown Unknown&lt;BR /&gt;gibbs.exe 08148A51 Unknown Unknown Unknown&lt;BR /&gt;gibbs.exe 08151798 Unknown Unknown Unknown&lt;BR /&gt;gibbs.exe 0804A213 Unknown Unknown Unknown&lt;BR /&gt;gibbs.exe 08049F01 Unknown Unknown Unknown&lt;BR /&gt;libc.so.6 006DE390 Unknown Unknown Unknown&lt;BR /&gt;gibbs.exe 08049E11 Unknown&amp;amp;nb
sp; Unknown Unknown&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Could you tell me how to use it witout writing any command before gibbs.exe for all users?&lt;BR /&gt;Thank you (sorry for this long message)!&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 27 May 2008 12:16:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748409#M5629</guid>
      <dc:creator>eren07</dc:creator>
      <dc:date>2008-05-27T12:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748410#M5630</link>
      <description>&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;If you have not noticed yet, the edit you made to the /etc/profile references the &lt;B&gt;fce&lt;/B&gt; directory when sourcing ifortvars.sh but that directory does not exist on your system since you installed the IA-32 compiler. The reason it worked when you sourced ifortvars.sh interactively is because you referenced the &lt;B&gt;fc&lt;/B&gt; subdirectory.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;You should add the following line to /etc/profile:&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;B&gt;&lt;SPAN&gt;source /opt/intel/fc/10.1.015/bin/ifortvars.sh &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;B&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Note that the path above references the &lt;STRONG&gt;fc&lt;/STRONG&gt; subdirectory. Once you make the correct edit to the /etc/profile your current system should work fine like your FC5 system.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2008 23:23:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748410#M5630</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2008-06-02T23:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748411#M5631</link>
      <description>I corrected the last line of etc/profile as source /opt/intel/fc/10.1.015/bin/ifortvars.sh&lt;BR /&gt;and logged off and back in. Then I used the same coomads as in the green written message, however the same lines come back as in the green message.&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2008 10:36:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748411#M5631</guid>
      <dc:creator>eren07</dc:creator>
      <dc:date>2008-06-06T10:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748412#M5632</link>
      <description>&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;If you edit /etc/profile then logoff/login there is no need to source /etc/profile again.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;The errors you received in green you earlier post for the ifort &lt;B&gt;command not found&lt;/B&gt; and using the &lt;B&gt;source&lt;/B&gt; command suggest that you have broken the /etc/profile file near line 6 while trying to edit the file. The file content you included in your earlier postshaded red I expect does not reflect what is actually on your system now. If you have backup of the file, then restore the file from the backup and edit the file again and only add the last line we have been discussing to source the ifortvars.sh script.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;If you do not have a backup, then check to make sure that line 6 reads as follows:&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;B&gt;&lt;SPAN&gt;pathmunge () {&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Perhaps in editing you accidentally removed a paren or curly bracket. If you want to paste the current /etc/profile content into a reply then perhaps we can spot the issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2008 16:20:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748412#M5632</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2008-06-06T16:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748413#M5633</link>
      <description>This is my original etc/profile file, which is the same as the file in the fc5 installed computer, except the last line:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#a52a2a"&gt;# /etc/profile
&lt;BR /&gt;&lt;BR /&gt;# System wide environment and startup programs, for login setup
&lt;BR /&gt;# Functions and aliases go in /etc/bashrc
&lt;BR /&gt;&lt;BR /&gt;pathmunge () {
&lt;BR /&gt; if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
&lt;BR /&gt;  if [ "$2" = "after" ] ; then
&lt;BR /&gt;  PATH=$PATH:$1
&lt;BR /&gt;  else
&lt;BR /&gt;  PATH=$1:$PATH
&lt;BR /&gt;  fi
&lt;BR /&gt; fi
&lt;BR /&gt;}
&lt;BR /&gt;&lt;BR /&gt;# ksh workaround
&lt;BR /&gt;if [ -z "$EUID" -a -x /usr/bin/id ]; then
&lt;BR /&gt; EUID=`id -u`
&lt;BR /&gt; UID=`id -ru`
&lt;BR /&gt;fi
&lt;BR /&gt;&lt;BR /&gt;# Path manipulation
&lt;BR /&gt;if [ "$EUID" = "0" ]; then
&lt;BR /&gt; pathmunge /sbin
&lt;BR /&gt; pathmunge /usr/sbin
&lt;BR /&gt; pathmunge /usr/local/sbin
&lt;BR /&gt;fi
&lt;BR /&gt;&lt;BR /&gt;# No core files by default
&lt;BR /&gt;ulimit -S -c 0 &amp;gt; /dev/null 2&amp;gt;&amp;amp;1
&lt;BR /&gt;&lt;BR /&gt;if [ -x /usr/bin/id ]; then
&lt;BR /&gt; USER="`id -un`"
&lt;BR /&gt; LOGNAME=$USER
&lt;BR /&gt; MAIL="/var/spool/mail/$USER"
&lt;BR /&gt;fi
&lt;BR /&gt;&lt;BR /&gt;HOSTNAME=`/bin/hostname`
&lt;BR /&gt;HISTSIZE=1000
&lt;BR /&gt;&lt;BR /&gt;if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
&lt;BR /&gt; INPUTRC=/etc/inputrc
&lt;BR /&gt;fi
&lt;BR /&gt;&lt;BR /&gt;export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
&lt;BR /&gt;&lt;BR /&gt;for i in /etc/profile.d/*.sh ; do
&lt;BR /&gt; if [ -r "$i" ]; then
&lt;BR /&gt;  . $i
&lt;BR /&gt; fi
&lt;BR /&gt;done
&lt;BR /&gt;&lt;BR /&gt;unset i
&lt;BR /&gt;unset pathmunge&lt;BR /&gt;source /opt/intel/fc/10.1.015/bin/ifortvars.sh&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;then i make some changes in the file, here are the results:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;[root@Halserv /]# source /etc/profile&lt;BR /&gt;: command not found&lt;BR /&gt;: command not found&lt;BR /&gt;'ash: /etc/profile: line 6: syntax error near unexpected token `{&lt;BR /&gt;'ash: /etc/profile: line 6: `pathmunge () {&lt;BR /&gt;[root@Halserv /]# source /etc/profile&lt;BR /&gt;: command not found&lt;BR /&gt;: command not found&lt;BR /&gt;'ash: /etc/profile: line 6: syntax error near unexpected token `&lt;BR /&gt;'ash: /etc/profile: line 6: `pathmunge ()&lt;BR /&gt;[root@Halserv /]# source /etc/profile&lt;BR /&gt;: command not found&lt;BR /&gt;: command not found&lt;BR /&gt;: command not found&lt;BR /&gt;'ash: /etc/profile: line 47: syntax error near unexpected token `do&lt;BR /&gt;'ash: /etc/profile: line 47: `for i in /etc/profile.d/*.sh ; do&lt;BR /&gt;[root@Halserv /]# source /etc/profile&lt;BR /&gt;: command not found&lt;BR /&gt;: command not found&lt;BR /&gt;: command not found&lt;BR /&gt;'ash: /etc/profile: line 47: syntax error near unexpected token `&lt;BR /&gt;'ash: /etc/profile: line 47: `for i in /etc/profile.d/*.sh ;&lt;BR /&gt;[root@Halserv /]# source /etc/profile&lt;BR /&gt;: command not found&lt;BR /&gt;: command not found&lt;BR /&gt;: command not found&lt;BR /&gt;bash: /etc/profile: line 55: syntax error: unexpected end of file&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;finally i tried some changes in the last line (source line), however the same error was on the screen.&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 09 Jun 2008 09:01:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748413#M5633</guid>
      <dc:creator>eren07</dc:creator>
      <dc:date>2008-06-09T09:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748414#M5634</link>
      <description>&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;First, before trying the suggestions below, please log out and log back into your system.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Next, report what processes are listed when you execute the command: &lt;B&gt;ps&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Next, edit &lt;B&gt;/etc/profile&lt;/B&gt; and add the following lines in the file where indicated:&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;1. Add the following line to become line 1 of the file:&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;set x&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;2. Add the following list to become the last line in the file (after the source of the ifortvars.sh):&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;set +x&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Then run this command:&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;B&gt;&lt;SPAN&gt;source /etc/profile &amp;amp;&amp;gt; /tmp/prof.out&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Make sure this file contains some useful output and then attach the file &lt;B&gt;/tmp/prof.out&lt;/B&gt; to this Forum thread. The file attach mechanism is located on the &lt;B&gt;Options&lt;/B&gt; tab when you are composing a reply.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Perhaps the issue involves the initial PATH setting. Sourcing /etc/profile repeatedly is likely just garbling your PATH variable.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2008 14:48:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748414#M5634</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2008-06-09T14:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748415#M5635</link>
      <description>I tried to add set line with the original form (prof1 file), then i
tried with correcting the errors, except the last line with set line
(prof2 ) file. Finally i have added the ps command result.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2008 10:28:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748415#M5635</guid>
      <dc:creator>eren07</dc:creator>
      <dc:date>2008-06-12T10:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748416#M5636</link>
      <description>&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Whatever editor you used to edit the file has seemingly converted it into &lt;B&gt;UTF-8 Unicode text&lt;/B&gt; format which bash is unable to parse. I get the same errors as you on my system trying to use both copies of profile you provided.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Try downloading the attached copy I provided. Rename your existing copies to have a suffix of .sav or .old, and then rename the file I provided to be just &lt;STRONG&gt;profile&lt;/STRONG&gt; and then retry the source command again.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;You should not see any errors (hopefully) and you should then be able to execute: &lt;STRONG&gt;which ifort&lt;/STRONG&gt; and see that ifort is found.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;If that works, then you need to determine whats different between the editors on your FC8 and FC5 systems.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2008 18:22:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748416#M5636</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2008-06-12T18:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: ifort command not found fedora8</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748417#M5637</link>
      <description>First of all, thank you very much Mr. Davis for your help. &lt;BR /&gt;The problem is solved. I used your profile file copy, and i had the outputs in the attached file. However, the program did not work with source line, then i changed it with path line.After the change, it worked without any problem.&lt;BR /&gt;My text editor in fc5 computer is gedit 2.15.9, and the editor in fc8 is gedit 2.20.3.&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jun 2008 09:50:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-command-not-found-fedora8/m-p/748417#M5637</guid>
      <dc:creator>eren07</dc:creator>
      <dc:date>2008-06-16T09:50:16Z</dc:date>
    </item>
  </channel>
</rss>

