QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1023|回复: 1

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

[复制链接]
发表于 2007-3-1 21:57:54 | 显示全部楼层 |阅读模式
我安装的是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的版本比他的高,是否可以呢?
我该如何去修改环境变量呢?
如果有人会的话,请帮下我,由于工作的原因这个东西是很需要的。谢谢了
发表于 2007-3-1 23:13:10 | 显示全部楼层
貌似你应该退回到RH9,这个软件不支持2.6内核和新版的glibc。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-22 04:21 , Processed in 0.082472 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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