On Nov 9, 2010, at 4:35 PM, Cody Permann wrote: > There are other issues with using prefix installs of PETSc. It turns out > that there are links back to the source directory where you build PETSc for > any external libraries you use. At least this is the case with the newest > version of PETSc 2.X. You will see this if you delete the source directories > after installing PETSc in the prefix path.
This was most definitely a problem in the 2.x versions. It shouldn't have this problem with PETSc 3.0 or 3.1, now PETSc puts all the external libraries and includes in the same locations as the PETSc libraries and includes so the --prefix option should be usable. Barry > While this really doesn't have anything to do with whether or not the > existing m4 script is correct, I just wanted to caution anyone doing prefix > installs to be aware of that issue. > > Cody > > On Nov 9, 2010, at 3:24 PM, Erik Zeek wrote: > >> When PETSc is installed into a prefix directory it no longer has a directory >> component for $PETSC_ARCH. The test for PETSc MPI support didn't allow for >> this case. The attached patch allows for this, but doesn't allow >> $PETSC_ARCH >> to be unset. >> >> Erik >> >> P.S. The other workaround I found was to set PETSC_ARCH="/" ;) >> -- >> Erik Zeek | \|/ ____ \|/ >> SMTS, Org 5444, MS-1153 | "@'/ .. \`@" >> Sandia National Laboratories | /_| \__/ |_\ >> Phone: 505-845-0513 | \__U_/ >> <petsc_no_arch.patch>------------------------------------------------------------------------------ >> The Next 800 Companies to Lead America's Growth: New Video Whitepaper >> David G. Thomson, author of the best-selling book "Blueprint to a >> Billion" shares his insights and actions to help propel your >> business during the next growth cycle. Listen Now! >> http://p.sf.net/sfu/SAP-dev2dev_______________________________________________ >> Libmesh-devel mailing list >> Libmesh-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/libmesh-devel > > > ------------------------------------------------------------------------------ > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > David G. Thomson, author of the best-selling book "Blueprint to a > Billion" shares his insights and actions to help propel your > business during the next growth cycle. Listen Now! > http://p.sf.net/sfu/SAP-dev2dev > _______________________________________________ > Libmesh-devel mailing list > Libmesh-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libmesh-devel ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel