[petsc-users] Fwd: PETSc installation on Intrepid
Jitendra Kumar
jitendra.ornl at gmail.com
Mon Jul 29 13:59:06 CDT 2013
Satish,
By building my own zlib library specifying it through LIBS flag to PETSc
configure, I was able to compile PETSC-Dev with HDF5 support on Intrepid.
However, I ran into errors while building my application and it looks like
the XLF Fortran is using case sensitive settings and is failing due to
mixed uppercase/lowercase variable names in the code.
I have followed the
/soft/apps/libraries/petsc/3.3-p6/xl-opt/conf/reconfigure-arch-bgp-ibm-opt.py
and am not sure if there's something included or missing in the
configuration causing this. I believe default is for XLF to not to be case
sensitive, but I am not sure what do I have that's making it otherwise.
I would appreciate if you can point me to anything I may be missing in my
configuration file. Attached are petsc configuration file and log of my
application compilation errors.
Thanks,
Jitu
On Tue, Jul 16, 2013 at 12:59 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> --download-package might not work on all machines. --download-hdf5=1 does
> not work on bg/p
>
> However there is hdf5 installed on it. You can try using
> --with-hdf5-include/--with-hdf5-lib options.
>
> There could still be an issue with "Compression library [libz.a or
> equivalent] not found" but I think the workarround is already in
> petsc-dev.
>
> Satish
>
>
>
> On Tue, 16 Jul 2013, Jitendra Kumar wrote:
>
> > Thanks Satish. I tried using the configuration you pointed me to with the
> > addition of --download-hdf5=1 and got error "Compression library [libz.a
> or
> > equivalent] not found
> > "
> >
> > Do I need to load some package to get this?
> >
> > Jitu
> >
> >
> > On Tue, Jul 16, 2013 at 11:59 AM, Satish Balay <balay at mcs.anl.gov>
> wrote:
> >
> > > As the message indicates you need '--with-batch' option on this machine
> > >
> > > Check one of the default builds on intrepid for configure options to
> use..
> > >
> > > [perhaps
> > >
> /soft/apps/libraries/petsc/3.3-p6/xl-opt/conf/reconfigure-arch-bgp-ibm-opt.py]
> > >
> > > Satish
> > >
> > > On Tue, 16 Jul 2013, Jitendra Kumar wrote:
> > >
> > > > I ran into following errors while trying to build PETSc-dev on
> Intrepid
> > > > @ALCF. (configure.log attached)
> > > >
> > > >
> > >
> *******************************************************************************
> > > > UNABLE to CONFIGURE with GIVEN OPTIONS (see
> configure.log for
> > > > details):
> > > >
> > >
> -------------------------------------------------------------------------------
> > > > Cannot run executable to determine size of char. If this machine
> uses a
> > > > batch system
> > > > to submit jobs you will need to configure using ./configure with the
> > > > additional option --with-batch.
> > > > Otherwise there is problem with the compilers. Can you compile and
> run
> > > > code with your C/C++ (and maybe Fortran) compilers?
> > > >
> > >
> *******************************************************************************
> > > > File "/gpfs/home/jkumar/lib/petsc/config/configure.py", line 293,
> in
> > > > petsc_configure
> > > > framework.configure(out = sys.stdout)
> > > > File
> > > > "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/framework.py",
> > > line
> > > > 933, in configure
> > > > child.configure()
> > > > File
> "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/types.py",
> > > > line 386, in configure
> > > > map(lambda type: self.executeTest(self.checkSizeof, type),
> > > > ['char','void *', 'short', 'int', 'long', 'long long', 'float',
> 'double',
> > > > 'size_t'])
> > > > File
> "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/types.py",
> > > > line 386, in <lambda>
> > > > map(lambda type: self.executeTest(self.checkSizeof, type),
> > > > ['char','void *', 'short', 'int', 'long', 'long long', 'float',
> 'double',
> > > > 'size_t'])
> > > > File
> "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/base.py",
> > > > line 115, in executeTest
> > > > ret = apply(test, args,kargs)
> > > > File
> "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/types.py",
> > > > line 296, in checkSizeof
> > > > raise RuntimeError(msg)
> > > >
> > > > This is what my configuration looks like (adapted from
> > > > config/examples/arch-bgp-ibm-opt.py)
> > > > configure_options = [
> > > > '--with-cc=mpixlc',
> > > > '--with-fc=mpixlf90',
> > > > '--with-cxx=mpixlcxx',
> > > > 'COPTFLAGS=-O3',
> > > > 'FOPTFLAGS=-O3',
> > > > '--with-debugging=0',
> > > > '--with-cmake=/soft/apps/fen/cmake-2.8.3/bin/cmake',
> > > > # '--with-hdf5=/soft/apps/hdf5-1.8.0',
> > > > '--download-parmetis=1',
> > > > '--download-metis=1',
> > > > '--download-plapack=1',
> > > > '--download-hdf5=1'
> > > > ]
> > > >
> > > > I would appreciate any help building the llbrary there.
> > > >
> > > > Thanks,
> > > > Jitu
> > > >
> > >
> > >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130729/04d3cfa9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pflotran_make.log
Type: application/octet-stream
Size: 138142 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130729/04d3cfa9/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intrepid_bgp_fast.py
Type: application/octet-stream
Size: 2776 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130729/04d3cfa9/attachment-0003.obj>
More information about the petsc-users
mailing list