[Nek5000-users] turbChannel compiling issue after adding more elements

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Thu Jan 25 02:05:25 CST 2018


Typically this is not needed. I guess you problem is related to some parameters in SIZE:

- set lelg to the total number of elements of your mesh
- set lpmin to a reasonable (small) value

-----Original message-----
> From:nek5000-users at lists.mcs.anl.gov <nek5000-users at lists.mcs.anl.gov>
> Sent: Wednesday 24th January 2018 23:24
> To: nek5000-users at lists.mcs.anl.gov
> Subject: Re: [Nek5000-users] turbChannel compiling issue after adding more elements
> 
> Hi Ming,
> 
> This usually happens to me when the resultant executable requires more memory allocation than available. If you haven't already, you can add
> 
> -mcmodel=medium
> 
> to the FFLAGS variable in makenek. This tells the compiler that it can create an executable that requires more than 2 GB of memory. Otherwise, if you already have that in there, you might be running into the limit of available physical memory of your system.
> 
> Sincerely,
> Kento
> 
> > On Jan 24, 2018, at 15:07, nek5000-users at lists.mcs.anl.gov wrote:
> > 
> > Dear Nek team,
> >  
> > I ran into an odd issue when compiling the file after adding more elements. Number of elements have been increased to 48(x)*32(y)*48(z) from the default 16(x)*12(y)*8(z). Everything went very smooth (genbox and genmap both worked well) till the last step in “makenek” when it started to generate .ffile;  error occurred and it says:
> >  
> > obj/turbChannel.o: In function `uservp_':
> > turbChannel.f:(.text+0x17): relocation truncated to fit: R_X86_64_32S against symbol `hcglb_' defined in COMMON section in obj/turbChannel.o
> > turbChannel.f:(.text+0x30): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/turbChannel.o
> > turbChannel.f:(.text+0x3c): relocation truncated to fit: R_X86_64_32S against symbol `cdsmag_' defined in COMMON section in obj/turbChannel.o
> > turbChannel.f:(.text+0x43): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/turbChannel.o
> > obj/turbChannel.o: In function `userf_':
> > turbChannel.f:(.text+0x56): relocation truncated to fit: R_X86_64_PC32 against symbol `cforce_' defined in COMMON section in obj/turbChannel.o
> > turbChannel.f:(.text+0x5d): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/turbChannel.o
> > turbChannel.f:(.text+0x64): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/turbChannel.o
> > turbChannel.f:(.text+0x6b): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/turbChannel.o
> > obj/turbChannel.o: In function `userq_':
> > turbChannel.f:(.text+0x73): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/turbChannel.o
> > obj/turbChannel.o: In function `userchk_':
> > turbChannel.f:(.text+0x93): relocation truncated to fit: R_X86_64_PC32 against symbol `dimn_' defined in COMMON section in obj/turbChannel.o
> > turbChannel.f:(.text+0x9b): additional relocation overflows omitted from the output
> > make: *** [makefile:120: nek5000] Error 1
> >  
> > Such error did not occur when running the default mesh settings. Has anyone seen this before? Any suggestions?
> >  
> > Thanks a lot for the help!
> >  
> > Regards,
> >  
> > Ming
> > _______________________________________________
> > 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
> 


More information about the Nek5000-users mailing list