[Nek5000-users] turbJet compiling problem

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Oct 18 09:37:58 CDT 2013


Do you know what compiler was used for the mpi build ?

You might try turning off mpi in the makenek script.

Also, are you not using mpif77 / mpicc ?  (Obviously
if you set IFMPI to false then you don't want these
compilers.)

Paul


----- Original Message -----
From: nek5000-users at lists.mcs.anl.gov
To: "<nek5000-users at lists.mcs.anl.gov>" <nek5000-users at lists.mcs.anl.gov>
Sent: Friday, October 18, 2013 9:22:23 AM
Subject: Re: [Nek5000-users] turbJet compiling problem

After adding G= -Ktrap=fp -mcmodel=medium, the compilation completed correctly for gfortran but for PGI I got a new error:

/opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_poll.o): In function `MPID_nem_gni_process_remote_data_ack':
gni_poll.c:(.text+0x15b): relocation truncated to fit: R_X86_64_32S against symbol `MPID_nem_gni_send_recv_bufs' defined in COMMON section in /opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_init.o)
gni_poll.c:(.text+0x216): relocation truncated to fit: R_X86_64_32S against symbol `MPID_nem_gni_send_bufs' defined in COMMON section in /opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_init.o)
/opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_poll.o): In function `MPID_nem_gni_progress_localCQ':
gni_poll.c:(.text+0xdde): relocation truncated to fit: R_X86_64_PC32 against symbol `MPID_nem_gni_local_nic_addrs' defined in COMMON section in /opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_init.o)
gni_poll.c:(.text+0xe5b): relocation truncated to fit: R_X86_64_PC32 against symbol `MPID_nem_gni_local_nic_addrs' defined in COMMON section in /opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_init.o)
gni_poll.c:(.text+0xe75): relocation truncated to fit: R_X86_64_PC32 against symbol `MPID_nem_gni_nic_hndls' defined in COMMON section in /opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_init.o)
/opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_poll.o): In function `MPID_nem_gni_check_localCQ':
gni_poll.c:(.text+0xf63): relocation truncated to fit: R_X86_64_PC32 against symbol `MPID_nem_gni_local_nic_addrs' defined in COMMON section in /opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_init.o)
gni_poll.c:(.text+0xf8e): relocation truncated to fit: R_X86_64_PC32 against symbol `MPID_nem_gni_nic_hndls' defined in COMMON section in /opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_init.o)
gni_poll.c:(.text+0x127f): relocation truncated to fit: R_X86_64_32S against symbol `MPID_nem_gni_queue_work_head' defined in COMMON section in /opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_init.o)
gni_poll.c:(.text+0x1299): relocation truncated to fit: R_X86_64_PC32 against symbol `MPID_nem_gni_queue_work_head' defined in COMMON section in /opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_init.o)
gni_poll.c:(.text+0x12a4): relocation truncated to fit: R_X86_64_PC32 against symbol `MPID_nem_gni_queue_work_head' defined in COMMON section in /opt/cray/mpt/5.5.4/gni/mpich2-pgi/119/lib/libmpich_pgi.a(gni_init.o)
gni_poll.c:(.text+0x1478): additional relocation overflows omitted from the output
make: *** [nek5000] Error 2


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

>
> 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_______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users


________________________________

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