On Tue, Jan 27, 2015 at 5:20 PM, Jinyong Ying <[email protected]> wrote:
> Hi,
>
> I used to use FEniCS 1.2 on mac 10.7. Everything was fine. Now i just
> updated to the OS 10.9.5, but i met a problem when i try to load in the
> library dolfin using the binary file provided on the website.
>
>
> After i sourced FEniCS 1.3, then i did the following in the terminal:
>
> python
>>>> from dolfin import *
>
> Then it just hangs there like forever. I check the cup time for this
> operation. It seems it took only small amount of time, but it just did not
> finish the job.
>
>
>
> Then i turned to FEniCS 1.5 for another try, i also did the following
>
> python
>>>>from dolfin import *
>>>>mesh=UnitSquareMesh(4,4)
>
> This time loading in the library is fine, but it again hangs like forever
> when trying to generate the mesh.
>
>
> The only change to the new system was I deleted the default gcc and g++
> compilers in /usr/bin/ and installed the GNU gcc and g++ in /usr/local/bin.
> I am not sure this will cause the problem or not now.

This could very well be the problem. The default gcc and g++ compilers
in /usr/bin are actually clang compilers, which were used when
compiling the binary package. Using GNU gcc and g++ with the binary
package might lead to unexpected problems.

Johannes

>
> Did someone know what caused this problem and how to fixed it? Any help is
> really appreciated. Thanks a lot.
>
>
> --jying
>
>
>
> _______________________________________________
> fenics-support mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics-support
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to