Subject: Re: [Fenics-ufc] [Dorsal] [Branch ~dorsal-core/dorsal/main] Rev 474: Removed some unused variables from snowleopard platform

From: Johannes Ring <[email-masked]>
Date: Wed, 25 Aug 2010 11:36:42 +0200

On Wed, Aug 25, 2010 at 10:52 AM, Harish Narayanan
<[email-masked]> wrote:
> On 8/25/10 2:14 PM, [email-masked] wrote:
>> ------------------------------------------------------------
>> revno: 474
>> committer: Harish Narayanan <[email-masked]>
>> branch nick: dorsal
>> timestamp: Wed 2010-08-25 14:11:24 +0530
>> message:
>>   Removed some unused variables from snowleopard platform
>> modified:
>>   FEniCS/platforms/supported/snowleopard.platform
>
> Johannes, I am receiving the following error when pydolfin attempts to
> call the JIT compiler. We've seen this before. Could you add BOOST_DIR
> to an appropriate place (maybe just dolfin.conf) for darwin?

I think it is better to fix this in UFC. The attached patch should
make MacPorts the default on Darwin instead of Fink.

Johannes

> Calling FFC just-in-time (JIT) compiler, this may take some time.
> Traceback (most recent call last):
>  File "demo.py", line 24, in <module>
>    V = FunctionSpace(mesh, "CG", 1)
> [... snip...]
>  File
> "/Users/harish/Work/FEniCS/test/lib/python2.6/site-packages/ufc_utils/build.py",
> line 122, in configure_instant
>    """
> OSError: The Boost library was not found.
> If Boost is installed in a nonstandard location,
> set the environment variable BOOST_DIR.
>
> Harish
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dorsal
> Post to     : [email-masked]
> Unsubscribe : https://launchpad.net/~dorsal
> More help   : https://help.launchpad.net/ListHelp
>
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: [email-masked]
# target_branch: bzr+ssh://bazaar.launchpad.net/~ufc-core/ufc/main/
# testament_sha1: 6d8c536808b46b022d49cc1d6ae58e0cb83cad61
# timestamp: 2010-08-25 11:31:16 +0200
# base_revision_id: [email-masked]
# 
# Begin patch
=== modified file 'src/utils/python/ufc_utils/build.py'
--- src/utils/python/ufc_utils/build.py	2010-07-01 01:35:37 +0000
+++ src/utils/python/ufc_utils/build.py	2010-08-25 09:29:44 +0000
@@ -102,7 +102,7 @@
     # Set a default directory for the boost installation
     if sys.platform == "darwin":
         # use fink as default
-        default = os.path.join(os.path.sep, "sw")
+        default = os.path.join(os.path.sep, "opt", "local")
     else:
         default = os.path.join(os.path.sep, "usr")

# Begin bundle