Download Curie advanced userguide - VI-HPS
Transcript
Compilation options Compile rs provide s many options to optimiz e a code . The s e options are de s cribe d in the following s e ction. Int el -opt_re port : ge ne rate s a re port which de s cribe s the optimis ation in s tde rr (-O3 re quire d) -ip, -ipo : inte r-proce dural optimiz ations (mono and multi file s ). The command xiar mus t be us e d ins te ad of ar to ge ne rate a s tatic library file with obje cts compile d with -ipo option. -fas t : de fault high optimis ation le ve l (-O3 -ipo -s tatic). + Care full : This option is not allowe d us ing MPI, the MPI conte xt ne e ds to call s ome librarie s which only e xis ts in dynamic mode . This is incompatible with the -s tatic option. You ne e d to re place -fas t by -O3 -ipo -ftz : cons ide rs all the de normaliz e d numbe rs (like INF or NAN) as z e ros at runtime . -fp-re laxe d : mathe matical optimis ation functions . Le ads to a s mall los s of accuracy. -pad : make s the modification of the me mory pos itions ope rational (ifort only) The re are s ome options which allow to us e s pe cific ins tructions of Inte l proce s s ors in orde r to optimiz e the code . The s e options are compatible with mos t of Inte l proce s s ors . The compile r will try to ge ne rate the s e ins tructions if the proce s s or allow it. -xSSE4.2 : May ge ne rate Inte l® SSE4 Efficie nt Acce le rate d String and Te xt Proce s s ing ins tructions . May ge ne rate Inte l® SSE4 Ve ctoriz ing Compile r and Me dia Acce le rator, Inte l® SSSE3, SSE3, SSE2, and SSE ins tructions . -xSSE4.1 : May ge ne rate Inte l® SSE4 Ve ctoriz ing Compile r and Me dia Acce le rator ins tructions for Inte l proce s s ors . May ge ne rate Inte l® SSSE3, SSE3, SSE2, and SSE ins tructions . -xSSSE3 : May ge ne rate Inte l® SSSE3, SSE3, SSE2, and SSE ins tructions for Inte l proce s s ors . -xSSE3 : May ge ne rate Inte l® SSE3, SSE2, and SSE ins tructions for Inte l proce s s ors . -xSSE2 : May ge ne rate Inte l® SSE2 and SSE ins tructions for Inte l proce s s ors . -xHos t : this option will apply one of the pre vious options de pe nding on the proce s s or whe re the compilation is pe rforme d. This option is re comme nde d for optimiz ing your code . None of the s e options are us e d by de fault. The SSE ins tructions us e the ve ctoriz ation capability of Inte l proce s s ors . Int el Sandy Bridge processors Curie thin node s us e the las t Inte l proce s s ors bas e d on Sandy Bridge archite cture . This archite cture provide s ne w ve ctoriz ation ins tructions calle d AVX for Advance d Ve ctor e Xte ns ions . The option -xAVX allows to ge ne rate a s pe cific code for Curie thin node s . Be care ful, a code ge ne rate d with -xAVX option runs only on Inte l Sandy Bridge proce s s ors . Othe rwis e , you will ge t this e rror me s s age : Fa ta l Error: This progra m wa s not built to run in your s ys te m. Ple a s e ve rify tha t both the ope ra ting s ys te m a nd the proce s s or s upport Inte l(R) AVX. Curie login node s are Curie large node s with Ne hale m-EX proce s s ors . AVX code s can be ge ne rate d on the s e node s through cros s -compilation by adding -xAVX option. On Curie large node , the -xHos t option will not ge ne rate a AVX code . If you ne e d to compile with -xHos t or if the ins tallation re quire s s ome te s ts (like autotools /configure ), you can s ubmit a job which will compile on the Curie thin node s . GNU The re are s ome options which allow us age of s pe cific s e t of ins tructions for Inte l proce s s ors , in orde r to optimiz e code be havior. The s e options are compatible with mos t of Inte l proce s s ors . The compile r will try to us e the s e ins tructions if the proce s s or allow it. -mmmx / -mno-mmx : Switch on or off the us age of s aid ins truction s e t. -ms s e / -mno-s s e : ide m. -ms s e 2 / -mno-s s e 2 : ide m. -ms s e 3 / -mno-s s e 3 : ide m. -ms s s e 3 / -mno-s s s e 3 : ide m. -ms s e 4.1 / -mno-s s e 4.1 : ide m. -ms s e 4.2 / -mno-s s e 4.2 : ide m. -ms s e 4 / -mno-s s e 4 : ide m. -mavx / -mno-avx : ide m, f o r Curie T hin no des part it io n o nly. Submission