<div dir="ltr">Here is a makefile that seems to work on Stampede:<div><br></div><div><p style="margin:0px;font-size:18px;font-family:Menlo">INTEL13_FFTW3_LIB = /opt/apps/intel13/impi_4_1/fftw3/3.3.2/lib</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">INTEL13_FFTW3_INC = /opt/apps/intel13/impi_4_1/fftw3/3.3.2/include</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">LIBINT_LIB = $(HOME)/libint/lib</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">LIBXC_LIB = $(HOME)/libxc2/lib</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">TACC_MKL_LIB = /opt/apps/intel/13/composer_xe_2013.2.146/mkl/lib/intel64</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">TACC_MKL_INC = /opt/apps/intel/13/composer_xe_2013.2.146/mkl/include</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;min-height:21px"><br></p>
<p style="margin:0px;font-size:18px;font-family:Menlo">CC       = mpicc</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">CPP      =</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">FC       = mpif90</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">LD       = mpif90</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">AR       = ar -r</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">DFLAGS   = -D__LIBXC2 -D__LIBINT -D__INTEL -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK -D__FFTW3</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">CPPFLAGS =</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">FCFLAGS  = $(DFLAGS) -I$(TACC_MKL_INC) -I$(INTEL13_FFTW3_INC) -O2 -xHost -heap-arrays 64 -fpp -free</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">FCFLAGS2 = $(DFLAGS) -I$(TACC_MKL_INC) -I$(INTEL13_FFTW3_INC) -O1 -xHost -heap-arrays 64 -fpp -free</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">LDFLAGS  = $(FCFLAGS)</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">LIBS     = $(LIBXC_LIB)/libxc.a $(LIBINT_LIB)/libderiv.a $(LIBINT_LIB)/libint.a -lstdc++ $(TACC_MKL_LIB)/libmkl_scalapack_lp64.a  -Wl,--start-group  $(TACC_MKL_LIB)/libmkl_intel_lp64.a $(TACC_MKL_LIB)/libmkl_sequential.a $(TACC_MKL_LIB)/libmkl_core.a $(TACC_MKL_LIB)/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm -L$(INTEL13_FFTW3_LIB) -lfftw3</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;min-height:21px"><br></p>
<p style="margin:0px;font-size:18px;font-family:Menlo">OBJECTS_ARCHITECTURE = machine_intel.o</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;min-height:21px"><br></p>
<p style="margin:0px;font-size:18px;font-family:Menlo;min-height:21px"><br></p>
<p style="margin:0px;font-size:18px;font-family:Menlo">graphcon.o: graphcon.F</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">        $(FC) -c $(FCFLAGS2) $<</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;min-height:21px"><br></p>
<p style="margin:0px;font-size:18px;font-family:Menlo">et_coupling.o: et_coupling.F</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">        $(FC) -c $(FCFLAGS2) $<</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;min-height:21px"><br></p>
<p style="margin:0px;font-size:18px;font-family:Menlo">qs_vxc_atom.o: qs_vxc_atom.F</p>
<p style="margin:0px;font-size:18px;font-family:Menlo">        $(FC) -c $(FCFLAGS2) $<</p><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 9, 2014 at 4:18 PM, Ondrej Marsalek <span dir="ltr"><<a href="mailto:ondrej....@gmail.com" target="_blank">ondrej....@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Dear CP2K users,<br>
<br>
I would like to use CP2K on the Stampede Supercomputer. I don't see it<br>
in the list of official modules, but perhaps somebody has a private<br>
build. If so, would you be willing to share build settings and the<br>
modules that you have used?<br>
<br>
Thank you,<br>
Ondrej<br>
<span class=""><font color="#888888"><br>
--<br>
You received this message because you are subscribed to the Google Groups "cp2k" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k%2Bun...@googlegroups.com">cp2k+uns...@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="http://groups.google.com/group/cp2k" target="_blank">http://groups.google.com/group/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</font></span></blockquote></div><br></div></div></div>