"pgf90 -r8 p.f -llapack -lblas" -> error! why?

Hello,

I’d like to run a program with “Double precision”, so I added -r8 option,
and that generated below error message.
Would you help me?
Of course, “pgf90 prog.f -llapack -lblas” without -r8 option has no problem.

Thank you in advance.

======================================
PGF90-W-0093-Type conversion of expression performed (p.f: 393)
0 inform, 1 warnings, 0 severes, 0 fatal for detrend

/home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o): In function __hpf_myprocnum':initpar.c:(.text+0x2): relocation truncated to fit: R_X86_64_PC32 against symbol __hpf_lcpu’ defined in COMMON section in /home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o)
/home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o): In function __hpf_ncpus':initpar.c:(.text+0x12): relocation truncated to fit: R_X86_64_PC32 against symbol __hpf_tcpus’ defined in COMMON section in /home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o)
/home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o): In function __hpf_getioproc':initpar.c:(.text+0x22): relocation truncated to fit: R_X86_64_PC32 against symbol __hpf_ioproc’ defined in COMMON section in /home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o)
/home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o): In function __hpf_is_ioproc':initpar.c:(.text+0x32): relocation truncated to fit: R_X86_64_PC32 against symbol __hpf_ioproc’ defined in COMMON section in /home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o)
:initpar.c:(.text+0x38): relocation truncated to fit: R_X86_64_PC32 against symbol __hpf_lcpu' defined in COMMON section in /home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o) /home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o): In function __hpf_abort’:initpar.c:(.text+0x5f): relocation truncated to fit: R_X86_64_PC32 against symbol __hpf_lcpu' defined in COMMON section in /home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o) /home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o): In function __hpf_abortp’:initpar.c:(.text+0xf0): relocation truncated to fit: R_X86_64_PC32 against symbol __hpf_lcpu' defined in COMMON section in /home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o) /home/software/pgi/linux86-64/6.2/lib/libpgf90.a(initpar.o): In function __hpf_initarg’:initpar.c:(.text+0x147): relocation truncated to fit: R_X86_64_PC32 against .bss' :initpar.c:(.text+0x171): relocation truncated to fit: R_X86_64_PC32 against .bss’
:initpar.c:(.text+0x19b): relocation truncated to fit: R_X86_64_PC32 against `.bss’
:initpar.c:(.text+0x1ab): additional relocation overflows omitted from the output

Hi ghost25,

Try adding “-mcmodel=medium”.

  • Mat