[Nek5000-users] Error doing ./maketools for postnek

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Mon Aug 28 11:52:10 CDT 2017


Hi Saikat,

I am not familiar with postnek and the parameters in basics.inc and
basicsp.inc but, as Adam said, it seems that the arrays are too big for the
memory available on your machine. If your case has 3072 elements, maybe you
could adapt the number of elements NELM to that value and consequently save
much memory. I am not sure what MAXPTS is... maybe the maximum number of
grid points? Once again, do you need 20e6?
Finally, the easiest way to visualize large cases is Visit in my opinion
(it is actually the only way if the case is really large). You could maybe
consider that option if your case is too big.

Best,
Nicolas

On Mon, Aug 28, 2017 at 5:39 PM, <nek5000-users at lists.mcs.anl.gov> wrote:

> Hi all,
>
> Thanks for the replies. I have tried with BIGMEM='true' but it still shows
> me the same error. I think the two important parameters that I have to play
> with is NELM in 'basics.inc' and MAXPTS in 'basicsp.inc'. Now I wanted to
> ask,
>
> Is there a constraint between these 2 parameters? It seems to me you
> cannot increase one value as you want, without adjusting the other. Is
> there a relation between them for successful compilation?
>
> Previously I had NELM=100 000 and MAXPTS=20 000 000 and it seemed to work
> and I didn't change these values, but lesser values might also work.
>
> Thanks a lot,
>
> Saikat
>
>
>
> Saikat Mukherjee,
> PhD Student,
> Paul Research Group - http://www.me.vt.edu/mpaul/
> Engineering Science and Mechanics,
> Virginia Tech.
>
> On Mon, Aug 28, 2017 at 5:40 AM, <nek5000-users at lists.mcs.anl.gov> wrote:
>
>> Try to recompile with BIGMEM="true" (set in maketools).
>>
>> -----Original message-----
>> > From:nek5000-users at lists.mcs.anl.gov <nek5000-users at lists.mcs.anl.gov>
>> > Sent: Monday 28th August 2017 11:18
>> > To: nek5000-users at lists.mcs.anl.gov
>> > Subject: Re: [Nek5000-users] Error doing ./maketools for postnek
>> >
>> > Hi,
>> > Nek uses static allocation and you've increased array sizes. The error
>> > you get means that the array is too big to be created. Do you really
>> > need so big arrays?
>> > Regards
>> > Adam
>> >
>> >
>> > On 27/08/17 21:18, nek5000-users at lists.mcs.anl.gov wrote:
>> > > Hey Neks,
>> > >
>> > > I have recently installed Nek5000 in a different machine. Now to read
>> > > my domain (which is big, 3072 elements), I have changed the NELM in
>> > > basics.inc to 100 000 and MAXPTS in basicsp.inc to 20 000 000. Also my
>> > > mxpro = 40000 (maximum no of profile points). These parameters were
>> > > used by me previously to read same domains successfully, that is why I
>> > > am using these.
>> > >
>> > > Now the problem is an issue while compiling maketools. It says -
>> > >
>> > > ./maketools postnek/
>> > > ----------------------
>> > > Make postnek...
>> > > ----------------------
>> > > make[1]: Entering directory `/home/msaikat6/Nek5000/tools/postnek'
>> > > gfortran -o  /home/msaikat6/Nek5000/bin/postx postnek.o postnek2.o
>> > > postnek3.o postnek5.o postnek6.o tsort.o postnek8.o postnek9.o plot.o
>> > > getfld.o legend.o userf.o revert.o trap.o animate.o genxyz.o screen.o
>> > > g3d.o subs.o xinterface.o locglob.o postnek5a.o blas.o xdriver.o
>> > > scrdmp.o coef.o postnek7.o speclib.o mxm.o byte.o ssyev.o iolib.o
>> > > -L/usr/lib/X11 -lX11 -lm
>> > > postnek.o: In function `fprep_':
>> > > postnek.f:(.text+0xf6): relocation truncated to fit: R_X86_64_32S
>> > > against symbol `chaar_' defined in COMMON section in postnek.o
>> > > postnek.f:(.text+0x133): relocation truncated to fit: R_X86_64_32S
>> > > against symbol `chaar_' defined in COMMON section in postnek.o
>> > > postnek.f:(.text+0x183): relocation truncated to fit: R_X86_64_32S
>> > > against symbol `chaar_' defined in COMMON section in postnek.o
>> > > postnek.f:(.text+0x1c0): relocation truncated to fit: R_X86_64_32S
>> > > against symbol `chaar_' defined in COMMON section in postnek.o
>> > > postnek.f:(.text+0x210): relocation truncated to fit: R_X86_64_32S
>> > > against symbol `chaar_' defined in COMMON section in postnek.o
>> > > postnek.f:(.text+0x24d): relocation truncated to fit: R_X86_64_32S
>> > > against symbol `chaar_' defined in COMMON section in postnek.o
>> > > postnek.f:(.text+0x29d): relocation truncated to fit: R_X86_64_32S
>> > > against symbol `chaar_' defined in COMMON section in postnek.o
>> > > postnek.f:(.text+0x2da): relocation truncated to fit: R_X86_64_32S
>> > > against symbol `chaar_' defined in COMMON section in postnek.o
>> > > postnek.f:(.text+0x32a): relocation truncated to fit: R_X86_64_32S
>> > > against symbol `chaar_' defined in COMMON section in postnek.o
>> > > postnek.f:(.text+0x367): relocation truncated to fit: R_X86_64_32S
>> > > against symbol `chaar_' defined in COMMON section in postnek.o
>> > > postnek.f:(.text+0x3b7): additional relocation overflows omitted from
>> the output
>> > > collect2: ld returned 1 exit status
>> > > make[1]: *** [postx] Error 1
>> > > make[1]: Leaving directory `/home/msaikat6/Nek5000/tools/postnek'
>> > > make: *** [all] Error 1
>> > >
>> > >
>> > > I don't understand the problem because I have used the same parameters
>> > > previously, successfully. Let me know if you know what the problem is.
>> > > Thanks so much.
>> > >
>> > > Saikat
>> > >
>> >
>> > _______________________________________________
>> > 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
>>
>
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20170828/68928961/attachment-0001.html>


More information about the Nek5000-users mailing list