| 查看: 527 | 回复: 8 | |||
| 当前主题已经存档。 | |||
| 【有奖交流】积极回复本帖子,参与交流,就有机会分得作者 lee-town 的 1 个金币 | |||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | |||
lee-town金虫 (正式写手)
|
[交流]
【求助】如何在Fedora 8下安装g95软件
|
||
|
我已经尝试过以下两种方法 1(g95说明书) Getting started:G95 can be installed without root permission but currently requires a symbolic link from a specific directory to your install directory. 1.Unpack the downloaded tarball (e.g. g95-x86-linux.tgz) in a directory of your choice: tar -zxvf g95-x86-linux.tgz 2.For your convenience, you can create another symbolic link from a directory in your $PATH (e.g. ~/bin) to the executable ln -s $PWD/g95-install/bin/*g95* ~/bin/g95 You should now be able to run g95 and create executables. Run a g95-compiled program with the argument "--g95" to get a list of environment variables and error code numbers. 2(论坛) 1.安装gcc-4.0.3下载:(ftp://gcc.gnu.org/pub/gcc/releas ... c-core-4.0.3.tar.gz) %cd /usr/local%mkdir G95 解压缩 %tar zxvf gcc-core-4.0.3.tar.gz 并copy到目录/usr/local/G95/%cp –a gcc-4.0.3 /usr/local/G95 在gcc-4.0.3目录中建立g95文件夹%cd /usr/local/G95/gcc-4.0.3%mkdir g95%cd g95 接着运行命令:%../configure --prefix=/usr/local/G95/gcc-4.0.3/g95 --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-shared %make如果运行正常,会生成libbackend.a 和 libgcc.a ,用于编译G95。(就出问题了!) 下载G95源文件:(http://ftp.g95.org/g95_source.tgz) 并解压到目录:/usr/local/G95%tar zxvf g95_source.tgz 运行下面的命令: %./configure --prefix= 例如: %cd /usr/local/G95/g95-0.92 %./configure --prefix=/usr/local/G95 --with-gcc-dir=/usr/local/G95/gcc-4.0.3%make%make install解压 %tar xvzf libf95.a-0.92.tgz 进入目录 %cd /src/G95/g95-0.92/libf95.a-0.92%./configure 然后 make 生成 libf95.a%make install 编译结束最后, 别忘记设置环境变量:(个人的设置):%vi /etc/profile在文件profile后加两句:export LIBRARY_PATH=/usr/local/G95/g95-0.92/libf95.a-0.92LIBRARY_PATHexport PATH=/usr/local/G95/g95-0.92PATH%cd /etc%source profile 都没有成功,请问原因所在???如何正确安装 |
» 猜你喜欢
津理工大学晶体材料全国重点实验室刘红军教授课题组招收博士生一名
已经有0人回复
【原创讨论】从电子约束到物质编辑:一套可迭代的环形磁场科技树
已经有0人回复
物理学I论文润色/翻译怎么收费?
已经有168人回复
【方案分享】单环磁场+轴心控制+偏转导出电子束约束系统(可行性实验)
已经有6人回复
【修正版】单环用磁约束低速电子实验方案(简化版)
已经有0人回复
桂林理工大学物理学专业招收调剂,还有三个名额!!!
已经有22人回复
考博自荐
已经有3人回复
山东大学第二批博士研究生招生
已经有0人回复
中国科学院东莞材料科学与技术研究所-2026年博士招生-吴昊研究员-磁学与自旋电子学
已经有0人回复
《电磁学》教材推荐
已经有1人回复
【急招】合肥工大核聚变材料计算方向2026级工程博士生
已经有3人回复
老虎大王
木虫 (著名写手)
- 计算强帖: 1
- 应助: 26 (小学生)
- 贵宾: 0.17
- 金币: 4774.1
- 散金: 8
- 红花: 42
- 帖子: 1361
- 在线: 215.2小时
- 虫号: 659094
- 注册: 2008-11-21
- 专业: 金属结构材料
9楼2010-03-01 20:09:06
老虎大王
木虫 (著名写手)
- 计算强帖: 1
- 应助: 26 (小学生)
- 贵宾: 0.17
- 金币: 4774.1
- 散金: 8
- 红花: 42
- 帖子: 1361
- 在线: 215.2小时
- 虫号: 659094
- 注册: 2008-11-21
- 专业: 金属结构材料
2楼2010-02-23 11:48:37
lee-town
金虫 (正式写手)
- 应助: 7 (幼儿园)
- 金币: 3870.2
- 散金: 1099
- 帖子: 444
- 在线: 171.1小时
- 虫号: 502026
- 注册: 2008-02-14
- 专业: 光谱技术
3楼2010-02-27 21:39:32
老虎大王
木虫 (著名写手)
- 计算强帖: 1
- 应助: 26 (小学生)
- 贵宾: 0.17
- 金币: 4774.1
- 散金: 8
- 红花: 42
- 帖子: 1361
- 在线: 215.2小时
- 虫号: 659094
- 注册: 2008-11-21
- 专业: 金属结构材料
4楼2010-03-01 09:53:54












回复此楼
19