← Back to team overview

dorsal team mailing list archive

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

 

On Wed, Aug 25, 2010 at 10:52 AM, Harish Narayanan
<harish.mlists@xxxxxxxxx> wrote:
> On 8/25/10 2:14 PM, noreply@xxxxxxxxxxxxx wrote:
>> ------------------------------------------------------------
>> revno: 474
>> committer: Harish Narayanan <hnarayanan@xxxxxxxxx>
>> 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     : dorsal@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dorsal
> More help   : https://help.launchpad.net/ListHelp
>
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: johannr@xxxxxxxxx-20100825092944-dh9euguwv0lb9st6
# 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: gnw20@xxxxxxxxx-20100824222128-t1b0071v1rffz4z1
# 
# 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
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWTLhiiwAAXffgAQQUGf/91YS
UgC////wUAM69717ub3QqZ3hKIkeintE1NoxGSZhR6QYmmmg0DKU8IxFPyTxNIh5IAAAZAGRA1Jl
PanoU8o2oNADQNADTCKSKeo08jSMmJmggxGgDTIyYSSmRpNGJkYEnqGnqAAMgAtmUk24Xil1xdJK
wBfCTnvV1ZWYa3swREG3yP0+KCtVYw9oMvr1Rfftxkdd9NQp0Otlop6RxpAoVCr3vjXrKSF1QbhP
oFmE1HHRqVUPgIScEry5OpCvbDVe9Fw2MRtYQ72WLymsgTBQl8AzL2MzzBOwRKP4aQuSCHIScxPd
OJcApby1sb8EDxCtuw9o3Pjxd2mCTkgtVmduluf/JUyoMTjabrKBOIZjCOBoZqWdhawGgDRwE4cQ
/AFZbZcsmIzdqGAx64zM2KZ0uBpIupKlATKuAT6yhyxCYkZ7Rkkw8uTE5MLHS+ehMlPGw4naJ8sE
lo1LDxXNdKGoq7FcbDQCNGmNuvjtAdechKVjMQhdxozOJAVLXVOGLYPiiqmB5vtYUgwsrBwti8Wa
UeG6AbQVqislaT765gLGDnCClIpAMDnLDvJiGrST3Ka+HlmDciOjUUXm9lbKlY18jA8qnGCUQctZ
bTkRb94aePXFUYU2A7NgrrfUBVMjhZ3DRcDChNNtIwvgF3F9YlZZbau4JZw7lrRr5EbBYW/Ad52i
s8IVmizpm2+JM6JMiKxHHOyPeJsMud8g+418dhfkeLvxuz0uVj+4I8HkmUfj5ljVyYGq2GxdHNhv
OCKlUVNDa316iQSIHI29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