[Wien] Compiling on an Intel system with SUSE 9.3 x64 Linux
Peter Blaha
pblaha at theochem.tuwien.ac.at
Tue Jan 16 13:58:05 CET 2007
Add -pthread to your options (not just -lpthread).
?????? ???????? schrieb:
> Dear Wien users,
>
> I'm trying to run wien2k on my computer. But while I'm compiling a set of messages lake this appears :
>
>
> fort -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -c afminput.f
> ifort -o ./afminput afminput.o -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -L/opt/intel/mkl/9.0/lib/em64t -lguide -lpthread -L/lib64
> /opt/intel/mkl/9.0/lib/em64t/libguide.so: undefined reference to `pthread_atfork'
> make: *** [afminput] Error 1
>
> Could you help me to cope with it, please.
>
> I've got :
>
> INtel Core2 Duo Processor
>
> Operation System SUSE 9.3 x64
>
> Compilator Intel Version 9.1.036
>
> Mkl 9.0
>
>
> When running siteconfig I choose
> Current system is: linuxif8
> Current (compiler) selection: ifort
> Current (cc compiler) selection: cc
> libraries
> Current settings:
> O Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML
> L Linker Flags: $(FOPT) -L/opt/intel/mkl/9.0/lib/em64t -lguide -lpthread -L/lib64
> P Preprocessor flags '-DParallel'
> R R_LIB (LAPACK+BLAS): -lmkl_lapack64 -lmkl_em64t
>
> Regards,
> Marina
>
> Dr Marina Shelyapina
> V.A. Fock Institute of Physics
> St-Petersburg State University
> marinashelyapima at mail.ru
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
--
P.Blaha
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-15671 FAX: +43-1-58801-15698
Email: blaha at theochem.tuwien.ac.at WWW:
http://info.tuwien.ac.at/theochem/
--------------------------------------------------------------------------
More information about the Wien
mailing list