none
cpu compiler switches

    Question

  • hi there
    i'm a civil engineering student and i need to parallelize my CPU for a certain application named SSIIM .
    i've found a suggestion for this end whitch i attached to this post. put i have no idea that what compiler switch is and how to apply the setting.
    i was hoping that you would guide me.

    thanks

    The compiler switches used on Windows were:
    Microsoft: cl -openmp -Ox -arch:SSE2 -TC
    Intel:  icc /c /Ox /Ob1 /D "NDEBUG" /D "_CONSOLE" /D "WIN32" /D "_MBCS" /D
    "_VC80_UPGRADE=0x0600" /GF /FD /EHsc /MT /GS /Gy /GR /o".\Release/" /W3 /nologo /Gd /
    Qopenmp /QaxT
    The compiler switches used on Njord were:
    xlc_r -O3 -qstrict -qarch=pwr5 -qtune=pwr5 -qsmp=omp -lm
    The compiler switch on Stallo was icc -openmp -lm -O3

    Monday, February 26, 2018 5:28 AM

All replies

  • cl  is the C-Compiler cl.exe

    -openmp   is openMP  (multi-threading interface for parallel programming; see )

    -Ox  is the optimization Level (maximum optimization)

    -arch:SSE2   sets the APP for utilizing SSE2 SIMD extentions

    -TC  is the source file

    Compiler Options overview:  https://msdn.microsoft.com/en-us/library/fwkeyyhe.aspx

    These switches you apply in the property settings of your Visual Studio Project. Simply open the project and  right click on the project and select "properties".


    Disclaimer: No Warranty. No legal advice. Use at your own risk.


    Monday, February 26, 2018 8:07 PM