Dear Toby, Thanks a lot for the reply! That is a very good point. And I have those variables PETSC_DIR and PETSC_ARCH set up properly before building Dealii.
vyan2000@yan-home-530s ~/local/dealii/deal.II.7.1.0.petsc $ cat ~/.bashrc | grep PETSC_DIR export PETSC_DIR=/home/vyan2000/local/PPETSc/petsc-3.2-p5 vyan2000@yan-home-530s ~/local/dealii/deal.II.7.1.0.petsc $ cat ~/.bashrc | grep PETSC_ARCH export PETSC_ARCH=O-deal-debug Also, I checked the config.log again and those variables are read in successfully by Deal.II. But I am not sure what the PETSC_MPIUNI_LIB is. Any help will be greatly appreciated. DEAL_II_PATH='/home/vyan2000/local/dealii/deal.II.7.1.0.petsc' DEAL_II_PETSC_ARCH='O-deal-debug' DEAL_II_PETSC_DIR='/home/vyan2000/local/PPETSc/petsc-3.2-p5' DEAL_II_PETSC_MPIUNI_LIB='' DEAL_II_PETSC_VERSION_DEV='no' DEAL_II_PETSC_VERSION_MAJOR='3' DEAL_II_PETSC_VERSION_MINOR='2' DEAL_II_PETSC_VERSION_SUBMINOR='0' All the best, Yan On Tue, Feb 14, 2012 at 1:00 PM, Toby D. Young <[email protected]> wrote: > > > However, there seems to be no interruption during the build of Deal.II > with > > PETSc, but there were always linking errors when I tried to compile the > > tutorial programs. It seems like the compiler did not pick up the PETSc > > references during the build. I also tried to follow the instruction on > the > > FAQ section of wiki page, but the error was reproducible. Any suggestion > on > > possible solutions will be greatly appreciated. > > It's a linking error Yan. > > You need to set the PETSC_DIR and PETSC_ARCH in your environemnt; in that > way deal.II will be able to pick up the PETSc references duting the build. > > The deal.II wiki has the recipe on how to do this. It mentions setting > varibles in your ~/.bashrc shell. Try that out and let us know if that > does not work for you. > > Best, > Toby > > > ----- > > Toby D. Young > Assistant Professor > > Institute of Fundamental Technological Problems > Polish Academy of Sciences > ul Adolfa Pawinskiego 5b > 02-106 Warsaw > Poland > > www: http://www.ippt.gov.pl/~tyoung > skype: stenografia > >
_______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
