PGI CompilerIntel Compiler
全部展開 | 全部隱藏

PGI Compiler 常見問題

  • Linux 下如何啟動 PGI 產權 ?

    cd $PGI/linux86_64/12.6/bin
    # lmgrd.rc start
    # cp $PGI/linux86_64/12.6/bin/lmgrd.rc /etc/rc.d/init.d/lmgrd
    # ln -s /etc/rc.d/init.d/lmgrd /etc/rc.d/rc3.d/S90lmgrd
    # ln -s /etc/rc.d/init.d/lmgrd /etc/rc.d/rc5.d/S90lmgrd
    ………此以RedHat 版本的文字介面為範本,若非文字視窗或不同版本,依實際位址、方式放置

  • 如何測試 PGI ?

    您可以下載PGI測試範例

    以下為測試步驟 :

    1 . #tar zxvf pgitest_f.tgz

    2 . #cd pgitest/

    3 . #make

    若產權沒啟動在make步驟就會失敗,正常結果會產生 linpkrd.o second.o 及 linpkrd

    4 . # ./linpkrd

    正常來說可以看到結果類似如下

    norm. resid resid machep x(1)-1 x(n)-1
    1.67117300E+00 7.41628980E-14 2.22044605E-16 -1.49880108E-14 -1.89848137E-14
    times are reported for matrices of order 100
    sgefa sgesl total Kflops unit ratio
    times for array with leading dimension of 201
    0.00021 0.00001 0.00021 3225183. 0.00062 0.00380
    0.00020 0.00001 0.00021 3269113. 0.00061 0.00375
    0.00022 0.00001 0.00023 3012645. 0.00066 0.00407
    0.00020 0.00000 0.00020 3359496. 0.00060 0.00365

    times for array with leading dimension of 200
    0.00019 0.00001 0.00020 3465811. 0.00058 0.00354
    0.00019 0.00001 0.00020 3503758. 0.00057 0.00350
    0.00019 0.00001 0.00019 3525201. 0.00057 0.00348
    0.00019 0.00000 0.00019 3599679. 0.00056 0.00341

    ROLLED DOUBLE PRECISION LINPACK PERFORMANCE 3359496 KFLOPS
    FORTRAN STOP

全部展開 | 全部隱藏

Intel Compiler 常見問題

  • 如何測試 Intel compiler ?

    您可以下載 Intel Compiler測試範例

    以下為測試步驟 :

    1 . #tar zxvf intel_test.tgz

    2 . #cd intel_test/

    3 . #make

    若產權沒啟動在make步驟就會失敗,正常結果會產生 linpkrd.o second.o 及 linpkrd

    4 . # ./linpkrd

    正常來說可以看到結果類似如下

    norm. resid resid machep x(1)-1 x(n)-1
    1.67117300E+00 7.41628980E-14 2.22044605E-16 -1.49880108E-14 -1.89848137E-14
    times are reported for matrices of order 100
    sgefa sgesl total Kflops unit ratio
    times for array with leading dimension of 201
    0.00031 0.00002 0.00033 2061624. 0.00097 0.00595
    0.00031 0.00002 0.00033 2080989. 0.00096 0.00589
    0.00031 0.00001 0.00032 2119271. 0.00094 0.00579
    0.00015 0.00000 0.00015 4692777. 0.00043 0.00261

    times for array with leading dimension of 200
    0.00013 0.00001 0.00014 4840485. 0.00041 0.00253
    0.00013 0.00001 0.00014 4832364. 0.00041 0.00254
    0.00013 0.00001 0.00014 4906455. 0.00041 0.00250
    0.00013 0.00000 0.00013 5113758. 0.00039 0.00240

    ROLLED DOUBLE PRECISION LINPACK PERFORMANCE 4692777 KFLOPS