[CP2K:4688] ld: cannot find -lsmm_dnn

Iain Bethune ibet... at epcc.ed.ac.uk
Fri Oct 11 08:20:10 CEST 2013


Hi,

Libsmm is a library of optimised small dgemm kernels which can give the code quite a speedup, especially for calculations dominated by DBCSR, where the block sizes are small (light atoms / small basis sets).  You can build it for your machine by following the instructions in cp2k/tools/build_libsmm.  Otherwise you can just remove it from the LIBS variable.  Note that if you link the library you should also add -D__HAS_smm_dnn (or remove it if not) to DFLAGS.  Since you've already got to the link stage, if you want to build without the library you'll need to edit the DFLAGS and do a clean build.

Cheers

- Iain

--

Iain Bethune
Project Manager, EPCC

Email: ibet... at epcc.ed.ac.uk
Twitter: @IainBethune
Web: http://www2.epcc.ed.ac.uk/~ibethune
Tel/Fax: +44 (0)131 650 5201/6555
Mob: +44 (0)7598317015
Addr: 2404 JCMB, The King's Buildings, Mayfield Road, Edinburgh, EH9 3JZ








On 11 Oct 2013, at 00:30, Calvin47 wrote:

> I am trying to compile with gfortran on x86_64 popt but in the last second it colapse with this message;
> ld: cannot find -lsmm_dnn
> 
> This line on ARCH seems to cause the error1
> LIBS     = -lsmm_dnn -lderiv 
> 
> -- 
> You received this message because you are subscribed to the Google Groups "cp2k" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+uns... at googlegroups.com.
> To post to this group, send email to cp... at googlegroups.com.
> Visit this group at http://groups.google.com/group/cp2k.
> For more options, visit https://groups.google.com/groups/opt_out.


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.




More information about the CP2K-user mailing list