[petsc-users] how to install two different version petsc in the same pc

Jed Brown jed at jedbrown.org
Mon Aug 18 07:47:37 CDT 2014


丁老师 <ztdepyahoo at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140818/25d43cca/attachment-0001.pgp>


More information about the petsc-users mailing list