Ok you are not 'building blaslapack' - but using mkl [as per configure.log].
I'll have to check the issue. It might be something to do with using mkl as a static library.. Hong might have some suggestions wrt theta builds. Satish On Thu, 3 May 2018, Satish Balay wrote: > Perhaps you should use MKL on theta? Again check > config/examples/arch-cray-xc40-knl-opt.py > > Satish > > On Thu, 3 May 2018, Kong, Fande wrote: > > > Thanks, > > > > I get the PETSc complied, but theta does not like the shared lib, I think. > > > > I am switching back to a static lib. I ever successfully built and ran > > the PETSc with the static compiling. > > > > But I encountered a problem this time on building blaslapack. > > > > > > Thanks, > > > > Fande > > > > On Tue, May 1, 2018 at 2:22 PM, Satish Balay <ba...@mcs.anl.gov> wrote: > > > > > This is theta.. > > > > > > Try: using --LDFLAGS=-dynamic option > > > > > > [as listed in config/examples/arch-cray-xc40-knl-opt.py] > > > > > > Satish > > > > > > On Tue, 1 May 2018, Kong, Fande wrote: > > > > > > > Hi All, > > > > > > > > I can build a static petsc library on a supercomputer, but could not do > > > the > > > > same thing with " --with-shared-libraries=1". > > > > > > > > The log file is attached. > > > > > > > > > > > > Fande, > > > > > > > > > > > > > >