[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Condor, Vanilla, can not link to the library successfully

The current problem is like this
I found from web that it is might possible that the libraries are compiled with g77, but i am using ifort, or gfortran, so there are some conflict resulted from. so I add -lg2c to it, these errors "underfined reference to xxxx" disappear, but i get one new error
"multiple definition of 'xerbla_' "
/usr/lib/liblapack.a(xerbla.o):(.text+0x0): first defined here
ld: Warning: size of symbol `xerbla_' changed from 97 in /usr/lib/liblapack.a(xerbla.o) to 57 in /usr/lib/libblas.a(xerbla.o)
Is there anyone having some idea about it?
Dear Roger,
thanks for your quick reply.
so did you solve the problem by adding the other posssible libraries?
I am sure that all the subroutines in the error report are included.
All the best

> To: condor-users@xxxxxxxxxxx
> From: rmason@xxxxxxxxxx
> Date: Fri, 2 May 2008 12:39:46 -0230
> Subject: Re: [Condor-users] Condor, Vanilla, can not link to the library successfully
> Yang Kaiyu <kaiyu_yang@xxxxxxxxxxx> writes:
> > So I tried to use static option for the link, with "LIBS = -L
> > /usr/lib/ -llapack" and " $(FC) $(FFLAGS) -o $(PROG) $(OBJ)
> > $(MODOBJ) $(LIBS) -static", (i have checked by "locate liblapack"
> > that liblapack.a is located at [DEL: / :DEL] usr/lib/), but i can
> > not locally compile successfully, the errors are mainly
> > "undefined reference to xxxx" (which is the subroutine in the
> > libraries.) Any help is welcome and helpful, I really appreciate
> > it! Best Regards Kai-Yu
> The error messages may give some clue as to what extra libraries are
> needed. Once you discover that you'll probably need some more -lxxxx
> on the link command. Just been through somethinf similar myself.
> Roger
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/

Connect to the next generation of MSN Messenger  Get it now!