← Back to team overview

dolfin team mailing list archive

Re: Fwd: problem with configuring dolfin-0.7.1 (fwd)

 

Asmund,

Thanks for your help with the configuration of dolfin-0.7.1 (see below for my original question). I was able to successfully configure dolfin by typing "CXX=g++ ./configure.local" as you suggested. However, when I typed "make," I got the following error message:

---
WARNING: mpicc expected to find liblammpio.* in /usr/lib/lam
WARNING: MPI-2 IO support will be disabled
WARNING: mpicc expected to find liblamf77mpi.* in /usr/lib/lam
WARNING: MPI Fortran support will be disabled
/usr/bin/ld: cannot find -lmpi
collect2: ld returned 1 exit status
mpicc: No such file or directory
make[2]: *** [libdolfin.la] Error 1
make[2]: Leaving directory `/nfs/user011/mice0012/src/dolfin-0.7.1/ src/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/nfs/user011/mice0012/src/dolfin-0.7.1/ src'
make: *** [all-recursive] Error 1
---


Any suggestions on how to fix this would be greatly appreciated.

Thanks,
Katy


On Nov 18, 2007, at 5:09 PM, Åsmund Ødegård wrote:



On Nov 18, 2007 9:33 PM, Catherine Micek <mice0012@xxxxxxx> wrote:
Begin forwarded message:

From: Catherine Micek <mice0012@xxxxxxxxxxxx>
Date: November 18, 2007 2:04:42 PM CST
To: Catherine Micek <mice0012@xxxxxxxxxxxx>
Subject: problem with configuring dolfin-0.7.1 (fwd)



---------- Forwarded message ----------
Date: Fri, 16 Nov 2007 11:58:01 -0600 (CST)
From: Catherine Micek < mice0012@xxxxxxxxxxxx>
To: dolfin-dev@xxxxxxxxxx
Subject: problem with configuring dolfin-0.7.1

Hi,

I ran into the following problem while attempting to configure dolfin:

./configure.local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for mpirun... yes
checking for mpic++... mpic++
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

The version of dolfin I was trying run was version 0.7.1. When I tried the same command with version 0.6.4, it configured correctly. Any help would be greatly appreciated.

From what I can tell from the log, there is a mpic++ on your system, but when using that to compile some simple tests, it can not find and link with the libmpi library. For some reason mpi seems to be just half-way installed on your system; does that make any sense to you?

Btw, it is kind of consistent with the version-numbers you mention, somewhere between 0.6.4 and 0.7.1, dolfin switched to use the mpi- compilers if they are present on your system. Try to set CXX=g++ in the shell or infront of the ./configure command, and see it that helps!


--
[simula.research laboratory]
                Åsmund Ødegård
                IT-Manager
                phone: +4790069915
                http://www.simula.no/
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev


References