[petsc-users] Makefile in distributed-memory machine

Sean Farley sean at mcs.anl.gov
Sat Apr 7 16:39:15 CDT 2012


>
>     I have another questions on /src/ksp/ksp/example/tutorial/ex29.c. I
> just install PETSc-dev in a distributed-memory. Everything is fine and it
> finished 'make test'.
>     However, when I was trying to 'make' ex29.c, it comes this error
> message:
> makefile:18: /conf/variables: No such file or directory
> makefile:19: /conf/rules: No such file or directory
> makefile:1145: /conf/test: No such file or directory
> make: *** No rule to make target `/conf/test'.  Stop.
>
>    what should I do for this, Thanks, in advance,
>

Make sure to set your environment variables PETSC_DIR and PETSC_ARCH, or
send them on the command line every time you run make:

$ PETSC_DIR=/path/to/petsc-dev PETSC_ARCH=arch-debug make ex29
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120407/fe11091b/attachment.htm>


More information about the petsc-users mailing list