<div id="RTEContent">Thanks, Enrico. I tried to add a low case of "L" before -pthread as "-lpthread"<br> 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?<br> <br> <br> Hao<br> <br> <div class="MsoNormal">ifort -o ./filtvec filtvec.o main.o info.o<span style=""> </span>-L/opt/intel/mkl/lib/em64t -Vaxlib -lpthread -lmkl_lapack64 -lmkl_em64t -lguide<o:p></o:p></div> <div class="MsoNormal">/opt/intel/mkl/lib/em64t/libguide.so: undefined reference to `pthread_atfork'<o:p></o:p></div> <div class="MsoNormal">make[1]: *** [filtvec] Error 1<o:p></o:p></div> <div class="MsoNormal">make[1]: Leaving directory `/home/wien2k-05/SRC_filtvec'<o:p></o:p></div> <span style="font-size: 12pt; font-family: "Times New Roman";">make: *** [real] Error
2</span><br> <br> <pre>Have a look at the options in<br><a href="http://zeus.theochem.tuwien.ac.at/pipermail/wien/2005-November/006174.html">http://zeus.theochem.tuwien.ac.at/pipermail/wien/2005-November/006174.html</a><br><br>Also, -pthread will not work (needs an l in front)<br><br>Regards<br><br>Enrico<br><br><br>Hao Zhu wrote:<br><br>><i> Thank you all for your suggestions and comments. with your help, <br></i>><i> there are much less error messages now.<br></i>><i><br></i>><i> Enrico: Thank you. I tried to keep one or two of those Link options<br></i>><i><br></i>><i>"-Vaxlib -static-libcxa -pthread", seems the problem is <br></i>><i>introduced by "-static-libcxa". once it is removed, no that errror messages.<br></i>><i>seems other options work fine with 64 bits.<br></i>><i><br></i>><i>Michael: thanks. I replace the "-lmkl_lapack -lmkl-ia32" by "-lmkl_lapack64 -lmkl_em64t -lguide"<br></i>><i>seems they do
work.<br></i>><i><br></i>><i>/Gerhard: it's in Linux instead of windows. I don't know about those<br></i>><i>link options. but man ifort or man icc will provide some useful inforations.<br></i>><i><br></i>><i>the compile options I am using now.<br></i>><i><br></i>><i>O Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -DINTEL_VML -ip<br></i>><i> L Linker Flags: -L/opt/intel/mkl/lib/em64t -Vaxlib -pthread<br></i>><i> P Preprocessor flags '-DParallel'<br></i>><i> R R_LIB (LAPACK+BLAS): <br></i>><i> -lmkl_lapack64 -lmkl_em64t -lguide<br></i>><i><br></i>><i>but still some error message shown (list below), anyone can help me out? Thanks ahead<br></i>><i><br></i>><i>/<br></i>><i><br></i>><i> <br></i>><i><br></i>><i> SRC_reformat ...<br></i>><i> rm -f reformat.o<br></i>><i> icc -c reformat.c<br></i>><i> icc -o reformat reformat.o -lm<br></i>><i> IPO link: can no!
t find
"("<br></i>><i> icc: error: problem during multi-file optimization compilation (code 1)<br></i>><i> make: *** [reformat] Error 1<br></i>><i><br></i>><i><br></i>><i> SRC_reformat/compile.msg:icc: error: problem during multi-file <br></i>><i> optimization compilation (code 1)<br></i>><i> SRC_reformat/compile.msg:make: *** [reformat] Error 1<br></i>><i> SRC_sgroup/compile.msg:icc: error: problem during multi-file <br></i>><i> optimization compilation (code 1)<br></i>><i> SRC_sgroup/compile.msg:make: *** [sgroup] Error 1<br></i>><i><br></i>><i><br></i>><i><br></i>><i>Hao<br></i>><i> <br></i>></pre> </div><p>
        
                <hr size=1>Yahoo! Shopping<br>
Find Great Deals on Holiday Gifts at <a href="http://us.rd.yahoo.com/mail_us/footer/shopping/*http://shopping.yahoo.com/;_ylc=X3oDMTE2bzVzaHJtBF9TAzk1OTQ5NjM2BHNlYwNtYWlsdGFnBHNsawNob2xpZGF5LTA1
">Yahoo! Shopping</a>