Just an update. "Make" came back to bite me because of my arbitrary PETSC_ARCH. I had to change Make.common to make this work..
Vijay On Sun, Apr 10, 2011 at 6:29 PM, Vijay S. Mahadevan <[email protected]> wrote: > John, > > Interestingly that worked ! And for now, I can definitely live with that. > > In the long run, it does feel like a hack. But it actually reminds me > that slepc configure has the same problem when using an installed > version of petsc. There, you need to specify > PETSC_ARCH="installed-petsc" for configure to go through. Just drawing > parallels.. > > Anyway thanks for the quick reply. > Vijay > > On Sun, Apr 10, 2011 at 6:23 PM, John Peterson > <[email protected]> wrote: >> On Sun, Apr 10, 2011 at 4:14 PM, Vijay S. Mahadevan <[email protected]> >> wrote: >>> All, >>> >>> While trying to configure libMesh with installed version of petsc and >>> slepc, the configure fails. My configure command is >>> >>> ./configure --enable-shared=yes --enable-everything >>> --enable-2D-only=no --with-cc=icc --with-cxx=icpc --with-fc=ifort >>> --enable-petsc --enable-slepc --enable-pfem --enable-xdr >>> --enable-perflog --enable-gzstreams --enable-metis --enable-parmetis >>> --enable-tetgen --enable-triangle --enable-gmv -enable-netcdf=no >>> --enable-hilbert=no -enable-exodus=no --enable-laspack >>> --enable-tracefiles --enable-exceptions --enable-amr >>> >>> The error message on stdout is >>> >>> checking for /opt/petsc-opt/include/petsc.h... yes >>> <<< PETSc disabled. Please set your "$PETSC_ARCH" environment >>> variable correctly. >>> >> >> In PETSc 2.x days, we used to give up on trying to configure PETSc if >> the user's PETSC_ARCH was not set. >> >> Since PETSC_ARCH is no longer needed in PETSc 3, this configure test >> needs to be updated. >> >> It should work fine if you just set PETSC_ARCH to something, anything >> other than the empty string really. >> >> If that still doesn't work let us know. >> >> -- >> John >> > ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
