dorsal-0.6.1 fails under Fedora 11
I tried a clean build of dolfin using dorsal-0.6.1 on a Fedora 11 machine today
and ran into several problems, with gmp, with scotch, and with dolfin.
1) The dolfin problem (I need a solution for this). Build fails with
mpic++ -o dolfin/
dolfin/
dolfin/
scons: *** [dolfin/
scons: building terminated because of errors.
dolfin/
Failure with exit status: 2
Exit message: There was a problem building dolfin-0.9.7.
2) The gmp problem (I have a solution for this). Build of gmp fails during the configure stage
with complaints about "link --dump". Based on this warning
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
I edited the gmp.package file to remove " --host=${GMP_ARCH}" from CONFOPTS, and then
gmp built without problem.
3) The scotch problem (I have a poor solution for this). Build of scotch fails with
gcc -fPIC -O3 -DCOMMON_
In file included from dummysizes.c:80:
common.h:108:28: error: mpi.h: No such file or directory
In file included from dummysizes.c:82:
This is discussed in the INSTALL.txt file in the scotch distribution. The solution seems to be
to compile dummysizes with mpicc instead of gcc, but I didn't see how to do that in
the dorsal framework. Instead I changed '#include <mpi.h>' to '#include "mpi.h"' in
dummysizes.c and dumped a copy of mpi.h into that directory (surely not an elegant solution!).
With this, scotch compiled.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Dorsal Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Doug Arnold for more information if necessary.