Setting up Environment variables of Intel fortran compiler

From: David Niemi (drn_temp2_at_rogers.com)
Date: 08/31/05

  • Next message: david walcroft: "Re: OT: Broken BIOS defaults"
    To: Fedora List <fedora-list@redhat.com>
    Date: Tue, 30 Aug 2005 22:26:09 -0400
    
    

    I have installed this compiler for some testing work and am not 100%
    sure where to put the references listed.

    ************ Excerpt from Install Instructions

    The programs in the Intel Fortran Compiler 9.0 for Linux product rely on
    the environment variables PATH and LD_LIBRARY_PATH. The installation
    script (install.sh) creates compiler environment script files
    (ifortvars.sh/idbvars.sh) that set these variables. It is strongly
    recommended that you add those script files into your login script
    (.login file). Once the variables are set in the ".login" file there is
    no need to run the script files for each session.

    source the script to setup the compiler environment:

          * > source <install-dir>/bin/ifortvars.sh(.csh)
            to use ifort
          * > source <install-dir>/bin/idbvars.sh(.csh)
            to use idb
    ******************

    Should I put the paths to the script files in my .bash_profile or
    in /etc/profile so that all users (me) can use it?

    Would there be a particular format to doing this?

    Tried searching the RH Enterprise manuals and having a look through the
    messages that I have kept. There was the "Running a script at boot"
    thread to put the scripts in rc.local to run at boot but would this be
    the right place to start setting up environment variables?

    Also my rc.local has the line: "touch /var/lock/subsys/local" Which
    means / does what?

    Thanks
     Dave

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: david walcroft: "Re: OT: Broken BIOS defaults"

    Relevant Pages

    • Re: logon/logoff scripts...
      ... I am using the %clientname% and %machine% name environment variables to ... each user you can specify a login script but nowhere do I see the ...
      (microsoft.public.backoffice.smallbiz2000)
    • Re: Bash 2.05 and SCO OpenServer 5.0.6
      ... > compiler (I've spent many hours researching, changing assemblers, ... I doubt you really need bash. ... I have not seen a script that didn't work in ksh with only the ... You can even copy the .kshrc and .profile ...
      (comp.unix.sco.misc)
    • Re: Startup script ?
      ... I.E where do I put the script ... Every process has a set of environment variables, ... If there is some script that runs apt-get ... that will get set whenever *lots* of users login, ...
      (Debian-User)
    • Re: exporting a variable to global shells
      ... Environment variables are a user-space concept - ... When the script is exiting the echo stdout's the proxy adress, ... setting up my network differently depending on where/what I connect to. ... With regard to actually *setting* the proxy server, ...
      (Debian-User)
    • RE: DBD::Oracle install failed for fork test in t/10general.t
      ... environment variables $ORACLE_SID and $TWO_TASK. ... the connection is local and a dedicated server is bequeathed ... I'm not sure what 'Unix init process' is, ... It works when I ran a script pointing to the 'blib'. ...
      (perl.dbi.users)