丁老师 <ztdepya...@163.com> writes: > how to set the PETSC_DIR with two different value.
It is an environment variable used with PETSc makefiles (see the users manual for more on PETSC_DIR and PETSC_ARCH). If you use a different configuration system (autotools, cmake, etc.) then it will probably respect the environment variable at configure time, plus offer some flags to set as an alternative. We recommend using PETSc makefiles when possible.
pgp1X2Ej5XPUN.pgp
Description: PGP signature