[Wien] Compiling for Athlon x2

Peter Blaha pblaha at theochem.tuwien.ac.at
Wed Apr 25 21:08:52 CEST 2007


Try adding   -pthread   (in additon to -lpthread) to the linker-flags

Pablo de la Mora schrieb:
> Laurence,
>     I tried, but I don't seem to find an answer in connection to the 
> WIEN program.
>     Thanks
>           Pablo
> 
> Laurence Marks escribió:
>> Google it
>> http://www.google.com/search?q=referencia+a+%60pthread%5Fatfork%27+sin+definir&hl=en&sourceid=gd&rls=DJUS,DJUS:2006-22,DJUS:en
>>
>> On 4/25/07, Pablo de la Mora <delamora at servidor.unam.mx> wrote:
>>   
>>> Dear Wien Users,
>>>     I am compiling the WIEN2k code compiling for an Athlon x2 with the
>>> ifort 9.1.045 and mkl 9.0.018
>>> the compiling options are:
>>>      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
>>> -lpthread
>>>      P   Preprocessor flags       '-DParallel'
>>>      R   R_LIB (LAPACK+BLAS):     -lmkl_lapack64 -lmkl_em64t -lguide
>>> and I get
>>> SRC_aim/compile.msg:/opt/intel/mkl/9.0/lib/em64t/libguide.so: referencia
>>> a `pthread_atfork' sin definir
>>> in other words; undefined reference to `pthread_atfork'
>>>     This reference appears in:
>>>         aim, filtvec, lapw1, lapw2, lapw7, lapwdm, lapwso, min,
>>> pairhess, qtl and structeditor
>>> as a consequence this gives an error and these programs are not compiled.
>>>
>>>     Does anyone have any suggestions.
>>>
>>>        Thanks
>>>
>>>              Pablo
>>> _______________________________________________
>>> Wien mailing list
>>> Wien at zeus.theochem.tuwien.ac.at
>>> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>>>
>>>     
>>
>>   
> 
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien


More information about the Wien mailing list