• ベストアンサー

Linuxでintel mass kernel libraryを使いた

Linuxでintel mass kernel libraryを使いたいのですが、パスが通っていない?ようで使えません。コンパイラーはintel compilerで、.bash_profileからLD_LIBRARY_PATHを指定してみたりしたのですが、icc -print-search-dirsで見るとやっぱりlibraryに入りません。 私は大学生で、研究室で共有の計算用パソコンにMKL自体はインストールしてあったのを使えるようにしようと設定しています。ただ研究室の先輩で使っていた人はもういないみたいです↓ 何か情報が足りなければご指摘お願いします。

質問者が選んだベストアンサー

  • ベストアンサー
  • sygh
  • ベストアンサー率76% (42/55)
回答No.1

下記を参考にしてみてはいかがでしょうか。 http://www2.math.kyushu-u.ac.jp/~ma305006r/compiler/Intel_Compiler_Install.html なお、質問するときは、使用しているLinuxディストリビューションは何か、Intel CompilerのバージョンとMKLのバージョンはいくつなのか、を記載しておくのがベターです。

stoptheclox
質問者

お礼

ありがとうございます。他にもいろいろとパスを通さなくてはいけなかったのですね syghさんのゆうとおりにしてみたところ、無事できました!ほんとうにありがとうございます

関連するQ&A

  • Intel MKL > 積分関数

    IntelのMath Kernel LibraryをFortran90で使おうと考えています。 OSはCentOS 6.5を検討中です。 http://software.intel.com/en-us/node/468340 上記のページをざっと見た程度ですが、MKLにはガウス積分などの積分関数は用意されていないのでしょうか? 積分関数だけ自作もしくは他のライブラリを使うことになるのでしょうか? よろしくお願いいたします。

  • QtでMakeがうまくいかない

    Qtの本を買ったので勉強しようと思い、サンプルを作ってみたのですがMakeがうまくいきません。 エラーメッセージを見る限りはリンカがおかしいみたいなのですが… 状況と環境を記載しますので問題点があればどなたかご教授お願いいたします。 なお、情報が足りなければ随時出していきますので何卒お願いいたします 【環境】 OS:Ubuntu7.04 ライブラリ:qt-x11-free3.2.1 コンパイラ:gcc(バージョンが沢山出てわかりませんが最新は4.1のよう) 【手順(インストール~Make)】 (1)tar.gzだったライブラリを/usr/localに展開 (2)環境設定のために「.profile」に以下を追加  QTDIR=/usr/local/qt-x11-free3.2.1  PATH=$QTDIR/bin:$PATH  MANPATH=$QTDIR/doc/man:$MANPATH  LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH  export QTDIR PATH MANPATH LD_LIBRARY_PATH  ※設定後LD_LIBRARY_PATHだけechoでも確認できませんでした (3)ライブラリのMakeのためにqt-x11-free3.2.1ディレクトリ内の「configure」を実行 (4)適当に空のディレクトリにサンプルを作る。 (5)コマンド「qmake -project」を実行 (6)コマンド「qmake」を実行 (7)(6)によって作成されたMakeFileを実行 【状況】 コンパイルでエラーとなり以下が出力されます。 /usr/bin/ld: cannot find -lqt collect2: ldはステータス1で終了しました。 make: ***[Qt]エラー1

  • MacMiniでmanの日本語化の仕方。

    MacMiniでmanの日本語化の仕方。 環境はMacOSX Darwin Kernel Version 10.4.0 です。 コンソールでコマンドの日本語マニュアルを見たくてこちらのサイトから http://www.fan.gr.jp/~sakai/files/jman-20080103r2.dmg をインストールしたのですが、manコマンドが 英語のままで日本語になりませんでした。 環境変数PATHに/usr/local/binを追加します。と書いてあったので、 bash_profileに PATH=/usr/local/bin:$PATH export PATH と書いて $source ~/.bash_profileを実行しました。 が、まだ英語のままです。 どうやったら日本語になるのか教えていただけませんでしょうか?

  • Oracleインストール後のSQL/PLUSの実行について

    初めてLinuxのOracleのインストールをしています。 Oracle11gをインストールし11GのWEBの管理画面・クライアントからの SQLPLUSの接続は問題なくできているのですが サーバ自身でSQL/PLUSを実行すると下記のようなエラーとなってしまします。 [oracle@svr01 bin]$ sqlplus /nolog bash: sqlplus: command not found 掲示板等で調べてみますとパスが通っていないのが原因とありました。 下記のようになっておりますが、どこの記述に不具合があるのか分かりません。 また、別のファイルにも何か設定が必要でしょうか? ご存知の方教えてください。 よろしくお願いします。 ------------------------- # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH # added by oranavi export ORACLE_BASE=/opt/app/oracle export ORACLE_HOME=/opt/app/oracle/product/11.1.0/db_1 export ORACLE_SID=svr01 export NLS_LANG=Japanese_Japan.JA16EUC export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data export PATH=$PATH:$ORACLE_HOME/bin export ORACLE_DOC=$ORACLE_HOME/doc CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/JRE CLASSPATH=$CLASSPATH:$ORACLE_HOME/jlib CLASSPATH=$CLASSPATH:$ORACLE_HOME/rdbms/jlib CLASSPATH=$CLASSPATH:$ORACLE_HOME/jdbc/lib/classes12.jar CLASSPATH=$CLASSPATH:$ORACLE_HOME/jdbc/lib/nls_charset12.jar export CLASSPATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/jdbc/lib LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib export LD_LIBRARY_PATH --- MiracleLinux V5 Oracle11g 11.1.0.6

  • Oracle11gインストール後の文字化けについて

    Oracle11g 11.0.6 MiracleLinux V5 Oracle11gインストールしましたが日本語で文字化けをしてしまいます。 Linuxの /etc/sysconfig/i18n は LANG=”ja_JP.eucJP” と設定しました。 Oracleの vi ~/.bash_profileは下記のようになっております。 ---------------------------- # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH export ORACLE_BASE=/opt/app/oracle export ORACLE_HOME=/opt/app/oracle/product/11.1.0/db_1 export ORACLE_SID=SIDTEST #export NLS_LANG=Japanese_Japan.JA16EUC ←試す #export NLS_LANG=American_Japan.JA16EUC ←試す export NLS_LANG=JAPANESE_JAPAN.UTF8   ←試す export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data export PATH=$PATH:$ORACLE_HOME/bin export ORACLE_DOC=$ORACLE_HOME/doc CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/JRE CLASSPATH=$CLASSPATH:$ORACLE_HOME/jlib CLASSPATH=$CLASSPATH:$ORACLE_HOME/rdbms/jlib CLASSPATH=$CLASSPATH:$ORACLE_HOME/jdbc/lib/classes12.jar CLASSPATH=$CLASSPATH:$ORACLE_HOME/jdbc/lib/nls_charset12.jar export CLASSPATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/jdbc/lib LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib export LD_LIBRARY_PATH -------------------------------------- ------------------------------------- #export NLS_LANG=Japanese_Japan.JA16EUC #export NLS_LANG=American_Japan.JA16EUC export NLS_LANG=JAPANESE_JAPAN.UTF8 と3通り試してみましたが文字化けは改善されません。 WindowsからSQLPLUSで接続した場合は文字化けはなく正常です。 OEMからの(WEBからの管理画面)も文字化けはしておりませんが クライアントからSSHで接続またはサーバのコンソールからSQL/PLUS を実行すると日本語が文字化けをしてしまいます。 改善策を教えてください。よろしくお願いします。

  • サーチPathに付きまして

    作成したshellを作動させるために投入したディレクトリまでのpathを以下のようにして、投入しました。 export PATH=$PATH:/home/myname/cgi-bin/ 2点ほど教えていただきたいのですが、一度投入したSearch pathを解除する方法と、このパスを電源を再投入した後も効力を持たせるにはどこに書き込めば良いでしょうか。/root/.bash_profileが在りますが、ここでよろしいでしょうか。使用環境はRedHat Linux v7.1です。

  • mac(leopard)でgslが使えません

    初めまして、私は最近macを使うことになった者です。 mac(lepard)に数値計算ライブラリgslを入れて計算をしようとしたのですが、コンパイル時に以下のエラーが出てしまいます。 ld: warning in /usr/local/lib/libgsl.dylib, file is not of required architecture ld: warning in /usr/local/lib/libgslcblas.dylib, file is not of required architecture このエラーはgccでコンパイルした時には出ず、問題なく実行することができます。 まだmacに慣れておらず、一通り調べてみたのですが解決できませんでした。 環境は コンパイラ:intel C++ Compiler ver.10.1 PC : leopard 10.5.1 gsl:ver. 1.10 です。 どなたかわかる方がいらっしゃいましたら、お力をお貸しいただきたいです。 よろしくお願いいたします。

  • rootユーザでgoogle-chromeを使って

    いますが Fedoraのrootユーザではgoogle-chromeで youtubeやニコ動の動画が再生できなくて困っています ただ、一般ユーザでは再生できることが分かりました どうしたらrootユーザでも動画再生出きるようになるでしょうか? よろしくお願いします 設定ファイル、不再生キャラは以下のとおりです /opt/google/chrome/google-chrome: #!/bin/bash export CHROME_WRAPPER="`readlink -f "$0"`" HERE="`dirname "$CHROME_WRAPPER"`" if ! which xdg-settings &> /dev/null; then export PATH="$HERE:$PATH" else xdg_app_dir="${XDG_DATA_HOME:-$HOME/.local/share/applications}" mkdir -p "$xdg_app_dir" [ -f "$xdg_app_dir/mimeapps.list" ] || touch "$xdg_app_dir/mimeapps.list" fi if [[ -n "$LD_LIBRARY_PATH" ]]; then LD_LIBRARY_PATH="$HERE:$HERE/lib:$LD_LIBRARY_PATH" else LD_LIBRARY_PATH="$HERE:$HERE/lib" fi export LD_LIBRARY_PATH export CHROME_VERSION_EXTRA="stable" export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME exec -a "$0" "$HERE/chrome" "$@" --user-data-dir --disk-cache-dir=$HOME/.config/google-chrome --disk-cache-size=2100000000

  • intel fortran cimpilerでプログラムファイルがコンパイルできない

    こんにちは。 当方プログラムに関しては全くの初心者です。 研究で早急に計算プログラムを使用したく、 現在intel fortran cimpiler8.0を使い、とあるソースファイルをコンパイルしたいのですがうまくいきません。 コンパイルの手順としてあっているのか自信がないのですが、 とりあえずやってみて、以下のようにエラーが出ます。 $ source /opt/intel_fc_80/bin/ifortvars.csh bash: /opt/intel_fc_80/bin/ifortvars.csh: line 28: syntax error: unexpected end of file $ ifort /home/ディレクトリのパス/ファイル名.f90 ifort: error: could not find directory in which g++ resides これはどういうことなのでしょうか?? どなたかご教授お願いいたします。 ちなみに、使用しているOSはlinuxのFedora.core1です。

  • Linuxのcppコマンド、最初の#...を無く

    ファイル<abc.txt>の内容が以下で、 1 2 3 /* 4 5 6 */ 次の命令を実行すると $ cpp abc.txt 以下の結果を得ます。 # 1 "abc.txt" # 1 "<command-line>" # 1 "abc.txt" 1 2 3 この、最初の三行(行頭に'#'がある)を、出力しないように出来ないでしょうか。 cppのヘルプを見ましたが、理解できなかったです。 バージョンです: cpp (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ヘルプです: Usage: cpp [options] file... Options: -pass-exit-codes Exit with highest error code from a phase --help Display this information --target-help Display target specific command line options --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...] Display specific types of command line options (Use '-v --help' to display command line options of sub-processes) --version Display compiler version information -dumpspecs Display all of the built in spec strings -dumpversion Display the version of the compiler -dumpmachine Display the compiler's target processor -print-search-dirs Display the directories in the compiler's search path -print-libgcc-file-name Display the name of the compiler's companion library -print-file-name=<lib> Display the full path to library <lib> -print-prog-name=<prog> Display the full path to compiler component <prog> -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path -print-multi-directory Display the root directory for versions of libgcc -print-multi-lib Display the mapping between command line options and multiple library search directories -print-multi-os-directory Display the relative path to OS libraries -print-sysroot Display the target libraries directory -print-sysroot-headers-suffix Display the sysroot suffix used to find headers -Wa,<options> Pass comma-separated <options> on to the assembler -Wp,<options> Pass comma-separated <options> on to the preprocessor -Wl,<options> Pass comma-separated <options> on to the linker -Xassembler <arg> Pass <arg> on to the assembler -Xpreprocessor <arg> Pass <arg> on to the preprocessor -Xlinker <arg> Pass <arg> on to the linker -save-temps Do not delete intermediate files -save-temps=<arg> Do not delete intermediate files -no-canonical-prefixes Do not canonicalize paths when building relative prefixes to other gcc components -pipe Use pipes rather than intermediate files -time Time the execution of each subprocess -specs=<file> Override built-in specs with the contents of <file> -std=<standard> Assume that the input sources are for <standard> --sysroot=<directory> Use <directory> as the root directory for headers and libraries -B <directory> Add <directory> to the compiler's search paths -v Display the programs invoked by the compiler -### Like -v but options quoted and commands not executed -E Preprocess only; do not compile, assemble or link -S Compile only; do not assemble or link -c Compile and assemble, but do not link -o <file> Place the output into <file> -pie Create a position independent executable -shared Create a shared library -x <language> Specify the language of the following input files Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of gu

専門家に質問してみよう