[Wien] error during lapw1 compilation using gfortran (Ivas Toni)
Леон Авакян
laavakyan at sfedu.ru
Tue Jul 26 09:52:32 CEST 2011
Dear Dr. P. Blaha, Dr. K. Schwarz and Wien2k users,
Dear Ivas Toni,
thank you for reply, I ensured that pthread library was attached.
link command was:
gfortran -o {lots of *.o files} -ffree-form -O2 -L../SRC_lib
-lpthread -static
-llapack_lapw -lgoto -llapack_lapw
I think it is problem with BLAS goto library..
We downloaded intel compiler and MKL, and succesfully compiled the code.
So, to my shame, I give up with gfortran and libgoto.
Best regards,
Leon
> Dear Leon,
>
> This looks like you didn't attached the pthread library:
> Try adding -lpthread at end of the R_LIBS line in WIEN2k.
>
> Best regards,
> Toni
>
>> On Jul 14, 2011, at 12:40 PM, ???? ?????? wrote:
>> [Hide Quoted Text] Dear Dr. P. Blaha, Dr. K. Schwarz and Wien2k users,
>>
>>
>> I am running wien version 11 on 2.6.32-5-amd64 x86_64 GNU/Linux
>> (Debian >>Squeeze), fortran compiler gfortran and math libraries
>> libgoto2.
>>
>> I have a problem during compilation lapw1 code (full file is attached):
>>
>> [CODE]
>> ../SRC_lib/libgoto.a(memory.o): In function '_touch_memory':
>> memory.c:(.text+0x119): undefined reference to `pthread_mutex_lock'
>> memory.c:(.text+0x141): undefined reference to `pthread_mutex_unlock'
>> [/CODE]
>>
>> The libgoto.a library was compiled from sources
>> (http://cms.tacc.utexas.edu/>>tacc-projects/gotoblas2/downloads/)
>> and copied in WIEN2k\SRC_lib\
>>
>> Sincerely yours,
>> Dr. Avakyan Leon
>> Southern federal University
>> Physics faculty
>> Rostov-on-Don, Russia
More information about the Wien
mailing list