LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 883|回复: 0

新手在安装大型软件时遇到的设置环境变量的问题!

[复制链接]
发表于 2007-3-1 22:07:36 | 显示全部楼层 |阅读模式
我安装的是Star-cd 4.02 for linux
系统是fedora
安装成功(运行setup后按照指示做了)到了/opt/starcd
然后看到里面的readme写到:
The STAR-CD environment for all machines is defined by running the "setstar"
script. The "$STARDIR/etc/hardware.ini" preference file defines all necessary
environmental variables for hardware setup such as location of compilers and
license files. The "$STARDIR/etc/software.ini" preference file defines the
default settings for STAR-CD and other third party software
he system or STAR administrator MUST edit these preference files to suit
the local hardware and software configurations.

hardware.ini是这样的:

GNU/Linux settings
platform Linux_x86 ABSOFT=/opt/absoft
platform Linux_x86 INTEL=/opt/intel/compiler70/ia32


software.ini是这样的:

# Linux settings
platform Linux_x86 DARSCFD=$DARSCFDTOP/linux_2.4-absoft_9.0a-glibc_2.2.2-dso
platform Linux_x86 DOLFA=$DOLFATOP/linux_2.4-glibc_2.2.2
platform Linux_x86 FLEXLM=$FLEXLMTOP/linux_2.4-x86-glibc_2.2.2
platform Linux_x86 HPMPI=$HPMPITOP/linux_2.4-x86-glibc_2.2.2
platform Linux_x86 LAMHOME=$LAMTOP/linux_2.4-gcc_2.95.3-glibc_2.2.2-dso
platform Linux_x86 MPICH=$MPICHTOP/linux_2.4-gcc_2.95.3-glibc_2.2.2-dso
platform Linux_x86 PROSTAR=$PROSTARTOP/linux_2.2-x86-glibc_2.2.0
group Linux_x86-glibc_2.3.2 PROSTAR=$PROSTARTOP/linux_2.4-x86-glibc_2.3.2
platform Linux_x86 RUNTIME=$RUNTIMETOP/linux_2.4-x86-glibc_2.2.2
platform Linux_x86 STAR=$STARTOP/linux_2.4-absoft_9.0a-glibc_2.2.2-dso
platform Linux_x86 STARLAUNCH=$STARLAUNCHTOP/linux_2.4-x86-glibc_2.2.2


由于我是新手,不太懂这些,但他的意思我是明白的,要我设置成与我的系统相符的情况。问题是我的glibc的版本比他的高,是否可以呢?
我该如何去修改环境变量呢?
如果有人会的话,请帮下我,由于工作的原因这个东西是很需要的。谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表