Intel Fortran Composer 2011 and Linux Mint 12

[亡魂溺海] 提交于 2020-01-12 11:09:29

问题


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


回答1:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!