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
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
来源:https://stackoverflow.com/questions/9845724/intel-fortran-composer-2011-and-linux-mint-12