[Wien] error during lapw1 compilation using gfortran

Ivas Toni toni.ivas at mat.ethz.ch
Thu Jul 14 13:22:02 CEST 2011


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:

> 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
> 
> <lapw1.error><lapw1.error>_______________________________________________
> 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