{"id":2759,"date":"2016-02-29T19:17:17","date_gmt":"2016-02-29T10:17:17","guid":{"rendered":"http:\/\/na-inet.jp\/weblog2\/?p=2759"},"modified":"2016-05-12T17:21:48","modified_gmt":"2016-05-12T08:21:48","slug":"how-to-compile-a-lapacke-program-by-using-intel-parallel-studio-xe-2016-visual-studio-2015-on-windows-8-1-x64","status":"publish","type":"post","link":"https:\/\/na-inet.jp\/weblog2\/2016\/02\/29\/how-to-compile-a-lapacke-program-by-using-intel-parallel-studio-xe-2016-visual-studio-2015-on-windows-8-1-x64\/","title":{"rendered":"How to compile a LAPACKE program on Windows 8.1 x64"},"content":{"rendered":"<p>\u3000Windows 8.1 x64\u74b0\u5883\u4e0b\u3067\u306eIntel Parallel Studio XE 2016 + Visual Studio 2016\u3092\u4f7f\u3063\u305fLAPACKE\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u65b9\u6cd5\u306e\u30e1\u30e2\u3002<\/p>\n<p>1. \u5fc5\u8981\u306a\u74b0\u5883\u5909\u6570\u4e00\u5207\u5408\u5207\u3092\u7528\u610f\u3057\u3066\u304f\u308c\u308bCUI\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u300c\u30b3\u30f3\u30d1\u30a4\u30e9\u201516.0 Update 2\u30a4\u30f3\u30c6\u30eb(R) 64 VS2015\u74b0\u5883\u300d\u3092\u8d77\u52d5<\/p>\n<p><a href=\"https:\/\/na-inet.jp\/weblog2\/2016\/02\/29\/how-to-compile-a-lapacke-program-by-using-intel-parallel-studio-xe-2016-visual-studio-2015-on-windows-8-1-x64\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%bc%e3%83%b3%e3%82%b7%e3%83%a7%e3%83%83%e3%83%88-2016-02-29-17-17-43\/\" rel=\"attachment wp-att-2760\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wordpress\/wp-content\/uploads\/2016\/02\/aff665a495112f404bd23daaabb9ec3b-103x300.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-02-29 17.17.43\" width=\"103\" height=\"300\" class=\"alignnone size-medium wp-image-2760\" srcset=\"https:\/\/na-inet.jp\/wordpress\/wp-content\/uploads\/2016\/02\/aff665a495112f404bd23daaabb9ec3b-103x300.png 103w, https:\/\/na-inet.jp\/wordpress\/wp-content\/uploads\/2016\/02\/aff665a495112f404bd23daaabb9ec3b-51x150.png 51w, https:\/\/na-inet.jp\/wordpress\/wp-content\/uploads\/2016\/02\/aff665a495112f404bd23daaabb9ec3b.png 304w\" sizes=\"auto, (max-width: 103px) 100vw, 103px\" \/><\/a><\/p>\n<p>2. LAPACKE\u30bd\u30fc\u30b9\u30d7\u30ed\u30b0\u30e9\u30e0&#8221;<a href=\"http:\/\/na-inet.jp\/wordpress\/wp-content\/uploads\/2016\/02\/lapack_dgesv_mkl.c\" rel=\"\">lapack_dgesv_mkl.c<\/a>\u3092\u7f6e\u3044\u305f&#8221;c:\\lapack&#8221;\u3078\u79fb\u52d5<\/p>\n<p><a href=\"https:\/\/na-inet.jp\/weblog2\/2016\/02\/29\/how-to-compile-a-lapacke-program-by-using-intel-parallel-studio-xe-2016-visual-studio-2015-on-windows-8-1-x64\/2016-02-29_190704\/\" rel=\"attachment wp-att-2761\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wordpress\/wp-content\/uploads\/2016\/02\/2016-02-29_190704-300x218.png\" alt=\"2016-02-29_190704\" width=\"300\" height=\"218\" class=\"alignnone size-medium wp-image-2761\" srcset=\"https:\/\/na-inet.jp\/wordpress\/wp-content\/uploads\/2016\/02\/2016-02-29_190704-300x218.png 300w, https:\/\/na-inet.jp\/wordpress\/wp-content\/uploads\/2016\/02\/2016-02-29_190704-150x109.png 150w, https:\/\/na-inet.jp\/wordpress\/wp-content\/uploads\/2016\/02\/2016-02-29_190704.png 677w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>3. \u30b7\u30ea\u30a2\u30eb\u5b9f\u884c\u306e\u6642\u306ficl (C\/C++\u30b3\u30f3\u30d1\u30a4\u30e9) \u3092\u4f7f\u3063\u3066\uff0c\u4f8b\u3048\u3070<\/p>\n<blockquote><p>c:\\lapack&gt;<u>icl lapack_dgesv_mkl.c \/link mkl_intel_lp64.lib mkl_core.lib mkl_sequential.lib<\/u><\/p><\/blockquote>\n<p>\u3068\u3059\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true \" title=\"Compiling as serial execution program\" >c:\\lapack&gt;icl lapack_dgesv_mkl.c \/link mkl_intel_lp64.lib mkl_core.lib mkl_sequential.lib\r\n\u30a4\u30f3\u30c6\u30eb(R) 64 \u5bfe\u5fdc\u30a4\u30f3\u30c6\u30eb(R) C++ \u30b3\u30f3\u30d1\u30a4\u30e9\u30fc (\u30a4\u30f3\u30c6\u30eb(R) 64 \u5bfe\u5fdc\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\r\n\u30e7\u30f3\u7528)\u3001\u30d0\u30fc\u30b8\u30e7\u30f3 16.0.2.180 \u30d3\u30eb\u30c9 20160204\r\n(C) 1985-2016 Intel Corporation.  \u7121\u65ad\u3067\u306e\u5f15\u7528\u3001\u8ee2\u8f09\u3092\u7981\u3058\u307e\u3059\u3002\r\n\r\nlapack_dgesv_mkl.c\r\nicl: \u6ce8\u610f: \u3053\u306e\u88fd\u54c1\u306e\u8a55\u4fa1\u671f\u9593\u306f 17-mar-2016 UTC \u306b\u7d42\u4e86\u3057\u307e\u3059\u3002\r\nMicrosoft (R) Incremental Linker Version 14.00.23026.0\r\nCopyright (C) Microsoft Corporation.  All rights reserved.\r\n\r\n-out:lapack_dgesv_mkl.exe\r\nmkl_intel_lp64.lib\r\nmkl_core.lib\r\nmkl_sequential.lib\r\nlapack_dgesv_mkl.obj\r\n\r\nc:\\lapack&gt;lapack_dgesv_mkl\r\nIntel(R) Math Kernel Library Version 11.3.2 Product Build 20160120 for Intel(R)\r\n64 architecture applications\r\nMax Number of Threads: 1\r\nDim = 4\r\nA =\r\n  0:   1.000000   0.500000   0.333333   0.250000\r\n  1:   0.500000   0.333333   0.250000   0.200000\r\n  2:   0.333333   0.250000   0.200000   0.166667\r\n  3:   0.250000   0.200000   0.166667   0.142857\r\nB =\r\n  0:   1.000000   2.000000   3.000000   4.000000\r\n  1:   2.000000   3.000000   4.000000   5.000000\r\n  2:   3.000000   4.000000   5.000000   6.000000\r\n  3:   4.000000   5.000000   6.000000   7.000000\r\nC =\r\n  0:   4.000000   6.083333   8.166667  10.250000\r\n  1:   2.716667   4.000000   5.283333   6.566667\r\n  2:   2.100000   3.050000   4.000000   4.950000\r\n  3:   1.721429   2.480952   3.240476   4.000000\r\nX =\r\n  0:   1.000000   2.000000   3.000000   4.000000\r\n  1:   2.000000   3.000000   4.000000   5.000000\r\n  2:   3.000000   4.000000   5.000000   6.000000\r\n  3:   4.000000   5.000000   6.000000   7.000000\r\nX - B =\r\n  0:   0.000000   0.000000   0.000000   0.000000\r\n  1:   0.000000   0.000000   0.000000   0.000000\r\n  2:   0.000000   0.000000   0.000000   0.000000\r\n  3:   0.000000   0.000000   0.000000   0.000000\r\n<\/pre>\n<p>4. Intel Thread\u3092\u4f7f\u3063\u3066\u30d1\u30e9\u30ec\u30eb\u5b9f\u884c\u306e\u6642\u306ficl\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\uff0c\u4f8b\u3048\u3070<\/p>\n<blockquote><p>c:\\lapack&gt;<u>icl lapack_dgesv_mkl.c \/link libiomp5md.lib mkl_intel_lp64.lib mkl_core.lib mkl_intel_thread.lib<\/u><\/p><\/blockquote>\n<p>\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3002<br \/>\n Core i5-2500 (4 cores)\u3067\u5b9f\u884c\u3059\u308b\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true \" title=\"Compiling for parallel execution\" >c:\\lapack&gt;icl lapack_dgesv_mkl.c \/link libiomp5md.lib mkl_intel_lp64.lib mkl_core.lib mkl_intel_thread.lib\r\n\u30a4\u30f3\u30c6\u30eb(R) 64 \u5bfe\u5fdc\u30a4\u30f3\u30c6\u30eb(R) C++ \u30b3\u30f3\u30d1\u30a4\u30e9\u30fc (\u30a4\u30f3\u30c6\u30eb(R) 64 \u5bfe\u5fdc\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\r\n\u30e7\u30f3\u7528)\u3001\u30d0\u30fc\u30b8\u30e7\u30f3 16.0.2.180 \u30d3\u30eb\u30c9 20160204\r\n(C) 1985-2016 Intel Corporation.  \u7121\u65ad\u3067\u306e\u5f15\u7528\u3001\u8ee2\u8f09\u3092\u7981\u3058\u307e\u3059\u3002\r\n\r\nlapack_dgesv_mkl.c\r\nicl: \u6ce8\u610f: \u3053\u306e\u88fd\u54c1\u306e\u8a55\u4fa1\u671f\u9593\u306f 17-mar-2016 UTC \u306b\u7d42\u4e86\u3057\u307e\u3059\u3002\r\nMicrosoft (R) Incremental Linker Version 14.00.23026.0\r\nCopyright (C) Microsoft Corporation.  All rights reserved.\r\n\r\n-out:lapack_dgesv_mkl.exe\r\nlibiomp5md.lib\r\nmkl_intel_lp64.lib\r\nmkl_core.lib\r\nmkl_intel_thread.lib\r\nlapack_dgesv_mkl.obj\r\n\r\nc:\\lapack&gt;lapack_dgesv_mkl\r\nIntel(R) Math Kernel Library Version 11.3.2 Product Build 20160120 for Intel(R)\r\n64 architecture applications\r\nMax Number of Threads: 4\r\nDim = 4\r\nA =\r\n  0:   1.000000   0.500000   0.333333   0.250000\r\n  1:   0.500000   0.333333   0.250000   0.200000\r\n  2:   0.333333   0.250000   0.200000   0.166667\r\n  3:   0.250000   0.200000   0.166667   0.142857\r\nB =\r\n  0:   1.000000   2.000000   3.000000   4.000000\r\n  1:   2.000000   3.000000   4.000000   5.000000\r\n  2:   3.000000   4.000000   5.000000   6.000000\r\n  3:   4.000000   5.000000   6.000000   7.000000\r\nC =\r\n  0:   4.000000   6.083333   8.166667  10.250000\r\n  1:   2.716667   4.000000   5.283333   6.566667\r\n  2:   2.100000   3.050000   4.000000   4.950000\r\n  3:   1.721429   2.480952   3.240476   4.000000\r\nX =\r\n  0:   1.000000   2.000000   3.000000   4.000000\r\n  1:   2.000000   3.000000   4.000000   5.000000\r\n  2:   3.000000   4.000000   5.000000   6.000000\r\n  3:   4.000000   5.000000   6.000000   7.000000\r\nX - B =\r\n  0:   0.000000   0.000000   0.000000   0.000000\r\n  1:   0.000000   0.000000   0.000000   0.000000\r\n  2:   0.000000   0.000000   0.000000   0.000000\r\n  3:   0.000000   0.000000   0.000000   0.000000\r\n\r\nc:\\lapack&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u3000Windows 8.1 x64\u74b0\u5883\u4e0b\u3067\u306eIntel Parallel Studio XE 2016 + Visual Studio 2016\u3092\u4f7f\u3063\u305fLAPACKE\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u65b9\u6cd5\u306e\u30e1\u30e2\u3002 1. \u5fc5\u8981\u306a\u74b0\u5883\u5909\u6570 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/na-inet.jp\/weblog2\/2016\/02\/29\/how-to-compile-a-lapacke-program-by-using-intel-parallel-studio-xe-2016-visual-studio-2015-on-windows-8-1-x64\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to compile a LAPACKE program on Windows 8.1 x64&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[11,7],"tags":[],"class_list":["post-2759","post","type-post","status-publish","format-standard","hentry","category-lapack","category-7"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/na-inet.jp\/weblog2\/wp-json\/wp\/v2\/posts\/2759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/na-inet.jp\/weblog2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/na-inet.jp\/weblog2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/na-inet.jp\/weblog2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/na-inet.jp\/weblog2\/wp-json\/wp\/v2\/comments?post=2759"}],"version-history":[{"count":7,"href":"https:\/\/na-inet.jp\/weblog2\/wp-json\/wp\/v2\/posts\/2759\/revisions"}],"predecessor-version":[{"id":2770,"href":"https:\/\/na-inet.jp\/weblog2\/wp-json\/wp\/v2\/posts\/2759\/revisions\/2770"}],"wp:attachment":[{"href":"https:\/\/na-inet.jp\/weblog2\/wp-json\/wp\/v2\/media?parent=2759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/na-inet.jp\/weblog2\/wp-json\/wp\/v2\/categories?post=2759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/na-inet.jp\/weblog2\/wp-json\/wp\/v2\/tags?post=2759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}