[Wien] Re: Need help for compiling WIEN2k-05 on Fedora 4.0 CPU EM64T

Hao Zhu danieldelist at yahoo.com
Thu Dec 15 15:50:07 CET 2005


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 --------------
An HTML attachment was scrubbed...
URL: http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20051215/48e3bcb7/attachment.html


More information about the Wien mailing list