免费视频淫片aa毛片_日韩高清在线亚洲专区vr_日韩大片免费观看视频播放_亚洲欧美国产精品完整版

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
ifort 安裝


以安裝ifort(l_cprof_p_11.1.072_intel64.tgz)為例:

1、將l_cprof_p_11.1.072_intel64.tgzh和*.lic文件拷到一個臨時的目錄里面(如:tem)
2、解壓文件:$tar -zxvf  l_cprof_p_11.1.072_intel64.tgz
3.進入解壓后的目錄:$cd            l_cprof_p_11.1.072
4. 啟動安裝:$./install.sh

(這個過程中若是提示Your system is protected with Security-enhanced Linux(SELinux),只需進入/etc/sysconfig/selinux讓SELINUX=enforcing變?yōu)镾ELINUX=permissive)

5.其他,看提示即可,注意第四步
Step no: 4 of 7 | Installationconfiguration - Missing Critical Pre-requisite
--------------------------------------------------------------------------------
There is one or more critical unresolved issue which preventsinstallation to
continue. You can fix it without exiting from the installation andre-check. Or
you can quit from the installation, fix it and run the installationagain.
--------------------------------------------------------------------------------
Missing critical pre-requisite
-- missing system commands
--------------------------------------------------------------------------------
    1. Show thedetailed info about issue(s) [default]
    2. Re-check thepre-requisites

    h. Help
    b. Back to theprevious menu
    q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice[1]: 1


Step no: 4 of 7 | Installation configuration - Missing CriticalPre-requisite
--------------------------------------------------------------------------------
The following required for installation commands are missing:
libstdc++.so.5 (library)
--------------------------------------------------------------------------------
    1. Finish withprerequisites and back to Critical Pre-requisites dialog
[default]
    2. Back toPre-requisite summary dialog

    h. Help
    b. Back to theprevious menu
    q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice[1]:Sample Text

解決辦法是:
    我的系統(tǒng)是fedora13,下載compat-libstdc++-33-3.2.3-68.i686.rpm
大家根據(jù)自己的系統(tǒng)下載對應(yīng)的程序包!下載地址:http://rpmfind.net/linux/rpm2html/search.php?query=libstdc++.so.5
  安裝ifort完成,
但在環(huán)境設(shè)置后又出現(xiàn)問題:找不到ifort命令
[xxxx@xxx]$vi .bashrc
//添加source /opt/intel/Compiler/11.1/072/bin/ifortvars.sh
       有的說在上面后加ia32也不行
[xxxx@xxx]$ ifort
命令沒有找到

有嘗試網(wǎng)上的其他方法,沒改動vi.bashrc,改動了vi /home/bjwang/bash_profile,發(fā)現(xiàn)是個新文件,就直接改了
保存:  ./opt/intel/Compiler/11.1/072/bin/ifortvars.shintel64
$ ifort
ifort: command line error: no files specified; for help type "ifort-help"


是不是說明成功了呢?還可怎么驗證呢?
執(zhí)行命令$ifort-v
[xxxx@xxx]$ ifort -v
Version 11.1

####################################################
在suse LED 11下編譯,
1.若出現(xiàn)
   The following required for installation commands are missing:
libstdc++.so.5 (library)
安裝suse自帶libstdc++33即可,方法:計算機》》》“安裝軟件”》》搜索libstdc,找到安裝之;

2.若出現(xiàn)
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 notdetectable
-- binutils version not supported or not detectable
//////////////////////////////////////////////////////////////////////////////////////////////////////////
缺少可選的先決條件
*不兼容的Java運行時環(huán)境(JRE)的發(fā)現(xiàn)
- 操作系統(tǒng)類型不支持。
- 系統(tǒng)的內(nèi)核版本的glibc或者不支持或不得檢出
- binutils的版本不支持或不得檢出
方法:
   無視之,看提示,直接安裝?。。。。。。。。。。。?!
3.環(huán)境設(shè)置
[xxxx@xxx]$ vi .bashrc
//添加source /home/bjwang/intel/Compiler/11.1/072/bin/ifortvars.shia32
有人用intel64 代替ia32,看系統(tǒng)/機子吧!!,不行兩個都試一試。

4記?。鹤詈鬄榱耸窃O(shè)置起作用 執(zhí)行 [xxxx@xxx]$ source .bashrc
     而每改動一次都要source .bashrc一次;

  5..驗證
$ ifort
ifort: command line error: no files specified; for help type "ifort-he
測試,which ifort,會顯示安裝路徑。。。。。。

編輯個簡單的hello.f90程序,文本如下:
program main
write(*,*) "hello"
stop
end
編譯執(zhí)行
ifort -o hello hello.f90
出現(xiàn)一個hello的文件
運行./hello 結(jié)果出來了!

再算個平均值和開方(pj.f90)
PROGRAM Example_1_1
     REAL a, b, av1, av2
     READ (*,*) a, b
     av1 = (a + b)/2
     av2 = sqrt(a*b)
     WRITE(*,*) av1, av2
     END

xxx@linux-xx16:~/tem> ifort -o pj pj.f90
xxx@linux-xx16:~/tem> ./pj
45 69
  57.00000      55.72253
成功?。。。。。。。。。?!

6.卸載:$/home/bjwang/intel/Compile/11.1.072/bin/intel64/./uninstall_cpof.sh      -----ifort11
或$/home/bjwang/intel/fce/10.1.012/bin/./uninstall.sh    -----ifort10

1.

下載編輯器,為了方便大家使用建議大家使用我提供的下載鏈接,如果你不放心也可以去官方下載。

32位版本

64位版本

官方下載鏈接:https://registrationcenter.intel.com/regcenter/register.aspx

2.

如果你不想注冊,可以用我下面提供的序列號 (后面安裝過程需要用到):

NC5M-DTMCVD69

3.

解壓縮并進入解壓的文件夾 :

tar xzvf  ***.tgz  (***是你所下載的編輯器名)

4.

OK,進入root用戶開始安裝

sudo -i

./install.sh

按照提示一路回車即可(并按提示安裝相關(guān)軟件包,如g++等,安裝方式:sudo apt-get install g++).

5.

Ubuntu9.04以及以前的版本可以一路回車下來基本不會出問題,但之后的版本將會遇到libstdc++5安裝不上的問題,原因在于新的系統(tǒng)已升級到libstdc++6,自行安裝自是不可行,不急,我可以提供給你。

compat-libstdc++-33_3.2.3-48.3_i386.deb

下載完畢后運行

sudo dpkg -i compat-libstdc++-33_3.2.3-48.3_i386.deb

6.

安裝后退出,再編輯一下 .bashrc

vi ~/.bashrc

在最后一行加入下面語句

(64位)

source /opt/intel/Compiler/11.0/084/bin/ifortvars.sh intel64

(32位)

source /opt/intel/Compiler/11.1/072/bin/ifortvars.shia32(我裝的是12.00 所以路徑要自己該過來)

保存退出。

7.

source ~/.bashrc

Enjoy !



本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
ifort:command not found
linux 安裝fortran 90
ifort 編譯wrf及netcdf的編譯方法
在Linux下搭建Fortran開發(fā)環(huán)境
Ubuntu 12.04單機安裝并行高富帥版LAMMPS (DRAFT) - 止水的日志 - 網(wǎng)易博客
ubuntu環(huán)境變量的三種設(shè)置方法
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服