Compile and link with -mcmodel=medium

Compile and link with -mcmodel=medium

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 条帖子 / 0 全新
如需更全面地了解编译器优化,请参阅优化注意事项