[DFTB-Plus-User] DFTB+ compiling problem

Bálint Aradi balint.aradi at bccms.uni-bremen.de
Mon Oct 29 17:05:22 CET 2012


> I checked the line, and it's fine, there are no "linebreakes" and other
> mistakes or etc.
> Also I know that ifort at this machine is fine, because I compiled
> another programs using it, and there were no problems.
> 
> when I tried to use standartt make file with libraries like these
> 
> 
> LIB_BLAS = -Wl,--start-group \
>   $(MKL_LIBDIR)/libmkl_intel_lp64.a \
>   $(MKL_LIBDIR)/libmkl_intel_thread.a \
>   $(MKL_LIBDIR)/libmkl_core.a \
>   -Wl,--end-group \
>   -liomp5 -lpthread
> 
> I had similar error but with line 
> 
>  ld: cannot find -lpthread

 Then, you should try to pass explicitely the path to the linker:

  -Ldirectory_where_lpthread_can_be_found -lpthread

 to make sure it finds it.

  Best regards,

  Bálint


-- 
Dr. Bálint Aradi
Bremen Center for Computational Materials Science, University of Bremen
http://www.bccms.uni-bremen.de/cms/people/b_aradi/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://www.dftb-plus.info/pipermail/dftb-plus-user/attachments/20121029/d9e5fe6b/attachment-0001.pgp>


More information about the DFTB-Plus-User mailing list