Search code examples
linuxfortranintellinux-mint

Intel Fortran Composer 2011 and Linux Mint 12


I'm using Intel Fortran Composer 2011 on a Linux Mint 12 system. Every time (and for every user) I restart the computer I need to set the environment variables.

source /opt/intel/composer_xe_2011_sp1.9.293/bin/compilervars.sh intel64

Is there any way to make it automatic for all users?

Sorry my poor english. Thanks, CP


Solution

  • Put a file under /etc/profile.d with the following content (e.g name it intel.sh)

    #!/bin/sh
    
    source /opt/intel/composer_xe_2011_sp1.9.293/bin/compilervars.sh intel64