Changes between Version 8 and Version 9 of YMU110509/Lab2


Ignore:
Timestamp:
May 9, 2011, 3:24:19 PM (13 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • YMU110509/Lab2

    v8 v9  
    1010}}}
    1111
     12== 編譯環境檢驗 Compiler Version Check ==
     13
    1214 * GCC 4.2 以上版本就有支援 OpenMP 了....用 "gcc '''-fopenmp'''" 就可以編譯
    13 
    14 == Example 1 : !HelloWorld ==
    15 
    16  * 首先從 [https://computing.llnl.gov/tutorials/openMP/exercise.html OpenMP Exercise] 下載 omp_hello.c
    17 {{{
    18 ~$ wget https://computing.llnl.gov/tutorials/openMP/samples/C/omp_hello.c
    19 }}}
    2015 * 確認目前 gcc 版本,須大於 4.2 以後的版本
    2116{{{
     
    2621Thread model: posix
    2722gcc version 4.4.5 (Debian 4.4.5-8)
     23}}}
     24
     25== Example 1 : !HelloWorld ==
     26
     27 * 首先從 [https://computing.llnl.gov/tutorials/openMP/exercise.html OpenMP Exercise] 下載 omp_hello.c
     28{{{
     29~$ wget https://computing.llnl.gov/tutorials/openMP/samples/C/omp_hello.c
    2830}}}
    2931 * 使用 GCC 編譯 omp_hello.c