Trunk doesn't build on OSX

Bug #1138547 reported by Adam Candy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fluidity
In Progress
Wishlist
Unassigned

Bug Description

There are attempts to compile Fluidity and its associated software on OSX.
A buildbot is in the process of being set up. This bug report is a vehicle for discussion of progress!

Revision history for this message
Adam Candy (asc) wrote :

Current status:
It is possible to build Fluidity on OSX 10.8 with *all* tests passing.

The following branch was used:
https://code.launchpad.net/~asc/fluidity/fluidity-darwin-port-minimal

which contains changes to libwm and to allow METIS 5 and Parmetis 4 to be used (through the DARWIN configure flag - an unashamed hack).

in combination with:
 - custom builds of PETSc 3.3 and Zoltan
 - packages from macports (including GNU tools) and gcc (4.7 was used)
 - selection of GNU tools over OSX defaults
 - links for correct names of MPI executables
 - some environment jiggery-pokery for compile and linking FLAGS
 - Trang is not in macports and was manually installed

Other branches might be useful in https://code.launchpad.net/~asc (they will all have darwin in the name). The more recent branches used James's work on 10.7 - see branch https://code.launchpad.net/~j-percival/fluidity/fluidity-darwin-port.

For the macports local repo, see: /scratch/asc/repo/
Most of it is irrelevant material from a bitbucket branch - see https://bitbucket.org/seanfarley/scienceports
which I tried to use, but have instead gone for the special versions of PETSc and Zoltan that James started. I've modified these, although I'm not sure how much now - take a look in the repo on scratch. The bitbucket branch seemed like a nice approach which allowed different types of MPI to be used - and also has builds of METIS and Parmetis (although not now used in the current setup).

You'll also need trang. I started a Portfile for it, but didn't finish. I based my install on the Ubuntu trang package - basically downloading, unarchiving and installing files.

This setup also provides Diamond, working with XQuartz.

libajoint not tackled.

Changed in fluidity:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.