[Wien] x_lapw errors
Martin Gelfand
gelfand at lamar.ColoState.EDU
Mon Apr 5 23:26:38 CEST 2004
Yaron,
The libc6 libraries are required for compiling almost
anything at all. Can you successfully compile a 'hello world'
program (and maybe do a bit of arithmetic in it) using IFC?
"cannot find -lm" looks like the loader is looking for libm;
I've been using linux for what seems like a long time now but
the GNU linker is still largely a mystery to me.
Regards,
Martin Gelfand
On Mon, 5 Apr 2004 strutza at bgumail.bgu.ac.il wrote:
> Martin.
>
> Thank you for the reply, I am using Fedora Core 1 (Yarrow).
> Regarding the Libc6 is it a necessary library for compiling WIEN2K?
> I had received this type of error on a Mandrake 9.2 distro also.
>
> Does the error "ld: cannot find -lm" refer to those libraries?
>
> I am sorry for those questions but I am quite new with the Linux platform.
>
> Yaron.
>
>
> -----Original Message-----
> From: wien-admin at zeus.theochem.tuwien.ac.at
> [mailto:wien-admin at zeus.theochem.tuwien.ac.at] On Behalf Of Martin Gelfand
> Sent: Monday, April 05, 2004 5:42 PM
> To: wien at zeus.theochem.tuwien.ac.at
> Subject: Re: [Wien] x_lapw errors
>
> Yaron,
> You don't mention what operating system (and if linux,
> what distribution) the computer is running, but I would
> guess that you're missing the libc6 development libraries
> package---at least that's where /usr/lib/libm.a can be
> found in Debian.
>
> Martin Gelfand
> Dept of Physics
> Colorado State University
>
> On Mon, 5 Apr 2004 strutza at bgumail.bgu.ac.il wrote:
>
> > Hello WIEN users
> >
> >
> > I had just finished installing WN2K on a P4 with IFC7.1 & MKL 6.1.
> >
> > After creating a case.struct, doing a init_lapw I get script error of the
> > kind:
> >
> >
> >
> > /home/angel/WIEN/nn: Command not found.
> >
> > 0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 2pf+0w
> >
> >
> >
> >
> >
> > Checking the compile.msg in SRC_nn:
> >
> >
> >
> > rm -f struk.o variable_fields.o nn.o dirlat.o ord2.o reduce_alloc.o
> > struk.P variable_fields.P nn.P dirlat.P ord2.P reduce_alloc.P nn.prj
> > dirlat.prj ord2.prj reduce_alloc.prj struk.prj variable_fields.prj \
> >
> > nn.xref *.mod
> >
> > ifc -FR -mp -w -c struk.f
> >
> > module STRUK
> >
> >
> >
> > 7 Lines Compiled
> >
> > ifc -FR -mp -w -c variable_fields.f
> >
> > module VARIABLE_FIELDS
> >
> >
> >
> > 4 Lines Compiled
> >
> > ifc -FR -mp -w -c nn.f
> >
> > program NN
> >
> >
> >
> > 471 Lines Compiled
> >
> > ifc -FR -mp -w -c dirlat.f
> >
> > external subroutine DIRLAT
> >
> >
> >
> > 180 Lines Compiled
> >
> > ifc -FR -mp -w -c ord2.f
> >
> > external subroutine ORD2
> >
> >
> >
> > 25 Lines Compiled
> >
> > ifc -FR -mp -w -c reduce_alloc.f
> >
> > external subroutine REDUCE_ALLOC_R8_2D
> >
> >
> >
> > 26 Lines Compiled
> >
> > ifc -o ./nn struk.o variable_fields.o nn.o dirlat.o ord2.o reduce_alloc.o
> > -L../SRC_lib -L/opt/intel/mkl60/lib/32 -Vaxlib -static
> >
> > ld: cannot find -lm
> >
> > make: *** [nn] Error 1
> >
> >
> >
> > Guessing from the error, maybe a problem in MKL?
> >
> > Please Advice.
> >
> >
> >
> > Regards,
> > Yaron Strutz.
> >
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
> ============================================================
>
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
More information about the Wien
mailing list