[Nek5000-users] postnek on a mac

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Jun 22 13:26:28 CDT 2012


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




More information about the Nek5000-users mailing list