I'm using scipy for different things but you need to compile it along side your 
custom python that is build together with Fenics. You can easily do that by 
adding "scipy:" to the end of your fenics.linux.yaml or whatever you use and 
launch the build script with this modified version. 

Am 6. Oktober 2015 19:05:42 MESZ, schrieb Giorgos Grekas <[email protected]>:
>Thank you for your great support, installation completed.
>I have tested it with some codes and works, i see only a negligible
>error,
>for now, about scipy.optimize, where i can add scipy setting my
>PYTHONPATH
>with:
>
>export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages
>
>i don't need it because it is going to be replaced it with tao solver,
>i
>wanted only to
>inform you about this issue.
>
>Thank you a lot.
>-Giorgos
>
>On Tue, Oct 6, 2015 at 5:51 PM, Johannes Ring <[email protected]>
>wrote:
>
>> Yes, you are missing the OpenGL development files, which is required
>to
>> build VTK. On a Debian based distribution (like Ubuntu), installing
>> freeglut3-dev should fix this problem.
>>
>> Johannes
>>
>> On Tue, Oct 6, 2015 at 4:44 PM Giorgos Grekas <[email protected]>
>wrote:
>>
>>> Thank you very much but now i have the following error
>>>
>>> [vtk|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']' returned
>>> non-zero exit status 1
>>> [vtk|ERROR] command failed (code=1); raising
>>> Command exited with non-zero status 127
>>>
>>> I have attached file build.log
>>>
>>> On Tue, Oct 6, 2015 at 3:25 PM, Johannes Ring <[email protected]>
>wrote:
>>>
>>>> Thanks. After some googling, I think we can try the BARCELONA
>target for
>>>> your CPU when building OpenBLAS. Please try the following:
>>>>
>>>>   git clone
>>>> https://bitbucket.org/fenics-project/fenics-developer-tools.git
>>>>   cd fenics-developer-tools
>>>>   cp install/profiles/fenics.Linux.yaml local.yaml
>>>>
>>>> Now, open local.yaml and add 'extra_flags: TARGET=BARCELONA' under
>the
>>>> blas package such that it looks like this:
>>>>
>>>>   blas:
>>>>     use: openblas
>>>>     extra_flags: TARGET=BARCELONA
>>>>
>>>> Save and close local.yaml and run the following to start building:
>>>>
>>>>   ./install/fenics-install.sh local.yaml
>>>>
>>>> We can try some other target if this does not work.
>>>>
>>>> Johannes
>>>>
>>>> On Tue, Oct 6, 2015 at 12:15 PM Giorgos Grekas <[email protected]>
>>>> wrote:
>>>>
>>>>> uname -a:
>>>>> Linux npori 3.19.0-30-generic #33~14.04.1-Ubuntu SMP Tue Sep 22
>>>>> 09:27:00 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>>>>
>>>>> and cpuinfo output is attached.
>>>>>
>>>>> On Tue, Oct 6, 2015 at 1:11 PM, Johannes Ring <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> The problem is that OpenBLAS fails to detect your CPU. Can you
>give
>>>>>> use some information about your hardware? What is the output of
>the
>>>>>> following commands?
>>>>>>
>>>>>> uname -a
>>>>>> cat /proc/cpuinfo
>>>>>>
>>>>>> Johannes
>>>>>>
>>>>>> On Tue, Oct 6, 2015 at 11:52 AM Giorgos Grekas
><[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Oct 6, 2015 at 12:37 PM, Johannes Ring
><[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Please send us the build.log file as an attachment (and keep
>>>>>>>> fenics-support in Cc).
>>>>>>>>
>>>>>>>> Johannes
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Oct 6, 2015 at 11:35 AM Giorgos Grekas
><[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Thank you a lot for your response,
>>>>>>>>> it has worked, but in my laptop i have the following error
>>>>>>>>>
>>>>>>>>> [blas|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']'
>>>>>>>>> returned non-zero exit status 2
>>>>>>>>> [blas|ERROR] command failed (code=2); raising
>>>>>>>>>
>>>>>>>>> what can i do for this?
>>>>>>>>>
>>>>>>>>> -Giorgos
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Oct 6, 2015 at 10:49 AM, Johannes Ring
><[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Giorgos,
>>>>>>>>>>
>>>>>>>>>> We are aware of this problem and are working on a solution.
>For
>>>>>>>>>> now, please remove the url to fenicsproject.org under
>>>>>>>>>> source_caches in your ~/.hashdist/config.yaml file.
>>>>>>>>>>
>>>>>>>>>> Johannes
>>>>>>>>>>
>>>>>>>>>> On Tue, Oct 6, 2015 at 9:24 AM Giorgos Grekas
><[email protected]>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hello,
>>>>>>>>>>>
>>>>>>>>>>> in order to  use TAO solver i tried the installation from
>source
>>>>>>>>>>>  and using the commang
>>>>>>>>>>>
>>>>>>>>>>> curl -s http://fenicsproject.org/fenics-install.sh | bash
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> i have a urlib error for the file:
>>>>>>>>>>>
>>>>>>>>>>>
>http://fenicsproject.org/pub/hashdist/src//packs/tar.gz/lebhjlenxupgftdz3fhlfyxuvzqm5ki2
>>>>>>>>>>>
>>>>>>>>>>> i took a look in folder
>>>>>>>>>>> http://fenicsproject.org/pub/hashdist/src//packs/tar.gz/ and
>>>>>>>>>>> indeed this
>>>>>>>>>>> file isn't there.
>>>>>>>>>>> I found a similar problem in
>>>>>>>>>>>
>http://fenicsproject.org/qa/7318/dolfin-error-urllib-failed-to-download
>>>>>>>>>>> but it doesn't match exactly for my problem.
>>>>>>>>>>>
>>>>>>>>>>> Thank you, best regards.
>>>>>>>>>>> -Giorgos Grekas
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> 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

-- 
Dipl.-Math. Johannes Neumann
Weierstraß-Institut für Angewandte
Analysis und Stochastik
Mohrenstraße 39
10117 Berlin
Tel. +49 (0)30 20372 567
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to