<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">Alternatively you can use --with-blaslapack-dir=/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64 to let petsc pick the right libs for you.</div>
<div class=""><br class="">
</div>
<div class="">Hong (Mr.)<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On May 3, 2018, at 11:32 AM, Fande Kong <<a href="mailto:fdkong.jd@gmail.com" class="">fdkong.jd@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">--with-blaslapack-lib=-mkl -L' + os.environ['MKLROOT'] + '/lib/intel64<br class="">
<div class=""><br class="">
</div>
<div class="">works. </div>
<div class=""><br class="">
</div>
<div class="">Fande,</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Thu, May 3, 2018 at 10:09 AM, Satish Balay <span dir="ltr" class="">
<<a href="mailto:balay@mcs.anl.gov" target="_blank" class="">balay@mcs.anl.gov</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok you are not 'building blaslapack' - but using mkl [as per configure.log].<br class="">
<br class="">
I'll have to check the issue. It might be something to do with using<br class="">
mkl as a static library..<br class="">
<br class="">
Hong might have some suggestions wrt theta builds.<br class="">
<span class="HOEnZb"><font color="#888888" class=""><br class="">
Satish<br class="">
</font></span>
<div class="HOEnZb">
<div class="h5"><br class="">
On Thu, 3 May 2018, Satish Balay wrote:<br class="">
<br class="">
> Perhaps you should use MKL on theta? Again check config/examples/arch-cray-<wbr class="">xc40-knl-opt.py<br class="">
> <br class="">
> Satish<br class="">
> <br class="">
> On Thu, 3 May 2018, Kong, Fande wrote:<br class="">
> <br class="">
> > Thanks,<br class="">
> > <br class="">
> > I get the PETSc complied, but theta does not like the shared lib, I think.<br class="">
> > <br class="">
> > I am switching back to a static lib.   I ever successfully built and ran<br class="">
> > the PETSc with the static compiling.<br class="">
> > <br class="">
> > But I encountered a problem this time on building blaslapack.<br class="">
> > <br class="">
> > <br class="">
> > Thanks,<br class="">
> > <br class="">
> > Fande<br class="">
> > <br class="">
> > On Tue, May 1, 2018 at 2:22 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov" class="">balay@mcs.anl.gov</a>> wrote:<br class="">
> > <br class="">
> > > This is theta..<br class="">
> > ><br class="">
> > > Try: using --LDFLAGS=-dynamic option<br class="">
> > ><br class="">
> > > [as listed in config/examples/arch-cray-<wbr class="">xc40-knl-opt.py]<br class="">
> > ><br class="">
> > > Satish<br class="">
> > ><br class="">
> > > On Tue, 1 May 2018, Kong, Fande wrote:<br class="">
> > ><br class="">
> > > > Hi All,<br class="">
> > > ><br class="">
> > > > I can build a static petsc library on a supercomputer, but could not do<br class="">
> > > the<br class="">
> > > > same thing with " --with-shared-libraries=1".<br class="">
> > > ><br class="">
> > > > The log file is attached.<br class="">
> > > ><br class="">
> > > ><br class="">
> > > > Fande,<br class="">
> > > ><br class="">
> > ><br class="">
> > ><br class="">
> > <br class="">
> <br class="">
> <br class="">
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>