[Nek5000-users] prex & pretex not working
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Mon May 3 12:10:32 CDT 2010
Hi Stefan,
Sorry for missing out on that problem report.
But I tried changing the F77 compiler as below and it does not work.
"maketools all" does nothing.
F77="ifort -shared-intel"
Also, this is on a different linux box not on my cluster which has GNU
compiler.
Thanks,
Harish.
On Mon, 3 May 2010 nek5000-users at lists.mcs.anl.gov wrote:
> I know. There was a problem report on the mailing list already.
>
> This was my answer:
>
> Ok I think I know a way to fix the Intel compiler problem.
>
> To compile prenek (prex) you need to enable the BIGMEM support so you have to use at least the medium memory model. However the Intel compilers wants you to link all Intel-Libs dynamically if you use another memory model than small.
>
> Just set F77= "ifort -shared-intel" and it should work!
>
> hth,
> Stefan
>
> On May 3, 2010, at 5:45 PM, nek5000-users at lists.mcs.anl.gov wrote:
>
> > Hi Stefan,
> >
> > I tried compiling prenek on NCSA-Abe machine with ifort & icc. I get the
> > following error, its same error w/ and w/o "BIGMEM" flag.
> >
> > Thanks,
> >
> > Harish.
> >
> > *************************************************************************
> > icc -c -DUNDERSCORE -Dr8 xdriver.c
> > xdriver.c(875): warning #266: function "fprep_" declared implicitly
> > fprep_ (); /* run Fortran Main code */
> > ^
> >
> > xdriver.c(123): (col. 5) remark: LOOP WAS VECTORIZED.
> > xdriver.c(125): (col. 5) remark: LOOP WAS VECTORIZED.
> > xdriver.c(869): (col. 5) remark: LOOP WAS VECTORIZED.
> > xdriver.c(869): (col. 5) remark: LOOP WAS VECTORIZED.
> > xdriver.c(747): (col. 4) remark: LOOP WAS VECTORIZED.
> > xdriver.c(823): (col. 4) remark: LOOP WAS VECTORIZED.
> > xdriver.c(700): (col. 5) remark: LOOP WAS VECTORIZED.
> > xdriver.c(333): (col. 5) remark: LOOP WAS VECTORIZED.
> > xdriver.c(340): (col. 5) remark: LOOP WAS VECTORIZED.
> > ifort -o /u/ac/kanch1/nek5_svn/trunk/tools/prex prenek.o curve.o edit.o
> > build.o build1.o build2.o bound.o plot.o xinterface.o glomod.o legend.o
> > vprops.o iolib.o subs.o zipper2.o postnek6.o screen.o revert.o crs.o mxm.o
> > xdriver.o -L/usr/X11R6/lib64 -lX11 -lm
> > prenek.o(.text+0x47d): In function `drivfc_':
> > : relocation truncated to fit: R_X86_64_PC32 chaar_
> > prenek.o(.text+0x4f9): In function `drivfc_':
> > : relocation truncated to fit: R_X86_64_PC32 chaar_
> > prenek.o(.text+0x50d): In function `drivfc_':
> > : relocation truncated to fit: R_X86_64_PC32 basics_
> > prenek.o(.text+0x584): In function `drivfc_':
> > : relocation truncated to fit: R_X86_64_PC32 devs_
> > prenek.o(.text+0x5b1): In function `drivfc_':
> > : relocation truncated to fit: R_X86_64_PC32 chaar_
> > prenek.o(.text+0x62d): In function `drivfc_':
> > : relocation truncated to fit: R_X86_64_PC32 chaar_
> > prenek.o(.text+0x667): In function `drivfc_':
> > : relocation truncated to fit: R_X86_64_32S chaar_
> > prenek.o(.text+0x740): In function `drivfc_':
> > : relocation truncated to fit: R_X86_64_PC32 modes_
> > prenek.o(.text+0x789): In function `drivfc_':
> > : relocation truncated to fit: R_X86_64_PC32 chaar_
> > prenek.o(.text+0x7fc): In function `drivfc_':
> > : relocation truncated to fit: R_X86_64_PC32 chaar_
> > prenek.o(.text+0x80c): In function `drivfc_':
> > : additional relocation overflows omitted from the output
> > make[1]: *** [prex] Error 1
> > make[1]: Leaving directory `/u/ac/kanch1/nek5_svn/trunk/tools/prenek'
> > make: *** [all] Error 1
> > **************************************************************************
> >
> > On Mon, May 3, 2010 9:38 am, nek5000-users at lists.mcs.anl.gov wrote:
> >> Can you try on another Linux box? You can get the Intel compilers (non
> >> commercial usage) for free.
> >> Sorry I don't want to login into other machines unless it's really needed.
> >>
> >> Stefan
> >>
> >> On May 3, 2010, at 4:34 PM, nek5000-users at lists.mcs.anl.gov wrote:
> >>
> >>> Hi Stefan,
> >>>
> >>> I do not have any other compiler on the cluster. I can give you my login
> >>> to check the problem.
> >>>
> >>> Thanks,
> >>>
> >>> Harish.
> >>>
> >>> On Mon, 3 May 2010 nek5000-users at lists.mcs.anl.gov wrote:
> >>>
> >>>> Hi Harish,
> >>>>
> >>>> unfortunately I cannot reproduce the problem over there (gcc 4.2.1/
> >>>> gfortran 4.5).
> >>>> Can you try again using another compiler?
> >>>>
> >>>> Stefan
> >>>>
> >>>>
> >>>> On May 3, 2010, at 3:26 PM, nek5000-users at lists.mcs.anl.gov wrote:
> >>>>
> >>>>> Hello,
> >>>>>
> >>>>> I am compiling prenek with GNU compilers, gfortran-4.3.2 and
> >>>>> gcc-4.3.2.
> >>>>> When I compile it without "BIGMEM" flag it gives an error, the output
> >>>>> of
> >>>>> it is attached (error.out). With "BIGMEM" flag turned on, there are no
> >>>>> compiler errors (compile.out). But when I try to open pretex or prex,
> >>>>> I
> >>>>> get the following error.
> >>>>>
> >>>>> [harish at cmtl hole-in-center]$ prex
> >>>>> Killed
> >>>>> [harish at cmtl hole-in-center]$ pretex
> >>>>> Killed
> >>>>>
> >>>>> All the other tools are working fine. Any help in solving this issue
> >>>>> is
> >>>>> appreciated.
> >>>>>
> >>>>> Thanks,
> >>>>>
> >>>>> Harish.
> >>>>> <error.out><compile.out>_______________________________________________
> >>>>> 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
> >>
> >> _______________________________________________
> >> 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
>
More information about the Nek5000-users
mailing list