<div dir="ltr"><div class="gmail_extra"><div class="gmail_extra">Hi Satish,</div><div class="gmail_extra"><br></div><div class="gmail_extra">The log file is attached. </div><div class="gmail_extra"><br></div><div class="gmail_extra">
There are errors like below:</div><div class="gmail_extra"><br></div><div class="gmail_extra">"../../min3p/welcome_pc.F90", line 151.16: 1516-036 (S) Entity iargc has undefined type.</div><div class="gmail_extra">
"../../min3p/welcome_pc.F90", 1520-031 (W) Option DLINES is ignored within Fortran 90 free form and IBM free form.</div><div class="gmail_extra">** welcome   === End of Compilation 1 ===</div><div class="gmail_extra">
<br></div><div class="gmail_extra">I use preprocessor definition so as to exclude these non-standard fortran calling like iargc.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">
<br></div><div class="gmail_extra">Danyang</div><div class="gmail_extra"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 12, 2014 at 11:11 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"><div class="">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>> wrote:<br>
<br>
</div><div class="">> > I don't understand. Doesn't the following work? What compile commands 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>
</div>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>
<div class=""><br>
include ${PETSC_DIR}/conf/variables<br>
include ${PETSC_DIR}/conf/rules<br>
<br>
</div>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 -qstrict_induction   -I/soft/libraries/petsc/3.4.4/xl-opt/include -I/soft/libraries/petsc/3.4.4/xl-opt/include   -WF,-DDUMMY_FLAG -o ex1f.o 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 -qstrict_induction   -o ex1f ex1f.o  -L/soft/libraries/petsc/3.4.4/xl-opt/lib  -lpetsc -Wl,-rpath,/soft/libraries/petsc/3.4.4/xl-opt/lib -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -Wl,-rpath,/soft/libraries/alcf/current/xl/SCALAPACK/lib -L/soft/libraries/alcf/current/xl/SCALAPACK/lib -lscalapack -lsuperlu_4.3 -lsuperlu_dist_3.3 -lHYPRE -lspai -lumfpack -lamd -L/soft/libraries/alcf/current/xl/LAPACK/lib -llapack -L/soft/libraries/alcf/current/xl/BLAS/lib -lblas -ltriangle -lchaco -lparmetis -lmetis -lpthread -ldl -lmpichcxx-gcc -lmpichf77-gcc -L/soft/compilers/ibmcmp-nov2013/vacpp/bg/12.1/bglib64 -libmc++ -L/soft/compilers/ibmcmp-nov2013/xlf/bg/14.1/bglib64 -lxlf90_r -lxlomp_ser -lxlfmath<br>

/bin/rm -f ex1f.o<br>
[balay@vestalac1 test]$<br>
<br>
</blockquote></div><br></div></div>