Compile and link with -mcmodel=medium

Compile and link with -mcmodel=medium

Bild des Benutzers masaki-iwa

Hello.
I'm new to this software. When I tried to compile my program with "-mcmodel=medium" option, Intel compiler gives an error below.

src/spike_algo.f90:(.text+0x1c): relocation truncated to fit: R_X86_64_32 against `.bss'
Because my code includes large static array,"-mcmodel=medium" isnecessary. Adaptive Spike Solver is not compiled with"-mcmodel=medium" ?

Can I getappropriate build from web site? regards,

1 Beitrag / 0 neu
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.