<div dir="ltr"><div><div>Upper/lower case errors appears to be for variables defined as "parameter". I tried changing the cases to be consistent in utility.F90 and that makes the compilation errors go away. But again I cannot reproduce the same error in a simple test program. <br>
</div>The exact version of PFLOTRAN builds fine with GCC and PGI compilers on other machines. I am continuing to look into this.<br><br></div>Jitu<br> <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 29, 2013 at 3:25 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>>>>>><br>
mpixlf2003_r -qnosave -c  -O3 -qarch=450d -qtune=450 -qmaxmem=-1   -I/gpfs/home/jkumar/lib/petsc-hg/include -I/gpfs/home/jkumar/lib/petsc-hg/arch-bgp-ibm-opt/i\<br>
nclude -I/soft/apps/current/hdf5-1.8.9/include -I/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/default/include -I/bgsys/drivers/V1R4M2_200_2010-100508P/ppc/c\<br>
omm/sys/include   -I. -DMUALEM_SPLINE -DICE -o utility.o utility.F90<br>
bgxlf2003_r: 1501-214 (W) command option M reserved for future use - ignored<br>
"utility.F90", line 61.14: 1516-036 (S) Entity M1 has undefined type.<br>
"utility.F90", line 62.14: 1516-036 (S) Entity IA1 has undefined type.<br>
"utility.F90", line 63.14: 1516-036 (S) Entity IC1 has undefined type.<br>
"utility.F90", line 65.14: 1516-036 (S) Entity M2 has undefined type.<br>
"utility.F90", line 66.14: 1516-036 (S) Entity IA2 has undefined type.<br>
"utility.F90", line 67.14: 1516-036 (S) Entity IC2 has undefined type.<br>
"utility.F90", line 69.14: 1516-036 (S) Entity M3 has undefined type.<br>
"utility.F90", line 70.14: 1516-036 (S) Entity IA3 has undefined type.<br>
"utility.F90", line 71.14: 1516-036 (S) Entity IC3 has undefined type.<br>
"utility.F90", 1520-031 (W) Option DLINES is ignored within Fortran 90 free form and IBM free form.<br>
** Utility_module   === End of Compilation 1 ===<br>
1501-511  Compilation failed for file utility.F90.<br>
<div class="im"><<<<<<<br>
<br>
On Mon, 29 Jul 2013, Jitendra Kumar wrote:<br>
<br>
> Satish,<br>
> By building my own zlib library specifying it through LIBS flag to PETSc<br>
> configure, I was able to compile PETSC-Dev with HDF5 support on Intrepid.<br>
> However, I ran into errors while building my application and it looks like<br>
> the XLF Fortran is using case sensitive settings and is failing due to<br>
> mixed uppercase/lowercase variable names in the code.<br>
<br>
</div>Are you sure this is the problem? I can't reporduce it with a simple code..<br>
<br>
<br>
Satish<br>
<br>
--------<br>
[balay@vestalac1 junk]$ cat foo.F<br>
       program main<br>
       implicit none<br>
       integer i<br>
       I=5<br>
       write(*,*) I<br>
       end<br>
[balay@vestalac1 junk]$ mpixlf2003_r  foo.F<br>
** main   === End of Compilation 1 ===<br>
1501-510  Compilation successful for file foo.F.<br>
[balay@vestalac1 junk]$ ./a.out<br>
 5<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
><br>
> I have followed the<br>
> /soft/apps/libraries/petsc/3.3-p6/xl-opt/conf/reconfigure-arch-bgp-ibm-opt.py<br>
> and am not sure if there's something included or missing in the<br>
> configuration causing this. I believe default is for XLF to not to be case<br>
> sensitive, but I am not sure what do I have that's making it otherwise.<br>
><br>
> I would appreciate if you can point me to anything I may be missing in my<br>
> configuration file. Attached are petsc configuration file and log of my<br>
> application compilation errors.<br>
><br>
> Thanks,<br>
> Jitu<br>
><br>
><br>
><br>
> On Tue, Jul 16, 2013 at 12:59 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
><br>
> > --download-package might not work on all machines. --download-hdf5=1 does<br>
> > not work on bg/p<br>
> ><br>
> > However there is hdf5 installed on it. You can try using<br>
> > --with-hdf5-include/--with-hdf5-lib options.<br>
> ><br>
> > There could still be an issue with "Compression library [libz.a or<br>
> > equivalent] not found" but I think the workarround is already in<br>
> > petsc-dev.<br>
> ><br>
> > Satish<br>
> ><br>
> ><br>
> ><br>
> > On Tue, 16 Jul 2013, Jitendra Kumar wrote:<br>
> ><br>
> > > Thanks Satish. I tried using the configuration you pointed me to with the<br>
> > > addition of --download-hdf5=1 and got error "Compression library [libz.a<br>
> > or<br>
> > > equivalent] not found<br>
> > > "<br>
> > ><br>
> > > Do I need to load some package to get this?<br>
> > ><br>
> > > Jitu<br>
> > ><br>
> > ><br>
> > > On Tue, Jul 16, 2013 at 11:59 AM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>><br>
> > wrote:<br>
> > ><br>
> > > > As the message indicates you need '--with-batch' option on this machine<br>
> > > ><br>
> > > > Check one of the default builds on intrepid for configure options to<br>
> > use..<br>
> > > ><br>
> > > > [perhaps<br>
> > > ><br>
> > /soft/apps/libraries/petsc/3.3-p6/xl-opt/conf/reconfigure-arch-bgp-ibm-opt.py]<br>
> > > ><br>
> > > > Satish<br>
> > > ><br>
> > > > On Tue, 16 Jul 2013, Jitendra Kumar wrote:<br>
> > > ><br>
> > > > > I ran into following errors while trying to build PETSc-dev on<br>
> > Intrepid<br>
> > > > > @ALCF.  (configure.log attached)<br>
> > > > ><br>
> > > > ><br>
> > > ><br>
> > *******************************************************************************<br>
> > > > >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see<br>
> > configure.log for<br>
> > > > > details):<br>
> > > > ><br>
> > > ><br>
> > -------------------------------------------------------------------------------<br>
> > > > > Cannot run executable to determine size of char. If this machine<br>
> > uses a<br>
> > > > > batch system<br>
> > > > > to submit jobs you will need to configure using ./configure with the<br>
> > > > > additional option  --with-batch.<br>
> > > > >  Otherwise there is problem with the compilers. Can you compile and<br>
> > run<br>
> > > > > code with your C/C++ (and maybe Fortran) compilers?<br>
> > > > ><br>
> > > ><br>
> > *******************************************************************************<br>
> > > > >   File "/gpfs/home/jkumar/lib/petsc/config/configure.py", line 293,<br>
> > in<br>
> > > > > petsc_configure<br>
> > > > >     framework.configure(out = sys.stdout)<br>
> > > > >   File<br>
> > > > > "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/framework.py",<br>
> > > > line<br>
> > > > > 933, in configure<br>
> > > > >     child.configure()<br>
> > > > >   File<br>
> > "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/types.py",<br>
> > > > > line 386, in configure<br>
> > > > >     map(lambda type: self.executeTest(self.checkSizeof, type),<br>
> > > > > ['char','void *', 'short', 'int', 'long', 'long long', 'float',<br>
> > 'double',<br>
> > > > > 'size_t'])<br>
> > > > >   File<br>
> > "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/types.py",<br>
> > > > > line 386, in <lambda><br>
> > > > >     map(lambda type: self.executeTest(self.checkSizeof, type),<br>
> > > > > ['char','void *', 'short', 'int', 'long', 'long long', 'float',<br>
> > 'double',<br>
> > > > > 'size_t'])<br>
> > > > >   File<br>
> > "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/base.py",<br>
> > > > > line 115, in executeTest<br>
> > > > >     ret = apply(test, args,kargs)<br>
> > > > >   File<br>
> > "/gpfs/home/jkumar/lib/petsc/config/BuildSystem/config/types.py",<br>
> > > > > line 296, in checkSizeof<br>
> > > > >     raise RuntimeError(msg)<br>
> > > > ><br>
> > > > > This is what my configuration looks like (adapted from<br>
> > > > > config/examples/arch-bgp-ibm-opt.py)<br>
> > > > > configure_options = [<br>
> > > > >   '--with-cc=mpixlc',<br>
> > > > >   '--with-fc=mpixlf90',<br>
> > > > >   '--with-cxx=mpixlcxx',<br>
> > > > >   'COPTFLAGS=-O3',<br>
> > > > >   'FOPTFLAGS=-O3',<br>
> > > > >   '--with-debugging=0',<br>
> > > > >   '--with-cmake=/soft/apps/fen/cmake-2.8.3/bin/cmake',<br>
> > > > > #  '--with-hdf5=/soft/apps/hdf5-1.8.0',<br>
> > > > >   '--download-parmetis=1',<br>
> > > > >   '--download-metis=1',<br>
> > > > >   '--download-plapack=1',<br>
> > > > >   '--download-hdf5=1'<br>
> > > > >   ]<br>
> > > > ><br>
> > > > > I would appreciate any help building the llbrary there.<br>
> > > > ><br>
> > > > > Thanks,<br>
> > > > > Jitu<br>
> > > > ><br>
> > > ><br>
> > > ><br>
> > ><br>
> ><br>
> ><br>
><br>
<br>
</div></div></blockquote></div><br></div>