安装 fortran 时出现的错误提示信息 求助!!!!!

软件和网站开发以及相关技术探讨
回复
mland
帖子: 10
注册时间: 2010-04-24 13:16

安装 fortran 时出现的错误提示信息 求助!!!!!

#1

帖子 mland » 2010-04-24 13:21

Missing optional pre-requisite
-- No compatible Java* Runtime Environment (JRE) found
-- operating system type is not supported.
-- system glibc or kernel version not supported or not detectable

//////////////////////////////////////////////////////////////////////////////////////////////////////////
Missing optional pre-requisite
- 不兼容的Java *运行时环境(JRE)的发现
- 操作系统类型不支持。
- 系统的内核版本的glibc或者不支持或不得检出
头像
a14331990
帖子: 604
注册时间: 2009-03-25 9:38
系统: Fedora 22 x86_64

Re: 安装 fortran 时出现的错误提示信息 求助!!!!!

#2

帖子 a14331990 » 2010-04-24 15:27

什么版本的Intel Fortran?
先装个java虚拟机,
再去
http://packages.debian.org/stable/base/libstdc++5
下载libstdc++5
具体地址如下:
i386版本
http://ftp.us.debian.org/debian/pool/ma ... 8_i386.deb
amd64版本
http://ftp.us.debian.org/debian/pool/ma ... _amd64.deb
qq 591799783
email a14331990#hotmail.com a14331990#163.com
mland
帖子: 10
注册时间: 2010-04-24 13:16

Re: 安装 fortran 时出现的错误提示信息 求助!!!!!

#3

帖子 mland » 2010-04-24 16:21

应该是这个 l_cprof_p_11.1.069_ia32
为什么还要用java虚拟机
不过我还是下了!~~jre 1.6 安装包 - java虚拟机运行环境大小应该是14MB左右!是不!
头像
a14331990
帖子: 604
注册时间: 2009-03-25 9:38
系统: Fedora 22 x86_64

Re: 安装 fortran 时出现的错误提示信息 求助!!!!!

#4

帖子 a14331990 » 2010-04-24 20:26

Intel Debugger需要jre才能运行。
qq 591799783
email a14331990#hotmail.com a14331990#163.com
mland
帖子: 10
注册时间: 2010-04-24 13:16

Re: 安装 fortran 时出现的错误提示信息 求助!!!!!

#5

帖子 mland » 2010-04-26 0:43

按照你说的做了,但是还是出现
ifort: command not found
mland
帖子: 10
注册时间: 2010-04-24 13:16

Re: 安装 fortran 时出现的错误提示信息 求助!!!!!

#6

帖子 mland » 2010-04-26 1:01

Missing optional pre-requisite
No compatible Java* Runtime Environment (JRE) found
-- operating system type is not supported.
-- system glibc or kernel version not supported or not detectable
-- binutils version not supported or not detectable
//////////////////////////////////////////////////////////////////////////////////////////////////////////
缺少可选的先决条件
*不兼容的Java运行时环境(JRE)的发现
- 操作系统类型不支持。
- 系统的内核版本的glibc或者不支持或不得检出
- binutils的版本不支持或不得检出

我用的是 ubuntu 10.04 如果继续安装 到最后编译的时候
wj@wj-laptop:~$ ifort -o a a.f90
ifort: command not found
wj@wj-laptop:~$
头像
a14331990
帖子: 604
注册时间: 2009-03-25 9:38
系统: Fedora 22 x86_64

Re: 安装 fortran 时出现的错误提示信息 求助!!!!!

#7

帖子 a14331990 » 2010-04-26 9:12

/opt/intel/Compiler/11.1/072/Documentation/en_US/Release_NotesF.pdf

3.4.2 Establishing the Compiler Environment

source <install-dir>/Compiler/11.1/xxx/bin/ifortvars.sh argument

对我而言是

source /opt/intel/Compiler/11.1/072/bin/ifortvars.sh ia32
qq 591799783
email a14331990#hotmail.com a14331990#163.com
mland
帖子: 10
注册时间: 2010-04-24 13:16

Re: 安装 fortran 时出现的错误提示信息 求助!!!!!

#8

帖子 mland » 2010-04-26 15:06

已解决~~现在贴出办法
在编译的时候 ifort -o hello hello.f90 会提示:
ifort: command not found 按下面的步骤do

source /opt/intel/Compiler/11.1/069/bin/ifortvars.sh ia32
加入到 ~/.bashrc(其他Linux是~/.bash_profile文件) 文件末尾,保存退出。

注销,或者执行. .bash_profle,使配置文件生效

测试,which ifort,会显示安装路径。。。。。。

编译执行
ifort -o hello hello.f90
出现一个hello的文件
运行./hello 结果出来了!


ps: 谢谢LS的帮助!!! :em11
回复