英特尔Fortran Composer 2011和Linux Mint 12 [英] Intel Fortran Composer 2011 and Linux Mint 12

查看:226
本文介绍了英特尔Fortran Composer 2011和Linux Mint 12的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Linux Mint 12系统上使用英特尔Fortran Composer 2011。
每次(和每个用户)我重新启动计算机,我需要设置环境变量。
$ b


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


有没有办法让所有用户自动执行此操作?



对不起我可怜的英语。
谢谢,
CP

解决方案将文件放在 / etc / profile下.d 包含以下内容(例如将其命名为 intel.sh

 #!/ bin / sh 

source /opt/intel/composer_xe_2011_sp1.9.293/b​​in/compilervars.sh intel64


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

这篇关于英特尔Fortran Composer 2011和Linux Mint 12的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆