Serial processing pprogramming

Here is the summarized text of porting your programs from former system to current system.

Compiling Command

We recommend you to use Intel Compiler which could get good performance of Xeon processors. It is also possible using GNU compiler.

Compiler Options

Specific Memory Model

The compiler restricts code and data to the first 2GB of address space. If, during linking, you fail to use the appropriate memory model and dynamic library options, an error message in this format occurs:

relocation  truncated  to  fit: R_X86_64_32S against  `.bss'
relocation  truncated  to  fit: R_X86_64_32S  against  `.bss'


When you specify option -mcmodel=medium or -mcmodel=large, it sets option -shared-intel.

OptionsDescription
-mcmodel=small(default)Tells the compiler to restrict code and data to the first 2GB of address space.
-mcmodel=mediumTells the compiler to restrict code to the first 2GB; it places no memory restriction on data.
-mcmodel=largePlaces no memory restriction on code or data.
OptionsDescription
-shared-intelThis option causes Intel-provided libraries to be linked in dynamically.

Math Kernel Library (MKL)

Time Functions

Performance Analuzing Tool

Under Construction


トップ   新規 一覧 単語検索 最終更新   ヘルプ