[Nek5000-users] postnek on a mac

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Mon Apr 15 16:32:03 CDT 2013


Hello Paul,

I would try recompiling clean with

BIGMEM="false"

in maketools and smaller upper element declarations of NELM in tools/*nek/basics.inc

Best.
Aleks


----- Original Message -----
From: nek5000-users at lists.mcs.anl.gov
To: nek5000-users at lists.mcs.anl.gov
Sent: Monday, April 15, 2013 4:21:08 PM
Subject: Re: [Nek5000-users] postnek on a mac


Hi All,

I'm new to the macs and am trying to compile postnek and prenek.

I'm getting the same error reported by Mark (below).

Has anyone had any luck with this?

Thanks!

Paul


On Fri, 22 Jun 2012, nek5000-users at lists.mcs.anl.gov wrote:

>
> Hello all,
>
> I have downloaded the most recent version of the software and am
> trying to compile postnek on a mac running lion with gfortran and gcc.
>
> The command:
>
> ./maketools postnek
>
> Gives the following error:
>
> Warning: Deleted feature: ASSIGN statement at (1)
> gcc -mcmodel=medium  -c -O2   xdriver.c
> xdriver.c: In function ‘TypeChar’:
> xdriver.c:1790: warning: comparison is always true due to limited range of data type
> xdriver.c: In function ‘error’:
> xdriver.c:1910: warning: format not a string literal and no format arguments
> xdriver.c:1910: warning: format not a string literal and no format arguments
> gfortran -mcmodel=medium -c    scrdmp.f
> gfortran -mcmodel=medium -c    coef.f
> gfortran -mcmodel=medium -c    postnek7.f
> gfortran -mcmodel=medium -c    speclib.f
> gfortran -mcmodel=medium -c   mxm.f
> gcc -mcmodel=medium  -c -DUNDERSCORE  ../../nek/byte.c
> gfortran -mcmodel=medium -c    ssyev.f
> gfortran -mcmodel=medium -c    iolib.f
> gfortran -mcmodel=medium -o  /Users/mrp/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/X11R6/lib -lX11 -lm
> ld: in xdriver.o, in section __TEXT,__text reloc 3: length != 2 and X86_64_RELOC_GOT not supported for architecture x86_64
> collect2: ld returned 1 exit status
> make[1]: *** [postx] Error 1
> make: *** [all] Error 1
>
> Any ideas?
>
> Thanks,
>
> Mark
>
> _______________________________________________
> 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