Hi all,
   I am trying to configure and compile deal.II for the first time on my linux
box (Red Hat Enterprise 5 dual Xeon 4-core cpus).  I successfully compiled
PETSC v3.2-p6 and the tests ran without error.  PETSC was configured as
follows:

./configure --download-mpich=1 --download-hypre=1 --with-shared-libraries=1
--with-x=0 -download-parmetis --download-scalapack --download-blacs


I then attempted to configure deal.II using the following:

./configure --enable-mpi

This configure failed with the following message:

checking for suffix of executables...
checking whether we are cross compiling... configure: error: in
`/home/staggle/Software/deal.II':
configure: error: cannot run C compiled programs.


Checking the config.log file, it appears that deal.II cannot find an mpich
library:

configure:3116: checking whether we are cross compiling
configure:3124: mpicc -o conftest    conftest.c  >&5
configure:3128: $? = 0
configure:3135: ./conftest
./conftest: error while loading shared libraries: libmpich.so.1.2: cannot open
shared object file: No such file or directory
configure:3139: $? = 127
configure:3146: error: in `/home/staggle/Software/deal.II':
configure:3148: error: cannot run C compiled programs.


However, this library does not appear to exist on my computer despite having
just installed mpich2 with PETSC.  There is a libmpich.so.3.3 in
/path-to-petsc/petsc-arch/lib

Has anybody else had a similar experience?  I looked through the first few pages
of the archived messages, but I didn't see anything similar.  Is there anyway to
search the entire message archive, by the way?

Thank you very much for your help.
Eric



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to