Thread Previous • Date Previous • Date Next • Thread Next |
On Mar 31, 2006, at 10:22 AM, Garth N. Wells wrote:
On Fri, 2006-03-31 at 10:17 -0600, Robert C. Kirby wrote:I downloaded boost, pulled the header files out and dropped them into my directory and it worked fine, so it appears that no binary libraries are involved. I did a grep on the header files, and the dependency on other boost components is limited.Is there any license issue to just stuffing the requisite .h files into DOLFIN?No. The Boost license is more liberal the GPL. You can find it here http://www.boost.org/LICENSE_1_0.txt.
Then the easiest thing is to just stuff (with proper credit) ublas.h and whatever else we need into DOLFIN.
I think the reason I didn't use ublas earlier is that I needed higher- dimensional arrays, which blitz provided. I only realized after the fact that there were portability problems.
Rob
GarthAlso, templates can create portability/compiler problems if used toocreatively (see blitz).I have not worked with uBlas, but suggest compiling with a couple ofdifferent versions of g++ on mac/linux/cygwin and also the intel compiler on some platforms before committing.Just checked it with the Linux Intel compiler, and indeed Blitz giveserror messages. uBlas worked great. Works fine under Cygwin too.Wonderful -- I think that it's the configuration of blitz on intel that I remember bombing.I wish I had known ublas better when I wrote my c++ version of fiat...RobGarthThat said, I'm very much in favor of doing less code instead of more,but there can be corner cases in portability and other headaches. Rob _______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@xxxxxxxxxx http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev_______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@xxxxxxxxxx http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev_______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@xxxxxxxxxx http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev_______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@xxxxxxxxxx http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
Thread Previous • Date Previous • Date Next • Thread Next |