[petsc-users] make test failed

Satish Balay balay at mcs.anl.gov
Tue Jun 19 13:10:47 CDT 2012


Not sure why you would get this error. You can try running
tests manually.

cd src/ksp/ksp/examples/tutorials
make ex2
./ex2

[if you've also built with fortran]
make ex2f
./ex2f

Satish

On Tue, 19 Jun 2012, Yifei Li wrote:

> Is there anyone who can help me with this? I got this error after I did
> 'make' successfully during PETSc installation.
> 
> Thanks
> Yifei
> 
> On Mon, Jun 18, 2012 at 6:21 PM, Yifei Li <yifli82 at gmail.com> wrote:
> 
> > Hi all,
> >
> > I got the following error when running 'make test':
> >
> > Using PETSC_DIR=/home/liyi0000/petsc-3.3-p1 and
> > PETSC_ARCH=arch-mswin-c-debug
> > Possible error running C/C++ src/snes/examples/tutorials/ex19 with 1 MPI
> > process
> >
> > See http://www.mcs.anl.gov/petsc/documentation/faq.html
> > /home/liyi0000/petsc-3.3-p1/bin/mpiexec.uni: line 4: syntax error near
> > unexpected token 'elif'
> > 'home/liyi0000/petsc-3.3-p1/bin/mpiexec.uni: line 4: 'elif [ $2 = "1" ];
> > then
> >
> >
> > Can someone help me with this? Thanks
> >
> > Yifei
> >
> 



More information about the petsc-users mailing list