[CP2K:9158] Re: LIBXSMM (cp2kflags?)
Nico Holmberg
holmbe... at gmail.com
Tue Jun 27 13:05:08 UTC 2017
Hi,
-lxsmmext is for the optional OpenMP support
Not sure about -lxsmmgen. The flag was copied from an installation template
used by my HPC center. I built some static kernels for specific matrix
sizes when I installed libxsmm. Maybe the libxsmmgen library is related to
them, but you'd have to ask the maintainers of libxsmm to be sure.
BR,
Nico
tiistai 27. kesäkuuta 2017 15.25.51 UTC+3 Dominik Mierzejewski kirjoitti:
>
> Hello,
>
> On Monday, 26 June 2017 at 07:27, Nico Holmberg wrote:
> > Hi,
> >
> > You seem to be missing the library flags for LIBXSMM. I have set the
> > following flags (gfortran)
> >
> > LIBXSMM_LIB=/homeappl/home/nholmber/appl_sisu/lib/libxsmm-1.7.1/lib
> > LIBXSMM_INC=/homeappl/home/nholmber/appl_sisu/lib/libxsmm-1.7.1/include
> >
> > DFLAGS += -D__LIBXSMM
> > FCFLAGS += -I$(LIBXSMM_INC)
> > LDFLAGS = $(FCFLAGS)
> > LIBS += -L$(LIBXSMM_LIB) -lxsmm -lxsmmext -lxsmmgen -lxsmmf
>
> Out of curiosity, why are you adding -lxsmmext and -lxsmmgen? They don't
> seem to be required by libxsmm or libxsmmf.
>
> Regards,
> Dominik
>
> --
> Fedora http://fedoraproject.org/wiki/User:Rathann
> RPMFusion http://rpmfusion.org
> "Faith manages."
> -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20170627/87aaa313/attachment.htm>
More information about the CP2K-user
mailing list