1. "Intel® Fortran Composer XE 2011 for Linux"からダウンロード。
2. 情報を入力して、32bit/64bit版をダウンロードする。
3. >tar -xvzf filename.tgzで解凍する。
4. メールに添付されたライセンスを今解凍したディレクトリーに置く。
5. 実行する。
>su
>./install.sh
後の流れはCのときと同じ。>./install.sh
[設定方法]
1. パスを引く
set path=($path /opt/intel/composer_xe_2011_sp1.9.293/bin)
2. 実行方法
set INTELCOMPILER = 12.1 #Compiler version
...
if ( x$?INTELCOMPILER == x"12.1" ) then
# Intel Compiler 12.1 .....
if (-r /opt/intel/composer_xe_2011_sp1.9.293/bin/ifortvars.csh) then
source /opt/intel/composer_xe_2011_sp1.9.293/bin/ifortvars.csh intel64
endif
endif
この二つを.tcshrcを記入する。...
if ( x$?INTELCOMPILER == x"12.1" ) then
# Intel Compiler 12.1 .....
if (-r /opt/intel/composer_xe_2011_sp1.9.293/bin/ifortvars.csh) then
source /opt/intel/composer_xe_2011_sp1.9.293/bin/ifortvars.csh intel64
endif
endif
3. パスを通す。
>cd /opt/intel/composer_xe_2011_sp1.9.293/bin
>ls -l
lrwxrwxrwx 1 root root 18 2012-03-09 17:25 ifortvars.csh -> ./compilervars.csh*
lrwxrwxrwx 1 root root 17 2012-03-09 17:25 ifortvars.sh -> ./compilervars.sh*
で確認する。リンク先を実行する。>ls -l
lrwxrwxrwx 1 root root 18 2012-03-09 17:25 ifortvars.csh -> ./compilervars.csh*
lrwxrwxrwx 1 root root 17 2012-03-09 17:25 ifortvars.sh -> ./compilervars.sh*
>source compilervars.csh intel64
4. パスが通ったか確認する。
>ifort -help
>ifort -v
>which ifort
などで確認。>ifort -v
>which ifort
※(注意)
Step no: 1 of 6 | Options > Missing Optional Pre-requisite(s)
--------------------------------------------------------------------------------
There are one or more optional unresolved issues. It is highly recommended to
resolve them all before you continue the installation. You can fix them without
exiting from
the installation and re-check. Or you can quit from the installation, fix them
and run the installation again.
2. Show the detailed info about issue(s)
3. Re-check the pre-requisites
h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]:
上記のようにインストール中に「unsupported OS」と出るが、インストールできるのでそのまま続行する。
--------------------------------------------------------------------------------
There are one or more optional unresolved issues. It is highly recommended to
resolve them all before you continue the installation. You can fix them without
exiting from
the installation and re-check. Or you can quit from the installation, fix them
and run the installation again.
--------------------------------------------------------------------------------
Missing optional pre-requisites
-- unsupported OS
--------------------------------------------------------------------------------
1. Skip missing optional pre-requisites [default]2. Show the detailed info about issue(s)
3. Re-check the pre-requisites
h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]:
0 件のコメント:
コメントを投稿