'source activate fenics27' worked as soon as I switched from the csh shell
to bash.

I did an update with 'conda update conda' and 'conda update anaconda'
before trying again. This time the installer ran without any problems.

Trying 'import dolfin' now returns:

---------------------------------------------------
> DOLFIN runtime dependency is not met.
> Install the following python module: 'ffc'
> and make sure its location is listed in PYTHONPATH.
> ---------------------------------------------------
>

ffc installed just fine along with the other packages, and it is located in
PYTHONPATH. Simply trying 'ffc' in the shell reveals this error:

ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by
> <INSTALL_PATH>/anaconda/lib/python2.7/site-packages/ufc/_ufc.so)
>

I doubt this is related to conda. However, being stuck to GLIBC_2.12 on
CentOS and without admin rights, I am not sure if there is anything I can
further do?

Thanks,

Maarten

On 12 January 2015 at 17:06, Juan Luis Cano <[email protected]> wrote:

> Hello Maarten, thanks for trying it out! Failing that early must have been
> very unimpressive though :)
>
> The 'source activate fenics27' should definitely work, assuming you are in
> Linux and that the paths are correct. Would you please post to some
> pastebin the output of 'conda info --all'?
>
> Also, I am not sure about the other error but maybe some requirements are
> not met. I only compiled the package for python 2.7 and Linux 64bit, so you
> need to activate your environment and to be in this platform.
>
> Juan Luis
> On Jan 12, 2015 2:26 PM, "Maarten" <[email protected]> wrote:
>
>> Hello,
>>
>> Since we use the Anaconda Python distribution here, being able to install
>> FEniCS using conda would be a great help!
>> I'll just post whatever error I encounter, starting with:
>>
>> conda install fenics --channel juanlu001
>>> Error: No packages found matching: dolfin ==1.4
>>>
>>
>> That is, only running the third command. When I also run the first two, I
>> get
>>
>> source activate fenics27
>>> activate: No such file or directory.
>>>
>>
>> Any further help would be much appreciated,
>>
>> Maarten
>>
>> On 9 January 2015 at 20:13, Juan Luis Cano <[email protected]> wrote:
>>
>>> Hello,
>>>>
>>>> I would very much like to try out FEniCS, but installing is not as easy
>>>> as
>>>> hoped. I am on a CentOS 6.6 system without root-rights, and tried to use
>>>> the dorsal script to install locally. I copied the 'local.platform' file
>>>> for 'Red Hat Enterprise Linux 6/CentOS 6/Scientific Linux 6' and
>>>> encountered following problems when compiling dolfin:
>>>>
>>>
>>> Hello,
>>>
>>> If you are willing to use the Anaconda Python distribution (or their
>>> Miniconda installer), there is another experiment you can try:
>>>
>>> $ conda create --name fenics27 python=2.7
>>> $ source activate fenics27
>>> (fenics27) $ conda install fenics --channel juanlu001
>>>
>>> See http://fenicsproject.org/pipermail/fenics-support/2015-
>>> January/001090.html for recent discussion about this in the mailing
>>> list. I am willing to help you make it work on CentOS.
>>>
>>> Regards,
>>>
>>> Juan Luis Cano
>>> _______________________________________________
>>> 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