[Pw_forum] compile error for ESPRESSO

Mahmoud Payami mpayami at aeoi.org.ir
Wed Sep 29 17:16:34 CEST 2004


Dear Developers,

I am trying to install ESPRESSO. Although I have setup mpi, running the "configure" script gives the message: no parallel environment but, using "make target" it uses
mpif77 or mpif90. Secondly, with ifc7.1+mkl61 I compiled everything except the last one which gives:

------------------
mpif90 -o band_plot.x band_plot.o -Vaxlib -static ../flib/ptools.a ../flib/flib.a ../clib/clib.a -lfftw -L/usr/local/intel/mkl61/lib/32 -lmkl_lapack -lmkl_ia32 -lguide -lpthread 
/usr/local/intel/compiler70/ia32/lib/libIEPCF90.a(fstop.o)(.text+0xb8): In function `libi_exit':
: undefined reference to `pthread_self'
/usr/local/intel/compiler70/ia32/lib/libIEPCF90.a(fstop.o)(.text+0xc4): In function `libi_exit':
: undefined reference to `pthread_equal'
/usr/local/intel/compiler70/ia32/lib/libIEPCF90.a(threadsafe.o)(.text+0x23): In function `f_claim_mutex':
: undefined reference to `pthread_mutex_lock'
/usr/local/intel/compiler70/ia32/lib/libIEPCF90.a(threadsafe.o)(.text+0x33): In function `f_exitthread':
: undefined reference to `pthread_exit'
/usr/local/intel/compiler70/ia32/lib/libIEPCF90.a(threadsafe.o)(.text+0x53): In function `f_release_mutex':
: undefined reference to `pthread_mutex_unlock'
/usr/local/intel/compiler70/ia32/lib/libIEPCF90.a(f90init.o)(.text+0x1b): In function `f90_init':
: undefined reference to `pthread_self'
/usr/local/intel/compiler70/ia32/lib/libcxa.a(exception.o)(.text+0x9b): In function `std::set_unexpected(void (*)())':
: undefined reference to `pthread_mutex_lock'
/usr/local/intel/compiler70/ia32/lib/libcxa.a(exception.o)(.text+0xb3): In function `std::set_unexpected(void (*)())':
: undefined reference to `pthread_mutex_unlock'
/usr/local/intel/compiler70/ia32/lib/libcxa.a(exception.o)(.text+0x125): In function `std::set_terminate(void (*)())':
: undefined reference to `pthread_mutex_lock'
/usr/local/intel/compiler70/ia32/lib/libcxa.a(exception.o)(.text+0x13d): In function `std::set_terminate(void (*)())':
: undefined reference to `pthread_mutex_unlock'
/usr/local/intel/compiler70/ia32/lib/libcxa.a(newhandler.o)(.text+0xd): In function `std::set_new_handler(void (*)())':
: undefined reference to `pthread_mutex_lock'
/usr/local/intel/compiler70/ia32/lib/libcxa.a(newhandler.o)(.text+0x25): In function `std::set_new_handler(void (*)())':
: undefined reference to `pthread_mutex_unlock'
/usr/local/intel/compiler70/ia32/lib/libunwind.a(ptn_ix86.o)(.text+0x2f): In function `_eh_get_lock':
: undefined reference to `pthread_mutex_lock'
/usr/local/intel/compiler70/ia32/lib/libunwind.a(ptn_ix86.o)(.text+0x42): In function `.B1.2':
: undefined reference to `pthread_mutex_lock'
/usr/local/intel/compiler70/ia32/lib/libunwind.a(ptn_ix86.o)(.text+0x63): In function `_eh_release_lock':
: undefined reference to `pthread_mutex_unlock'
/usr/local/intel/compiler70/ia32/lib/libunwind.a(ptn_ix86.o)(.text+0x76): In function `.B2.2':
: undefined reference to `pthread_mutex_unlock'
make[1]: *** [band_plot.x] Error 1
make: *** [tools] Error 2
----------------------------
I have experienced that the above messages do not appear when ifort+mkl70 is used.
How can I set the conditions for getting rid of the above message using ifc7.1+mkl61?
Any suggestion is highly appreciated.

Best regards,

Mahmoud Payami

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20040929/9e0f51e9/attachment.html>


More information about the users mailing list