<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 12, 2014 at 11:41 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">You appear to use:<br>
PETSC_DIR=/gpfs/vesta-fs0/projects/FASTMath/ATPESC-2014/install/petsc/<a href="http://3.5.1.1/linux-rhel_6-ppc64-gcc-4.4.6/" target="_blank">3.5.1.1/linux-rhel_6-ppc64-gcc-4.4.6/</a><br>
<br>
This is built with gnu compilers - and can't be used from xl compilers.<br>
[i.e use it with +mpiwrapper-gcc]<br></blockquote><div>Yes, with +mpiwrapper-gcc, the codes can be compiled successfully.</div><div>Thanks.<br></div><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">
<span class=""><font color="#888888"><br>
Satish<br>
</font></span><div class=""><div class="h5"><br>
On Tue, 12 Aug 2014, Danyang Su wrote:<br>
<br>
> Hi Satish,<br>
><br>
> The log file is attached.<br>
><br>
> There are errors like below:<br>
><br>
> "../../min3p/welcome_pc.F90", line 151.16: 1516-036 (S) Entity iargc has<br>
> undefined type.<br>
> "../../min3p/welcome_pc.F90", 1520-031 (W) Option DLINES is ignored within<br>
> Fortran 90 free form and IBM free form.<br>
> ** welcome === End of Compilation 1 ===<br>
><br>
> I use preprocessor definition so as to exclude these non-standard fortran<br>
> calling like iargc.<br>
><br>
> Thanks,<br>
><br>
> Danyang<br>
><br>
><br>
> On Tue, Aug 12, 2014 at 11:11 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
><br>
> > On Tue, 12 Aug 2014, Danyang Su wrote:<br>
> ><br>
> > > On Tue, Aug 12, 2014 at 10:46 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>><br>
> > wrote:<br>
> ><br>
> > > > I don't understand. Doesn't the following work? What compile commands<br>
> > does<br>
> > > > make invoke with it?<br>
> > > ><br>
> > > Yes, the following doesn't work. I just use "make example &> log.txt" to<br>
> > > compile it. From the log file, it shows that the FPP FLAGS are not<br>
> > > recongised.<br>
> > > The machine is Vesta and I have add +mpiwrapper-xl to .soft file and<br>
> > > resoft it.<br>
> ><br>
> > I wanted to see the contents of log.text. Anyway - here is how it<br>
> > works on vesta..<br>
> ><br>
> > Satish<br>
> ><br>
> > -----------<br>
> ><br>
> > [balay@vestalac1 test]$ ls<br>
> > ex1f.F makefile<br>
> > [balay@vestalac1 test]$ cat makefile<br>
> > CFLAGS =<br>
> > FFLAGS =<br>
> > CPPFLAGS =<br>
> > FPPFLAGS = -WF,-DDUMMY_FLAG<br>
> > CLEANFILES =<br>
> ><br>
> > include ${PETSC_DIR}/conf/variables<br>
> > include ${PETSC_DIR}/conf/rules<br>
> ><br>
> > ex1f: ex1f.o chkopts<br>
> > -${FLINKER} -o ex1f ex1f.o ${PETSC_KSP_LIB}<br>
> > ${RM} ex1f.o<br>
> ><br>
> > [balay@vestalac1 test]$ make ex1f<br>
> > mpixlf77_r -qnosave -c -O3 -qhot=level=0 -qsimd=auto -qmaxmem=-1 -qstrict<br>
> > -qstrict_induction -I/soft/libraries/petsc/3.4.4/xl-opt/include<br>
> > -I/soft/libraries/petsc/3.4.4/xl-opt/include -WF,-DDUMMY_FLAG -o ex1f.o<br>
> > ex1f.F<br>
> > ** main === End of Compilation 1 ===<br>
> > 1501-510 Compilation successful for file ex1f.F.<br>
> > mpixlf77_r -qnosave -O3 -qhot=level=0 -qsimd=auto -qmaxmem=-1 -qstrict<br>
> > -qstrict_induction -o ex1f ex1f.o<br>
> > -L/soft/libraries/petsc/3.4.4/xl-opt/lib -lpetsc<br>
> > -Wl,-rpath,/soft/libraries/petsc/3.4.4/xl-opt/lib -lcmumps -ldmumps<br>
> > -lsmumps -lzmumps -lmumps_common -lpord<br>
> > -Wl,-rpath,/soft/libraries/alcf/current/xl/SCALAPACK/lib<br>
> > -L/soft/libraries/alcf/current/xl/SCALAPACK/lib -lscalapack -lsuperlu_4.3<br>
> > -lsuperlu_dist_3.3 -lHYPRE -lspai -lumfpack -lamd<br>
> > -L/soft/libraries/alcf/current/xl/LAPACK/lib -llapack<br>
> > -L/soft/libraries/alcf/current/xl/BLAS/lib -lblas -ltriangle -lchaco<br>
> > -lparmetis -lmetis -lpthread -ldl -lmpichcxx-gcc -lmpichf77-gcc<br>
> > -L/soft/compilers/ibmcmp-nov2013/vacpp/bg/12.1/bglib64 -libmc++<br>
> > -L/soft/compilers/ibmcmp-nov2013/xlf/bg/14.1/bglib64 -lxlf90_r -lxlomp_ser<br>
> > -lxlfmath<br>
> > /bin/rm -f ex1f.o<br>
> > [balay@vestalac1 test]$<br>
> ><br>
> ><br>
><br>
<br>
</div></div></blockquote></div><br></div></div>