> It looks like dealii configured, but when I run "make all" I get the error
>
> Entering directory `/global/u1/k/kdb5/Software/deal.II/lib'
> make[1]: *** No rule to make target
> `/usr/common/acts/PETSc/3.1/linux8c_g/lib/libpetsc.so', needed by `
> libpetscall.g.so'.  Stop.
> make[1]: Leaving directory `/global/u1/k/kdb5/Software/deal.II/lib'
> make: *** [deps] Error 2
>
> Any idea?

Not really; but clearly your operating system can not find the shared
PETSc libraries. Let's go through some checks...

(i) Did you compile petsc as a *single library* (ie the default) on your
petsc installation? (PETSc >= 3.0.0 needs that configuration to work with
deal.II (or it is the other way around))

Check /usr/common/acts/PETSc/3.1/linux8c_g/lib/libpetsc.so exists. If not,
I guess PETSc is compiled in a way deal.II can not support.

(ii) Did you make *very* sure that you either EXPORT the petsc
installation to your operating system, or, put the location of the PETSc
library in ~/.bashrc? On some systems EXPORT seems to be not enough.
(Don't ask, put the EXPORT extension in your ~/.bashrc, source it, and get
on with life the way it is).

(iii) Please remember to configure deal.II with the options:
--with-petsc=/path/to/single_library_petsc
**and**
--with-petsc-arch=single_library_petsc_arch

Check through (i), (ii), and (iii), and let us know if things still do not
work for you. If you really have done all of those there may be a problem;
nevertheless I am sure we can fix it and get you up-and-running.

A clue on what a "NERSC" machine is would help me. *NIX? *BSD?   :-)

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

Reply via email to