[Nek5000-users] turbJet compiling problem

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Thu Oct 17 11:31:56 CDT 2013


Try modifying makenek to have the line:

G= -Ktrap=fp -mcmodel=medium

(the G= is there but is commented out)

Then:

makenek clean

and remake...

Paul


On Thu, 17 Oct 2013, nek5000-users at lists.mcs.anl.gov wrote:

> Hi neks,
>
> I am trying to compile the out-of-the-box turbojet case in the examples.
>
> This is the output I got for PGI:
>
> /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o): In function `__hpf_myprocnum':
> initpar.c:(.text+0x6): relocation truncated to fit: R_X86_64_PC32 against symbol `__hpf_lcpu' defined in COMMON section in /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o)
> /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o): In function `__hpf_ncpus':
> initpar.c:(.text+0x16): relocation truncated to fit: R_X86_64_PC32 against symbol `__hpf_tcpus' defined in COMMON section in /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o)
> /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o): In function `__hpf_getioproc':
> initpar.c:(.text+0x26): relocation truncated to fit: R_X86_64_PC32 against symbol `__hpf_ioproc' defined in COMMON section in /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o)
> /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o): In function `__hpf_is_ioproc':
> initpar.c:(.text+0x36): relocation truncated to fit: R_X86_64_PC32 against symbol `__hpf_lcpu' defined in COMMON section in /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o)
> initpar.c:(.text+0x3e): relocation truncated to fit: R_X86_64_PC32 against symbol `__hpf_ioproc' defined in COMMON section in /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o)
> /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o): In function `__hpf_abort':
> initpar.c:(.text+0x7a): relocation truncated to fit: R_X86_64_PC32 against symbol `__hpf_lcpu' defined in COMMON section in /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o)
> /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o): In function `__hpf_abortp':
> initpar.c:(.text+0xe0): relocation truncated to fit: R_X86_64_PC32 against symbol `__hpf_lcpu' defined in COMMON section in /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o)
> /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o): In function `__hpf_passargs':
> initpar.c:(.text+0x4c2): relocation truncated to fit: R_X86_64_PC32 against symbol `__hpf_lcpu' defined in COMMON section in /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o)
> initpar.c:(.text+0x616): relocation truncated to fit: R_X86_64_PC32 against symbol `__hpf_lcpu' defined in COMMON section in /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o)
> /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o): In function `pghpf_init':
> initpar.c:(.text+0x7d8): relocation truncated to fit: R_X86_64_PC32 against symbol `__hpf_np2' defined in COMMON section in /opt/pgi/12.8.0/linux86-64/12.8/lib/libpgf90.a(initpar.o)
> initpar.c:(.text+0x7e2): additional relocation overflows omitted from the output
> make: *** [nek5000] Error 2
>
> and this is for gfortran
>
> obj/postpro.o: In function `intpts_':
> postpro.f:(.text+0x1818): relocation truncated to fit: R_X86_64_32S against symbol `intp_r_' defined in COMMON section in obj/postpro.o
> postpro.f:(.text+0x1831): relocation truncated to fit: R_X86_64_32S against symbol `intp_r_' defined in COMMON section in obj/postpro.o
> postpro.f:(.text+0x1878): relocation truncated to fit: R_X86_64_32S against symbol `intp_i_' defined in COMMON section in obj/postpro.o
> postpro.f:(.text+0x1915): relocation truncated to fit: R_X86_64_32S against symbol `intp_r_' defined in COMMON section in obj/postpro.o
> postpro.f:(.text+0x1927): relocation truncated to fit: R_X86_64_32S against symbol `intp_i_' defined in COMMON section in obj/postpro.o
> postpro.f:(.text+0x1c7d): relocation truncated to fit: R_X86_64_32S against symbol `intp_r_' defined in COMMON section in obj/postpro.o
> postpro.f:(.text+0x1dc4): relocation truncated to fit: R_X86_64_32S against symbol `intp_r_' defined in COMMON section in obj/postpro.o
> obj/postpro.o: In function `tens3d1_':
> postpro.f:(.text+0x1ef0): relocation truncated to fit: R_X86_64_32S against symbol `ctensor_' defined in COMMON section in obj/postpro.o
> postpro.f:(.text+0x1ef8): relocation truncated to fit: R_X86_64_32S against symbol `ctensor_' defined in COMMON section in obj/postpro.o
> obj/postpro.o: In function `build_1d_filt_':
> postpro.f:(.text+0x2124): relocation truncated to fit: R_X86_64_32S against symbol `cfiltr_' defined in COMMON section in obj/postpro.o
> postpro.f:(.text+0x2136): additional relocation overflows omitted from the output
> collect2: ld returned 1 exit status
> make: *** [nek5000] Error 1
>
>
> Any help?. Thanks
>
> ________________________________
>
> CSI has been ranked one of America’s Best Colleges 2014<http://colleges.usnews.rankingsandreviews.com/best-colleges/rankings/regional-universities-north/top-public/spp+50/page+2> (North East Public) by US News and World Report.
> _______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users


More information about the Nek5000-users mailing list