dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03748
Re: [FEniCS-dev] FEniCS 0.1.0-pre2
On Mon, Sep 18, 2006 at 02:18:17PM -0500, Robert C. Kirby wrote:
> I haven't gotten into building DOLFIN on my new machine, but it is
> 64-bit Ubuntu. I was able to build Trilinos and Sundance fairly simply
> by adding -fPIC to the C++, C, and FFLAGS in both libraries. This was
> only required for the Python bindings to each one. The C++ versions
> would build fine without and used about the same build scripts I used on
> a 32-bit machine (up to library & mpi locations).
>
> This is intended as a suggestion to look at building 64-bit things in
> ubuntu if that is an option rather than suggesting some superiority of
> competitive projects. There have been some headaches getting those
> libraries built on 64-bit red hat.
>
> Rob Kirby
Maybe you could try out the build script and see how far it takes you
on your Ubuntu-machine?
hg clone http://www.fenics.org/hg/fenics
cd fenics
./build-fenics
Any feedback is appreciated. In particular, the following would be
useful:
1. How well does the pre-built package work? The latest prebuilt
package is at http://www.fenics.org/pub/software/fenics/v0.1/
2. How well does the script generating the build work? The build
is generated by the build-fenics script.
Note that the build-fenics script is not supposed to be smart. It just
downloads and builds the individual packages and assumes that the
build system of each individual package is smart (which is not true).
/Anders
> On Mon, 2006-09-18 at 20:23 +0200, 'Anders Logg' wrote:
> > ok, no wonder.
> >
> > I'm pretty sure it has be a different build for 64bit systems. No need
> > to make it even more complicated since we're not even sure it works as
> > expected on standard 686 Linux 32bit systems.
> >
> > /Anders
> >
> >
> > On Mon, Sep 18, 2006 at 02:17:08PM -0400, tomtzigt wrote:
> > > SuSE 10 is an x86_64 target. That would explain why all the binary
> > > distributions have a 32bit and a 64bit distribution. Ok, do you or your IT
> > > support staff have an idea if we can fake a 32bit target on SuSE? I have to
> > > believe you can, but I can't find anything on the either the help system or
> > > even google for the moment (tried "running 32bit code on 64bit linux").
> > >
> > > Theo
> > >
> > > -----Original Message-----
> > > From: fenics-dev-bounces@xxxxxxxxxx [mailto:fenics-dev-bounces@xxxxxxxxxx]
> > > On Behalf Of 'Anders Logg'
> > > Sent: Monday, September 18, 2006 2:06 PM
> > > To: fenics-dev@xxxxxxxxxx; 'Discussion of DOLFIN development'
> > > Subject: Re: [FEniCS-dev] FEniCS 0.1.0-pre2
> > >
> > > Is this a 686 Linux machine?
> > >
> > > This really looks like a problem you would get if you compile on a
> > > different architecture.
> > >
> > > /Anders
> > >
> > >
> > > On Mon, Sep 18, 2006 at 02:02:56PM -0400, tomtzigt wrote:
> > > > Still the same problem with respect to the format of the binaries. Is
> > > there
> > > > a command line tool that we can use to quantify the .so format on these
> > > > different machines and compiler sets?
> > > >
> > > >
> > > >
> > > > Ignoring the old RedHat box, here is the SuSE log for the new pre2
> > > release:
> > > >
> > > > tomtzigt@tomtzigt-ws1:~/fenics/fenics-0.1.0-pre2/demo/dolfin/pde/poisson>
> > > > make
> > > > `dolfin-config --compiler` `dolfin-config --cflags` -c main.cpp
> > > > `dolfin-config --linker` -o dolfin-poisson main.o `dolfin-config --cflags`
> > > > `dolfin-config --libs`
> > > > libtool: link: warning: library
> > > > `/home/tomtzigt/fenics/fenics-0.1.0-pre2/lib/libdolfin.la' was moved.
> > > > libtool: link: warning: library
> > > > `/home/tomtzigt/fenics/fenics-0.1.0-pre2/lib/libxml2.la' was moved.
> > > > libtool: link: warning: library
> > > > `/home/tomtzigt/fenics/fenics-0.1.0-pre2/lib/libdolfin.la' was moved.
> > > > libtool: link: warning: library
> > > > `/home/tomtzigt/fenics/fenics-0.1.0-pre2/lib/libxml2.la' was moved.
> > > > /home/tomtzigt/fenics/fenics-0.1.0-pre2/lib//libdolfin.so.0: could not
> > > read
> > > > symbols: File in wrong format
> > > > collect2: ld returned 1 exit status
> > > > make: *** [dolfin-poisson] Error 1
> > > >
> > > > tomtzigt@tomtzigt-ws1:~/fenics/fenics-0.1.0-pre2/demo/dolfin/pde/poisson>
> > > > gcc --version
> > > > gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
> > > >
> > > > Theo
> > > >
> > > > -----Original Message-----
> > > > From: fenics-dev-bounces@xxxxxxxxxx [mailto:fenics-dev-bounces@xxxxxxxxxx]
> > > > On Behalf Of Anders Logg
> > > > Sent: Monday, September 18, 2006 12:19 PM
> > > > To: Discussion of FEniCS development; Discussion of DOLFIN development
> > > > Subject: [FEniCS-dev] FEniCS 0.1.0-pre2
> > > >
> > > > Please try the new package:
> > > >
> > > > http://www.fenics.org/pub/software/fenics/v0.1/
> > > >
> > > > Unpack the file, run ./install and type 'source fenics.setup'.
> > > >
> > > > Then go to demo/dolfin/pde/poisson and type 'make'.
> > > >
> > > > If this works, then run the program by './dolfin-poisson' and plot
> > > > the solution with 'python plot.py'.
> > > >
> > > > This new version has been built with apg++ from autopackage which
> > > > could solve some problems. It has not been double compiled with
> > > > support for old g++ versions so you need a reasonably fresh g++
> > > > install.
> > > >
> > > > Does it work for anyone?
> > > >
> > > > /Anders
> > > >
> > > > md5sum: 66d7b40f9dc8f5ed626019e7bbb4cb04
> > > > _______________________________________________
> > > > FEniCS-dev mailing list
> > > > FEniCS-dev@xxxxxxxxxx
> > > > http://www.fenics.org/mailman/listinfo/fenics-dev
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > FEniCS-dev mailing list
> > > > FEniCS-dev@xxxxxxxxxx
> > > > http://www.fenics.org/mailman/listinfo/fenics-dev
> > > _______________________________________________
> > > FEniCS-dev mailing list
> > > FEniCS-dev@xxxxxxxxxx
> > > http://www.fenics.org/mailman/listinfo/fenics-dev
> > >
> > >
> > >
> > > _______________________________________________
> > > FEniCS-dev mailing list
> > > FEniCS-dev@xxxxxxxxxx
> > > http://www.fenics.org/mailman/listinfo/fenics-dev
> > _______________________________________________
> > FEniCS-dev mailing list
> > FEniCS-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/fenics-dev
References