[CP2K:9158] Re: LIBXSMM (cp2kflags?)

Dominik 'Rathann' Mierzejewski rat... at gmail.com
Tue Jun 27 08:58:43 UTC 2017


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"



More information about the CP2K-user mailing list