AW: [Wien] Re: Need help for compiling WIEN2k-05 on Fedora 4.0 CPU
EM64T
Gerhard Fecher
fecher at uni-mainz.de
Thu Dec 15 17:04:13 CET 2005
Sorry to say, but it seems you are of the kind ignoring all manuals and reading everything only to the half.
-Vaxlib is not longer in use !!!!!
-lpthread should come as the last library not as the first !!!!
Ciao
Gerhard
-----Ursprüngliche Nachricht-----
Von: wien-bounces at zeus.theochem.tuwien.ac.at im Auftrag von Hao Zhu
Gesendet: Do 15.12.2005 15:50
An: wien at zeus.theochem.tuwien.ac.at
Betreff: [Wien] Re: Need help for compiling WIEN2k-05 on Fedora 4.0 CPU EM64T
Thanks, Enrico. I tried to add a low case of "L" before -pthread as "-lpthread"
seems it gives out a lot new errors besides the previous one, the new error message list below. once I put "-pthread", the error messages are gone. I also tried to remove the compile options "-ip", either doesn't work. Any other ways I can try?
Hao
ifort -o ./filtvec filtvec.o main.o info.o -L/opt/intel/mkl/lib/em64t -Vaxlib -lpthread -lmkl_lapack64 -lmkl_em64t -lguide
/opt/intel/mkl/lib/em64t/libguide.so: undefined reference to `pthread_atfork'
make[1]: *** [filtvec] Error 1
make[1]: Leaving directory `/home/wien2k-05/SRC_filtvec'
make: *** [real] Error 2
Have a look at the options in
http://zeus.theochem.tuwien.ac.at/pipermail/wien/2005-November/006174.html
Also, -pthread will not work (needs an l in front)
Regards
Enrico
Hao Zhu wrote:
> Thank you all for your suggestions and comments. with your help,
> there are much less error messages now.
>
> Enrico: Thank you. I tried to keep one or two of those Link options
>
>"-Vaxlib -static-libcxa -pthread", seems the problem is
>introduced by "-static-libcxa". once it is removed, no that errror messages.
>seems other options work fine with 64 bits.
>
>Michael: thanks. I replace the "-lmkl_lapack -lmkl-ia32" by "-lmkl_lapack64 -lmkl_em64t -lguide"
>seems they do work.
>
>/Gerhard: it's in Linux instead of windows. I don't know about those
>link options. but man ifort or man icc will provide some useful inforations.
>
>the compile options I am using now.
>
>O Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -DINTEL_VML -ip
> L Linker Flags: -L/opt/intel/mkl/lib/em64t -Vaxlib -pthread
> P Preprocessor flags '-DParallel'
> R R_LIB (LAPACK+BLAS):
> -lmkl_lapack64 -lmkl_em64t -lguide
>
>but still some error message shown (list below), anyone can help me out? Thanks ahead
>
>/
>
>
>
> SRC_reformat ...
> rm -f reformat.o
> icc -c reformat.c
> icc -o reformat reformat.o -lm
> IPO link: can not find "("
> icc: error: problem during multi-file optimization compilation (code 1)
> make: *** [reformat] Error 1
>
>
> SRC_reformat/compile.msg:icc: error: problem during multi-file
> optimization compilation (code 1)
> SRC_reformat/compile.msg:make: *** [reformat] Error 1
> SRC_sgroup/compile.msg:icc: error: problem during multi-file
> optimization compilation (code 1)
> SRC_sgroup/compile.msg:make: *** [sgroup] Error 1
>
>
>
>Hao
>
>
---------------------------------
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4409 bytes
Desc: not available
Url : http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20051215/701c240d/attachment.bin
More information about the Wien
mailing list