Dolfin dosnt work

Asked by mohammad

i've installed dolfin on fedora13 as needed package for fenics and it was sucessfull but when i open python in terminal and write (from dolfin import *) it say no such module exist .

Question information

Language:
English Edit question
Status:
Solved
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Solved by:
mohammad
Solved:
Last query:
Last reply:
Revision history for this message
Andre Massing (massing) said :
#1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/27/2011 05:26 PM, mohammad wrote:
> New question #166153 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/166153
>
> i've installed dolfin on fedora13 as needed package for fenics and it was sucessfull but when i open python in terminal and write (from dolfin import *) it say no such module exist .
>

Hi!
Probably you have to source the dolfin configuration file first, which
sets the PYTHONPATH environment variable to include the python packages
installed along with DOLFIN. So try a

source <PATH_TO_YOUR_DOLFIN_INSTALLATION>/share/dolfin/dolfin.conf

in your terminal and rerun python in the same terminal.

HTH,
Andre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOMDP6AAoJEA79ggnbq9dm9HEH/1/+HHmzSUe15vjZV73e6VrG
ttFbG2zxTS/gH4QczHVSPwOq8n6LaiD30BXFWxLu+CxxQHGi3ngjssZukOcyYGT5
UKNcFWONkUpWRraPdsJr+WAQcyUEVQwDRynAhvGOwt+a1IYQqg+lkdY/AuExcwJQ
1QifLfkXg4XiA/34xY05OI86KIDWViwIStDqJeqrvtvqapijgF3j1mEuIkcOg38M
L0WxL/RQyfS001SkGOHlLItjyltnE/eEGmjuqr4W4A1y4CpqEcHVhy6J//FvUCeY
E+5AteF/TsuQ+DvYAy8s9r96sWLFZOKStjY3XDd3Ia4JdF1/ocFl0XniGif8f7Q=
=QGJn
-----END PGP SIGNATURE-----

Revision history for this message
mohammad (s-m-m-1370) said :
#2

[Mohseni@Mohseni ~]$ source /usr/local/share/dolfin/dolfin.conf
[Mohseni@Mohseni ~]$ python
Python 2.6.4 (r264:75706, Jun 4 2010, 18:20:16)
[GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from dolfin import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named dolfin
>>>

On 7/27/11, Andre Massing <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Andre Massing proposed the following answer:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/27/2011 05:26 PM, mohammad wrote:
>> New question #166153 on DOLFIN:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> i've installed dolfin on fedora13 as needed package for fenics and it was
>> sucessfull but when i open python in terminal and write (from dolfin
>> import *) it say no such module exist .
>>
>
> Hi!
> Probably you have to source the dolfin configuration file first, which
> sets the PYTHONPATH environment variable to include the python packages
> installed along with DOLFIN. So try a
>
> source <PATH_TO_YOUR_DOLFIN_INSTALLATION>/share/dolfin/dolfin.conf
>
> in your terminal and rerun python in the same terminal.
>
> HTH,
> Andre
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJOMDP6AAoJEA79ggnbq9dm9HEH/1/+HHmzSUe15vjZV73e6VrG
> ttFbG2zxTS/gH4QczHVSPwOq8n6LaiD30BXFWxLu+CxxQHGi3ngjssZukOcyYGT5
> UKNcFWONkUpWRraPdsJr+WAQcyUEVQwDRynAhvGOwt+a1IYQqg+lkdY/AuExcwJQ
> 1QifLfkXg4XiA/34xY05OI86KIDWViwIStDqJeqrvtvqapijgF3j1mEuIkcOg38M
> L0WxL/RQyfS001SkGOHlLItjyltnE/eEGmjuqr4W4A1y4CpqEcHVhy6J//FvUCeY
> E+5AteF/TsuQ+DvYAy8s9r96sWLFZOKStjY3XDd3Ia4JdF1/ocFl0XniGif8f7Q=
> =QGJn
> -----END PGP SIGNATURE-----
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
Andre Massing (massing) said :
#3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/27/2011 06:31 PM, mohammad wrote:
> Question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Answered => Open
>
> mohammad is still having a problem:
> [Mohseni@Mohseni ~]$ source /usr/local/share/dolfin/dolfin.conf

What is the content of that file?
There should be a variable PYTHONPATH,
could you check that there are indeed python packages in the folder the
PYTHONPATH is pointing to? It should be something with
python2.6/site-packages
in your case since you use python 2.6.
Do you have another Python (e.g. 2.7) installed on your system? Maybe
there is a version mismatch.

- --
Andre

> [Mohseni@Mohseni ~]$ python
> Python 2.6.4 (r264:75706, Jun 4 2010, 18:20:16)
> [GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from dolfin import *
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named dolfin
>>>>
>
>
> On 7/27/11, Andre Massing <email address hidden> wrote:
>> Your question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Open => Answered
>>
>> Andre Massing proposed the following answer:
> On 07/27/2011 05:26 PM, mohammad wrote:
>>>> New question #166153 on DOLFIN:
>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>
>>>> i've installed dolfin on fedora13 as needed package for fenics and it was
>>>> sucessfull but when i open python in terminal and write (from dolfin
>>>> import *) it say no such module exist .
>>>>
>
> Hi!
> Probably you have to source the dolfin configuration file first, which
> sets the PYTHONPATH environment variable to include the python packages
> installed along with DOLFIN. So try a
>
> source <PATH_TO_YOUR_DOLFIN_INSTALLATION>/share/dolfin/dolfin.conf
>
> in your terminal and rerun python in the same terminal.
>
> HTH,
> Andre
>>
- --
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=0
>>
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/dolfin/+question/166153
>>
You received this question notification because you asked the question.
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOMD/GAAoJEA79ggnbq9dmaQQIAKheJ708pTaoGlI8oxwb08dD
Ldyqe6La0JPmS7qxmzsyHkPSBhBfuo3dkUBKw4Bqqdy3JN3r4tC5HNLnTeRR8Aw/
7Y9290w4hZlXd84D+3qrZfko82NMOvXtKjzTdFOW32ETY8K9mORPtmuJYTFlB0AI
SfiG6asj5Djwr2SNiJsOK/GmKXHXL6Bs2DeOrP/NBn8BubdqVk2OpBE9CMbaxloA
SD86nAgLXDdbcMeHB47pisbZOeauRxnOQO9iJgJITEIr11GffBtVubjlN8xQ3Yeu
N/d3T0f/Sa++kvLmfkEFYsclJH6L0BDBZanEEiUQc/whOIcxwWncIAcc8C6JLDc=
=1W3v
-----END PGP SIGNATURE-----

Revision history for this message
mohammad (s-m-m-1370) said :
#4

[Mohseni@Mohseni ~]$ source
/usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf
bash: /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf:
Permission denied
[Mohseni@Mohseni ~]$

On 7/27/11, Andre Massing <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Andre Massing proposed the following answer:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/27/2011 06:31 PM, mohammad wrote:
>> Question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Answered => Open
>>
>> mohammad is still having a problem:
>> [Mohseni@Mohseni ~]$ source /usr/local/share/dolfin/dolfin.conf
>
> What is the content of that file?
> There should be a variable PYTHONPATH,
> could you check that there are indeed python packages in the folder the
> PYTHONPATH is pointing to? It should be something with
> python2.6/site-packages
> in your case since you use python 2.6.
> Do you have another Python (e.g. 2.7) installed on your system? Maybe
> there is a version mismatch.
>
> - --
> Andre
>
>
>> [Mohseni@Mohseni ~]$ python
>> Python 2.6.4 (r264:75706, Jun 4 2010, 18:20:16)
>> [GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> from dolfin import *
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in <module>
>> ImportError: No module named dolfin
>>>>>
>>
>>
>> On 7/27/11, Andre Massing <email address hidden> wrote:
>>> Your question #166153 on DOLFIN changed:
>>> https://answers.launchpad.net/dolfin/+question/166153
>>>
>>> Status: Open => Answered
>>>
>>> Andre Massing proposed the following answer:
>> On 07/27/2011 05:26 PM, mohammad wrote:
>>>>> New question #166153 on DOLFIN:
>>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>>
>>>>> i've installed dolfin on fedora13 as needed package for fenics and it
>>>>> was
>>>>> sucessfull but when i open python in terminal and write (from dolfin
>>>>> import *) it say no such module exist .
>>>>>
>>
>> Hi!
>> Probably you have to source the dolfin configuration file first, which
>> sets the PYTHONPATH environment variable to include the python packages
>> installed along with DOLFIN. So try a
>>
>> source <PATH_TO_YOUR_DOLFIN_INSTALLATION>/share/dolfin/dolfin.conf
>>
>> in your terminal and rerun python in the same terminal.
>>
>> HTH,
>> Andre
>>>
> - --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=0
>>>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>>>
> You received this question notification because you asked the question.
>>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJOMD/GAAoJEA79ggnbq9dmaQQIAKheJ708pTaoGlI8oxwb08dD
> Ldyqe6La0JPmS7qxmzsyHkPSBhBfuo3dkUBKw4Bqqdy3JN3r4tC5HNLnTeRR8Aw/
> 7Y9290w4hZlXd84D+3qrZfko82NMOvXtKjzTdFOW32ETY8K9mORPtmuJYTFlB0AI
> SfiG6asj5Djwr2SNiJsOK/GmKXHXL6Bs2DeOrP/NBn8BubdqVk2OpBE9CMbaxloA
> SD86nAgLXDdbcMeHB47pisbZOeauRxnOQO9iJgJITEIr11GffBtVubjlN8xQ3Yeu
> N/d3T0f/Sa++kvLmfkEFYsclJH6L0BDBZanEEiUQc/whOIcxwWncIAcc8C6JLDc=
> =1W3v
> -----END PGP SIGNATURE-----
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
mohammad (s-m-m-1370) said :
#5

[Mohseni@Mohseni ~]$ su -
Password:
[root@Mohseni ~]# source
/usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf
-bash: /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf:
No such file or directory
[root@Mohseni ~]#

On 7/27/11, mohamad mohseni <email address hidden> wrote:
> [Mohseni@Mohseni ~]$ source
> /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf
> bash:
> /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf:
> Permission denied
> [Mohseni@Mohseni ~]$
>
>
> On 7/27/11, Andre Massing <email address hidden> wrote:
>> Your question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Open => Answered
>>
>> Andre Massing proposed the following answer:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 07/27/2011 06:31 PM, mohammad wrote:
>>> Question #166153 on DOLFIN changed:
>>> https://answers.launchpad.net/dolfin/+question/166153
>>>
>>> Status: Answered => Open
>>>
>>> mohammad is still having a problem:
>>> [Mohseni@Mohseni ~]$ source /usr/local/share/dolfin/dolfin.conf
>>
>> What is the content of that file?
>> There should be a variable PYTHONPATH,
>> could you check that there are indeed python packages in the folder the
>> PYTHONPATH is pointing to? It should be something with
>> python2.6/site-packages
>> in your case since you use python 2.6.
>> Do you have another Python (e.g. 2.7) installed on your system? Maybe
>> there is a version mismatch.
>>
>> - --
>> Andre
>>
>>
>>> [Mohseni@Mohseni ~]$ python
>>> Python 2.6.4 (r264:75706, Jun 4 2010, 18:20:16)
>>> [GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>> from dolfin import *
>>> Traceback (most recent call last):
>>> File "<stdin>", line 1, in <module>
>>> ImportError: No module named dolfin
>>>>>>
>>>
>>>
>>> On 7/27/11, Andre Massing <email address hidden> wrote:
>>>> Your question #166153 on DOLFIN changed:
>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>
>>>> Status: Open => Answered
>>>>
>>>> Andre Massing proposed the following answer:
>>> On 07/27/2011 05:26 PM, mohammad wrote:
>>>>>> New question #166153 on DOLFIN:
>>>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>>>
>>>>>> i've installed dolfin on fedora13 as needed package for fenics and it
>>>>>> was
>>>>>> sucessfull but when i open python in terminal and write (from dolfin
>>>>>> import *) it say no such module exist .
>>>>>>
>>>
>>> Hi!
>>> Probably you have to source the dolfin configuration file first, which
>>> sets the PYTHONPATH environment variable to include the python packages
>>> installed along with DOLFIN. So try a
>>>
>>> source <PATH_TO_YOUR_DOLFIN_INSTALLATION>/share/dolfin/dolfin.conf
>>>
>>> in your terminal and rerun python in the same terminal.
>>>
>>> HTH,
>>> Andre
>>>>
>> - --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=0
>>>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/dolfin/+question/166153
>>>>
>> You received this question notification because you asked the question.
>>>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.17 (GNU/Linux)
>> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
>>
>> iQEcBAEBAgAGBQJOMD/GAAoJEA79ggnbq9dmaQQIAKheJ708pTaoGlI8oxwb08dD
>> Ldyqe6La0JPmS7qxmzsyHkPSBhBfuo3dkUBKw4Bqqdy3JN3r4tC5HNLnTeRR8Aw/
>> 7Y9290w4hZlXd84D+3qrZfko82NMOvXtKjzTdFOW32ETY8K9mORPtmuJYTFlB0AI
>> SfiG6asj5Djwr2SNiJsOK/GmKXHXL6Bs2DeOrP/NBn8BubdqVk2OpBE9CMbaxloA
>> SD86nAgLXDdbcMeHB47pisbZOeauRxnOQO9iJgJITEIr11GffBtVubjlN8xQ3Yeu
>> N/d3T0f/Sa++kvLmfkEFYsclJH6L0BDBZanEEiUQc/whOIcxwWncIAcc8C6JLDc=
>> =1W3v
>> -----END PGP SIGNATURE-----
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=2
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> You received this question notification because you asked the question.
>>
>

Revision history for this message
Andre Massing (massing) said :
#6

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/27/2011 07:11 PM, mohammad wrote:
> Question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> mohammad gave more information on the question:
> [Mohseni@Mohseni ~]$ su -
> Password:
> [root@Mohseni ~]# source
> /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf

Why do you want to do this? If you want us to help you, you have to be a
bit more verbose. Anyway, to check the file your sourced, do a
cat /usr/local/share/dolfin/dolfin.conf
in your terminal and show us the output of the command. And please
answer the question I asked you in my last post. My magic crystal ball
is on holidays ;)

- --
Andre

> -bash: /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf:
> No such file or directory
> [root@Mohseni ~]#
>
>
> On 7/27/11, mohamad mohseni <email address hidden> wrote:
>> [Mohseni@Mohseni ~]$ source
>> /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf
>> bash:
>> /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf:
>> Permission denied
>> [Mohseni@Mohseni ~]$
>>
>>
>> On 7/27/11, Andre Massing <email address hidden> wrote:
>>> Your question #166153 on DOLFIN changed:
>>> https://answers.launchpad.net/dolfin/+question/166153
>>>
>>> Status: Open => Answered
>>>
>>> Andre Massing proposed the following answer:
> On 07/27/2011 06:31 PM, mohammad wrote:
>>>>> Question #166153 on DOLFIN changed:
>>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>>
>>>>> Status: Answered => Open
>>>>>
>>>>> mohammad is still having a problem:
>>>>> [Mohseni@Mohseni ~]$ source /usr/local/share/dolfin/dolfin.conf
>
> What is the content of that file?
> There should be a variable PYTHONPATH,
> could you check that there are indeed python packages in the folder the
> PYTHONPATH is pointing to? It should be something with
> python2.6/site-packages
> in your case since you use python 2.6.
> Do you have another Python (e.g. 2.7) installed on your system? Maybe
> there is a version mismatch.
>
>>>
- --
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=2
>>>
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/dolfin/+question/166153
>>>
You received this question notification because you asked the question.
>>>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOMEkfAAoJEA79ggnbq9dmK9MH/3slKwleLRitVDiRL7Zg5oFA
B6BxAYErn3GhkuLfHsdkd8FIXZ6yWp3QBOkA+yV029pXGvJll92xZVTX71hBraN8
jfmIKK9GVAjuWaGxwxXqdOOBmkFE3P6z4nGYw4Wm4s1P8r965isLjZMZz1H3zNCw
7YnHwf1C8TaKy43XW/qPyRK/4ZeoOS+5f07pcDx8kXP+N0NLi09b9iqIsQWWPTC4
d6lm/MhX0Vulz7z+5is5caGIgaZ7yq9jTS7EJj9uG75kCpGMeirdfwJsjfMwPePm
Nfz5Mmv5IeXNGYQ0pF5LIu7KdZMM0s6Z2LF1+JAch+iPnJOQQ9FqybRoenEiUCE=
=f9RS
-----END PGP SIGNATURE-----

Revision history for this message
mohammad (s-m-m-1370) said :
#7

my apology i'm tired of working all day (here it's 22.08 now) .
after command these were shown :
[Mohseni@Mohseni ~]$ su -
Password:
[root@Mohseni ~]# cat /usr/local/share/dolfin/dolfin.conf
# Helper file for setting non-default DOLFIN environment variables

# Common Unix variables
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PATH=/usr/local/bin:$PATH
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export PYTHONPATH=/usr/local/lib/python2.6/site-packages:/usr/local/lib/python2.6/site-packages:$PYTHONPATH
export MANPATH=/usr/local/share/man:$MANPATH

# Variable to help find dolfin-config.cmake
#export DOLFIN_CMAKE_CONFIG_PATH=/usr/local/share/cmake

# Special Mac variables
export DYLD_FRAMEWORK_PATH=/opt/local/Library/Frameworks:$DYLD_FRAMEWORK_PATH

[root@Mohseni ~]#

i check that file site-package exist there and only python 2.6 is
installed on my PS

On 7/27/11, Andre Massing <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Andre Massing proposed the following answer:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/27/2011 07:11 PM, mohammad wrote:
>> Question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> mohammad gave more information on the question:
>> [Mohseni@Mohseni ~]$ su -
>> Password:
>> [root@Mohseni ~]# source
>> /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf
>
> Why do you want to do this? If you want us to help you, you have to be a
> bit more verbose. Anyway, to check the file your sourced, do a
> cat /usr/local/share/dolfin/dolfin.conf
> in your terminal and show us the output of the command. And please
> answer the question I asked you in my last post. My magic crystal ball
> is on holidays ;)
>
> - --
> Andre
>
>
>> -bash:
>> /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf:
>> No such file or directory
>> [root@Mohseni ~]#
>>
>>
>> On 7/27/11, mohamad mohseni <email address hidden> wrote:
>>> [Mohseni@Mohseni ~]$ source
>>> /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf
>>> bash:
>>> /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf:
>>> Permission denied
>>> [Mohseni@Mohseni ~]$
>>>
>>>
>>> On 7/27/11, Andre Massing <email address hidden> wrote:
>>>> Your question #166153 on DOLFIN changed:
>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>
>>>> Status: Open => Answered
>>>>
>>>> Andre Massing proposed the following answer:
>> On 07/27/2011 06:31 PM, mohammad wrote:
>>>>>> Question #166153 on DOLFIN changed:
>>>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>>>
>>>>>> Status: Answered => Open
>>>>>>
>>>>>> mohammad is still having a problem:
>>>>>> [Mohseni@Mohseni ~]$ source /usr/local/share/dolfin/dolfin.conf
>>
>> What is the content of that file?
>> There should be a variable PYTHONPATH,
>> could you check that there are indeed python packages in the folder the
>> PYTHONPATH is pointing to? It should be something with
>> python2.6/site-packages
>> in your case since you use python 2.6.
>> Do you have another Python (e.g. 2.7) installed on your system? Maybe
>> there is a version mismatch.
>>
>>>>
> - --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=2
>>>>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>>>>
> You received this question notification because you asked the question.
>>>>
>>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJOMEkfAAoJEA79ggnbq9dmK9MH/3slKwleLRitVDiRL7Zg5oFA
> B6BxAYErn3GhkuLfHsdkd8FIXZ6yWp3QBOkA+yV029pXGvJll92xZVTX71hBraN8
> jfmIKK9GVAjuWaGxwxXqdOOBmkFE3P6z4nGYw4Wm4s1P8r965isLjZMZz1H3zNCw
> 7YnHwf1C8TaKy43XW/qPyRK/4ZeoOS+5f07pcDx8kXP+N0NLi09b9iqIsQWWPTC4
> d6lm/MhX0Vulz7z+5is5caGIgaZ7yq9jTS7EJj9uG75kCpGMeirdfwJsjfMwPePm
> Nfz5Mmv5IeXNGYQ0pF5LIu7KdZMM0s6Z2LF1+JAch+iPnJOQQ9FqybRoenEiUCE=
> =f9RS
> -----END PGP SIGNATURE-----
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
Andre Massing (massing) said :
#8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/27/2011 07:46 PM, mohammad wrote:
> Question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Answered => Open
>
> mohammad is still having a problem:
> my apology i'm tired of working all day (here it's 22.08 now) .
> after command these were shown :
> [Mohseni@Mohseni ~]$ su -
> Password:
> [root@Mohseni ~]# cat /usr/local/share/dolfin/dolfin.conf
> # Helper file for setting non-default DOLFIN environment variables
>
> # Common Unix variables
> export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
> export PATH=/usr/local/bin:$PATH
> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
> export PYTHONPATH=/usr/local/lib/python2.6/site-packages:/usr/local/lib/python2.6/site-packages:$PYTHONPATH
> export MANPATH=/usr/local/share/man:$MANPATH
>
> # Variable to help find dolfin-config.cmake
> #export DOLFIN_CMAKE_CONFIG_PATH=/usr/local/share/cmake
>
> # Special Mac variables
> export DYLD_FRAMEWORK_PATH=/opt/local/Library/Frameworks:$DYLD_FRAMEWORK_PATH
>
> [root@Mohseni ~]#
>
> i check that file site-package exist there and only python 2.6 is
> installed on my PS

Hmm, I don't see any suspicious. But why did you use the sudo command?
Can you read the file as normal user as well?
Could it be possible that there are some problems with the file rights?
What is the output of

ls -l /usr/local/share/dolfin/dolfin.conf

?

- --
Andre

>
>
> On 7/27/11, Andre Massing <email address hidden> wrote:
>> Your question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Open => Answered
>>
>> Andre Massing proposed the following answer:
> On 07/27/2011 07:11 PM, mohammad wrote:
>>>> Question #166153 on DOLFIN changed:
>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>
>>>> mohammad gave more information on the question:
>>>> [Mohseni@Mohseni ~]$ su -
>>>> Password:
>>>> [root@Mohseni ~]# source
>>>> /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf
>
> Why do you want to do this? If you want us to help you, you have to be a
> bit more verbose. Anyway, to check the file your sourced, do a
> cat /usr/local/share/dolfin/dolfin.conf
> in your terminal and show us the output of the command. And please
> answer the question I asked you in my last post. My magic crystal ball
> is on holidays ;)
>
>>
- --
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=5
>>
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/dolfin/+question/166153
>>
You received this question notification because you asked the question.
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOMFQMAAoJEA79ggnbq9dmpCsH/Rf3T4bZaFDnT/Trb/lG4RSe
Y2cQSMUDl/kIUMeQwiPpkdptjqLdUb/TLzO7z9yIxKCtMnW6Ul1MzUfbBLd7JQqH
Jj1StttF28M4wQ7bFrVnlovWZ8xPeFCbmdPirlSXS9Gb7LWy0qJN2rlfO+GEzP5D
dtsJGM86vxLp5GeFyx0qonY4KOhiagHtwy3ik0HFfgN1Sws+9irITGSOSV6H9W9Q
YvaeW9EaL2eMTXd76w+dExWVjNSGRSkYMmMRt4mief4tqcZwHq7f8R7i0hW5AFt2
Ctn6l6T612jrILHo4lRWHcUioIikR7kQYECJwCeJqS+GWKI9i0Zk0HPJylN5HmA=
=AqoR
-----END PGP SIGNATURE-----

Revision history for this message
mohammad (s-m-m-1370) said :
#9

i tried it before (in my second post) it say (permission denied ) . i
try too access this file manuelly but i can't open it .an error is
shown says : (You do not have the permissions necessary to view the
contents of "dolfin". )

[Mohseni@Mohseni ~]$ ls -l /usr/local/share/dolfin/dolfin.conf
-rw-r--r-- 1 root root 603 Jul 27 21:10 /usr/local/share/dolfin/dolfin.conf

On 7/27/11, Andre Massing <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Andre Massing proposed the following answer:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/27/2011 07:46 PM, mohammad wrote:
>> Question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Answered => Open
>>
>> mohammad is still having a problem:
>> my apology i'm tired of working all day (here it's 22.08 now) .
>> after command these were shown :
>> [Mohseni@Mohseni ~]$ su -
>> Password:
>> [root@Mohseni ~]# cat /usr/local/share/dolfin/dolfin.conf
>> # Helper file for setting non-default DOLFIN environment variables
>>
>> # Common Unix variables
>> export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
>> export PATH=/usr/local/bin:$PATH
>> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
>> export
>> PYTHONPATH=/usr/local/lib/python2.6/site-packages:/usr/local/lib/python2.6/site-packages:$PYTHONPATH
>> export MANPATH=/usr/local/share/man:$MANPATH
>>
>> # Variable to help find dolfin-config.cmake
>> #export DOLFIN_CMAKE_CONFIG_PATH=/usr/local/share/cmake
>>
>> # Special Mac variables
>> export
>> DYLD_FRAMEWORK_PATH=/opt/local/Library/Frameworks:$DYLD_FRAMEWORK_PATH
>>
>> [root@Mohseni ~]#
>>
>> i check that file site-package exist there and only python 2.6 is
>> installed on my PS
>
> Hmm, I don't see any suspicious. But why did you use the sudo command?
> Can you read the file as normal user as well?
> Could it be possible that there are some problems with the file rights?
> What is the output of
>
> ls -l /usr/local/share/dolfin/dolfin.conf
>
> ?
>
> - --
> Andre
>
>>
>>
>> On 7/27/11, Andre Massing <email address hidden> wrote:
>>> Your question #166153 on DOLFIN changed:
>>> https://answers.launchpad.net/dolfin/+question/166153
>>>
>>> Status: Open => Answered
>>>
>>> Andre Massing proposed the following answer:
>> On 07/27/2011 07:11 PM, mohammad wrote:
>>>>> Question #166153 on DOLFIN changed:
>>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>>
>>>>> mohammad gave more information on the question:
>>>>> [Mohseni@Mohseni ~]$ su -
>>>>> Password:
>>>>> [root@Mohseni ~]# source
>>>>> /usr/local/lib/python2.6/site-packages/dolfin/share/dolfin/dolfin.conf
>>
>> Why do you want to do this? If you want us to help you, you have to be a
>> bit more verbose. Anyway, to check the file your sourced, do a
>> cat /usr/local/share/dolfin/dolfin.conf
>> in your terminal and show us the output of the command. And please
>> answer the question I asked you in my last post. My magic crystal ball
>> is on holidays ;)
>>
>>>
> - --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=5
>>>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>>>
> You received this question notification because you asked the question.
>>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJOMFQMAAoJEA79ggnbq9dmpCsH/Rf3T4bZaFDnT/Trb/lG4RSe
> Y2cQSMUDl/kIUMeQwiPpkdptjqLdUb/TLzO7z9yIxKCtMnW6Ul1MzUfbBLd7JQqH
> Jj1StttF28M4wQ7bFrVnlovWZ8xPeFCbmdPirlSXS9Gb7LWy0qJN2rlfO+GEzP5D
> dtsJGM86vxLp5GeFyx0qonY4KOhiagHtwy3ik0HFfgN1Sws+9irITGSOSV6H9W9Q
> YvaeW9EaL2eMTXd76w+dExWVjNSGRSkYMmMRt4mief4tqcZwHq7f8R7i0hW5AFt2
> Ctn6l6T612jrILHo4lRWHcUioIikR7kQYECJwCeJqS+GWKI9i0Zk0HPJylN5HmA=
> =AqoR
> -----END PGP SIGNATURE-----
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=7
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
Andre Massing (massing) said :
#10

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/27/2011 08:46 PM, mohammad wrote:
> Question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Answered => Open
>
> mohammad is still having a problem:
> i tried it before (in my second post) it say (permission denied ) . i
> try too access this file manuelly but i can't open it .an error is
> shown says : (You do not have the permissions necessary to view the
> contents of "dolfin". )

Yes, that is strange, since you should be able to read it as a usual user.

>
> [Mohseni@Mohseni ~]$ ls -l /usr/local/share/dolfin/dolfin.conf
> -rw-r--r-- 1 root root 603 Jul 27 21:10 /usr/local/share/dolfin/dolfin.conf

Hmm, but that looks okay. Strange, the file has these permissions, but
you cannot do a
cat /usr/local/share/dolfin/dolfin.conf
? Is that right?

- --
Andre

>
>
>
> On 7/27/11, Andre Massing <email address hidden> wrote:
>> Your question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Open => Answered
>>
>> Andre Massing proposed the following answer:
> On 07/27/2011 07:46 PM, mohammad wrote:
>>>> Question #166153 on DOLFIN changed:
>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>
>>>> Status: Answered => Open
>>>>
>>>> mohammad is still having a problem:
>>>> my apology i'm tired of working all day (here it's 22.08 now) .
>>>> after command these were shown :
>>>> [Mohseni@Mohseni ~]$ su -
>>>> Password:
>>>> [root@Mohseni ~]# cat /usr/local/share/dolfin/dolfin.conf
>>>> # Helper file for setting non-default DOLFIN environment variables
>>>>
>>>> # Common Unix variables
>>>> export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
>>>> export PATH=/usr/local/bin:$PATH
>>>> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
>>>> export
>>>> PYTHONPATH=/usr/local/lib/python2.6/site-packages:/usr/local/lib/python2.6/site-packages:$PYTHONPATH
>>>> export MANPATH=/usr/local/share/man:$MANPATH
>>>>
>>>> # Variable to help find dolfin-config.cmake
>>>> #export DOLFIN_CMAKE_CONFIG_PATH=/usr/local/share/cmake
>>>>
>>>> # Special Mac variables
>>>> export
>>>> DYLD_FRAMEWORK_PATH=/opt/local/Library/Frameworks:$DYLD_FRAMEWORK_PATH
>>>>
>>>> [root@Mohseni ~]#
>>>>
>>>> i check that file site-package exist there and only python 2.6 is
>>>> installed on my PS
>
> Hmm, I don't see any suspicious. But why did you use the sudo command?
> Can you read the file as normal user as well?
> Could it be possible that there are some problems with the file rights?
> What is the output of
>
> ls -l /usr/local/share/dolfin/dolfin.conf
>
> ?
>
>>
- --
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=7
>>
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/dolfin/+question/166153
>>
You received this question notification because you asked the question.
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOMGB8AAoJEA79ggnbq9dmG0AIAMQ5D3FwD1bJX9sMYNj2YDrf
jDV5MxiTRT9Lwc06Qw2Yno3IMu8F7TvVW3YFNIwrP6SbAoXtaptWa1tUnx6ilLZI
n48Pm1HWjQxQ6jGrO2HUFtDL+dypLL6MDCMD1BMlq1dCCKDDdqRYX9e6bCDT6tAb
eD0Pi2kKGuXRkuOe0j9tIW0Fhtg87uY9RortXOHHH7LpI5fF7Zp7Q1SZ11QMoDxD
SMSySc02OFf6V5HRUk8IvvS0i3Z2nqAeOuSJDNPEQ/+9Kls/cLxgfIKa5uooOh2V
ZSgVUDLcJWWA4r67xves5bP0oCI0qYzj3zMK+tpYqw5JHDYPTaUAXel1zQPLanA=
=gCrY
-----END PGP SIGNATURE-----

Revision history for this message
mohammad (s-m-m-1370) said :
#11

i don't understand (
Hmm, but that looks okay. Strange, the file has these permissions, but
you cannot do a
cat /usr/local/share/dolfin/dolfin.conf
? Is that right?)
when i write these on terminal results are :
[Mohseni@Mohseni ~]$ cat /usr/local/share/dolfin/dolfin.conf
# Helper file for setting non-default DOLFIN environment variables

# Common Unix variables
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PATH=/usr/local/bin:$PATH
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export PYTHONPATH=/usr/local/lib/python2.6/site-packages:/usr/local/lib/python2.6/site-packages:$PYTHONPATH
export MANPATH=/usr/local/share/man:$MANPATH

# Variable to help find dolfin-config.cmake
#export DOLFIN_CMAKE_CONFIG_PATH=/usr/local/share/cmake

# Special Mac variables
export DYLD_FRAMEWORK_PATH=/opt/local/Library/Frameworks:$DYLD_FRAMEWORK_PATH

On 7/27/11, Andre Massing <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Andre Massing proposed the following answer:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/27/2011 08:46 PM, mohammad wrote:
>> Question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Answered => Open
>>
>> mohammad is still having a problem:
>> i tried it before (in my second post) it say (permission denied ) . i
>> try too access this file manuelly but i can't open it .an error is
>> shown says : (You do not have the permissions necessary to view the
>> contents of "dolfin". )
>
> Yes, that is strange, since you should be able to read it as a usual
> user.
>
>>
>> [Mohseni@Mohseni ~]$ ls -l /usr/local/share/dolfin/dolfin.conf
>> -rw-r--r-- 1 root root 603 Jul 27 21:10
>> /usr/local/share/dolfin/dolfin.conf
>
> Hmm, but that looks okay. Strange, the file has these permissions, but
> you cannot do a
> cat /usr/local/share/dolfin/dolfin.conf
> ? Is that right?
>
> - --
> Andre
>
>
>>
>>
>>
>> On 7/27/11, Andre Massing <email address hidden> wrote:
>>> Your question #166153 on DOLFIN changed:
>>> https://answers.launchpad.net/dolfin/+question/166153
>>>
>>> Status: Open => Answered
>>>
>>> Andre Massing proposed the following answer:
>> On 07/27/2011 07:46 PM, mohammad wrote:
>>>>> Question #166153 on DOLFIN changed:
>>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>>
>>>>> Status: Answered => Open
>>>>>
>>>>> mohammad is still having a problem:
>>>>> my apology i'm tired of working all day (here it's 22.08 now) .
>>>>> after command these were shown :
>>>>> [Mohseni@Mohseni ~]$ su -
>>>>> Password:
>>>>> [root@Mohseni ~]# cat /usr/local/share/dolfin/dolfin.conf
>>>>> # Helper file for setting non-default DOLFIN environment variables
>>>>>
>>>>> # Common Unix variables
>>>>> export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
>>>>> export PATH=/usr/local/bin:$PATH
>>>>> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
>>>>> export
>>>>> PYTHONPATH=/usr/local/lib/python2.6/site-packages:/usr/local/lib/python2.6/site-packages:$PYTHONPATH
>>>>> export MANPATH=/usr/local/share/man:$MANPATH
>>>>>
>>>>> # Variable to help find dolfin-config.cmake
>>>>> #export DOLFIN_CMAKE_CONFIG_PATH=/usr/local/share/cmake
>>>>>
>>>>> # Special Mac variables
>>>>> export
>>>>> DYLD_FRAMEWORK_PATH=/opt/local/Library/Frameworks:$DYLD_FRAMEWORK_PATH
>>>>>
>>>>> [root@Mohseni ~]#
>>>>>
>>>>> i check that file site-package exist there and only python 2.6 is
>>>>> installed on my PS
>>
>> Hmm, I don't see any suspicious. But why did you use the sudo command?
>> Can you read the file as normal user as well?
>> Could it be possible that there are some problems with the file rights?
>> What is the output of
>>
>> ls -l /usr/local/share/dolfin/dolfin.conf
>>
>> ?
>>
>>>
> - --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=7
>>>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>>>
> You received this question notification because you asked the question.
>>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJOMGB8AAoJEA79ggnbq9dmG0AIAMQ5D3FwD1bJX9sMYNj2YDrf
> jDV5MxiTRT9Lwc06Qw2Yno3IMu8F7TvVW3YFNIwrP6SbAoXtaptWa1tUnx6ilLZI
> n48Pm1HWjQxQ6jGrO2HUFtDL+dypLL6MDCMD1BMlq1dCCKDDdqRYX9e6bCDT6tAb
> eD0Pi2kKGuXRkuOe0j9tIW0Fhtg87uY9RortXOHHH7LpI5fF7Zp7Q1SZ11QMoDxD
> SMSySc02OFf6V5HRUk8IvvS0i3Z2nqAeOuSJDNPEQ/+9Kls/cLxgfIKa5uooOh2V
> ZSgVUDLcJWWA4r67xves5bP0oCI0qYzj3zMK+tpYqw5JHDYPTaUAXel1zQPLanA=
> =gCrY
> -----END PGP SIGNATURE-----
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=9
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
Andre Massing (massing) said :
#12

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/27/2011 09:15 PM, mohammad wrote:
> Question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Answered => Open
>
> mohammad is still having a problem:
> i don't understand (

Sorry, I was a bit confused by the fact that you used the sudo command
to read some of the files. Did you already check the mentioned python
folder, whether it contains python files? What is the output

ls -lR /usr/local/lib/python2.6/site-packages/dolfin

?
Otherwise, how did you install DOLFIN by the way?
I am leaving right now, so I won't check emails before tomorrow. And I
guess it is really late at your place :)

Cheers,
Andre

> Hmm, but that looks okay. Strange, the file has these permissions, but
> you cannot do a
> cat /usr/local/share/dolfin/dolfin.conf
> ? Is that right?)
> when i write these on terminal results are :
> [Mohseni@Mohseni ~]$ cat /usr/local/share/dolfin/dolfin.conf
> # Helper file for setting non-default DOLFIN environment variables
>
> # Common Unix variables
> export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
> export PATH=/usr/local/bin:$PATH
> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
> export PYTHONPATH=/usr/local/lib/python2.6/site-packages:/usr/local/lib/python2.6/site-packages:$PYTHONPATH
> export MANPATH=/usr/local/share/man:$MANPATH
>
> # Variable to help find dolfin-config.cmake
> #export DOLFIN_CMAKE_CONFIG_PATH=/usr/local/share/cmake
>
> # Special Mac variables
> export DYLD_FRAMEWORK_PATH=/opt/local/Library/Frameworks:$DYLD_FRAMEWORK_PATH
>
>
> On 7/27/11, Andre Massing <email address hidden> wrote:
>> Your question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Open => Answered
>>
>> Andre Massing proposed the following answer:
> On 07/27/2011 08:46 PM, mohammad wrote:
>>>> Question #166153 on DOLFIN changed:
>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>
>>>> Status: Answered => Open
>>>>
>>>> mohammad is still having a problem:
>>>> i tried it before (in my second post) it say (permission denied ) . i
>>>> try too access this file manuelly but i can't open it .an error is
>>>> shown says : (You do not have the permissions necessary to view the
>>>> contents of "dolfin". )
>
> Yes, that is strange, since you should be able to read it as a usual
> user.
>
>>>>
>>>> [Mohseni@Mohseni ~]$ ls -l /usr/local/share/dolfin/dolfin.conf
>>>> -rw-r--r-- 1 root root 603 Jul 27 21:10
>>>> /usr/local/share/dolfin/dolfin.conf
>
> Hmm, but that looks okay. Strange, the file has these permissions, but
> you cannot do a
> cat /usr/local/share/dolfin/dolfin.conf
> ? Is that right?
>
>>
- --
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=9
>>
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/dolfin/+question/166153
>>
You received this question notification because you asked the question.
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOMGbNAAoJEA79ggnbq9dmEqEH/i8jzHjWOfM2AcnmK2XlCX4g
XAuWLXn+FOmRPfevgyPe9dwVBEtKKibEQVF3wAKAmBKcKsNXBvwOXVcotoUKArY4
gc52a38XUa3D80bMSTX/dEp3P2I2EqXk6jtwpqShdLV+BtRedChpVEtlL7rceuBS
1g765ru6S6v9CooWDiI5B1ITN4IWagFHWPfeS9G3/gOkdRgnY32ipthcXDvNGPO2
LtFaU0NCXhCzziZvv7IK39+oBPd8D4hO9qUbTVa4v8MPfkEXlqFrNgvldnmcLNdT
WCGCMNIJxgT6+TBPfz5Kb2wAm9mAjKWEbNAQU+LVlKKB826P0sKByP5Hd/J26To=
=Z4Q8
-----END PGP SIGNATURE-----

Revision history for this message
mohammad (s-m-m-1370) said :
#13

if you mean (/usr/local/lib/python2.6/site-packages ) yes there are
(dolfin_utils ,ufc,ufc_utils)and dolfin there but if you mean
(/usr/local/lib/python2.6/site-packages/dolfin) i can't see

[Mohseni@Mohseni ~]$ ls -lR /usr/local/lib/python2.6/site-packages/dolfin
ls: cannot open directory
/usr/local/lib/python2.6/site-packages/dolfin: Permission denied

for installation i download needed packages and installed them then
installed dolfin with commands below :
cmake .
make
make install

On 7/28/11, Andre Massing <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Andre Massing proposed the following answer:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/27/2011 09:15 PM, mohammad wrote:
>> Question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Answered => Open
>>
>> mohammad is still having a problem:
>> i don't understand (
>
> Sorry, I was a bit confused by the fact that you used the sudo command
> to read some of the files. Did you already check the mentioned python
> folder, whether it contains python files? What is the output
>
> ls -lR /usr/local/lib/python2.6/site-packages/dolfin
>
> ?
> Otherwise, how did you install DOLFIN by the way?
> I am leaving right now, so I won't check emails before tomorrow. And I
> guess it is really late at your place :)
>
> Cheers,
> Andre
>
>
>
>> Hmm, but that looks okay. Strange, the file has these permissions, but
>> you cannot do a
>> cat /usr/local/share/dolfin/dolfin.conf
>> ? Is that right?)
>> when i write these on terminal results are :
>> [Mohseni@Mohseni ~]$ cat /usr/local/share/dolfin/dolfin.conf
>> # Helper file for setting non-default DOLFIN environment variables
>>
>> # Common Unix variables
>> export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
>> export PATH=/usr/local/bin:$PATH
>> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
>> export
>> PYTHONPATH=/usr/local/lib/python2.6/site-packages:/usr/local/lib/python2.6/site-packages:$PYTHONPATH
>> export MANPATH=/usr/local/share/man:$MANPATH
>>
>> # Variable to help find dolfin-config.cmake
>> #export DOLFIN_CMAKE_CONFIG_PATH=/usr/local/share/cmake
>>
>> # Special Mac variables
>> export
>> DYLD_FRAMEWORK_PATH=/opt/local/Library/Frameworks:$DYLD_FRAMEWORK_PATH
>>
>>
>> On 7/27/11, Andre Massing <email address hidden> wrote:
>>> Your question #166153 on DOLFIN changed:
>>> https://answers.launchpad.net/dolfin/+question/166153
>>>
>>> Status: Open => Answered
>>>
>>> Andre Massing proposed the following answer:
>> On 07/27/2011 08:46 PM, mohammad wrote:
>>>>> Question #166153 on DOLFIN changed:
>>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>>
>>>>> Status: Answered => Open
>>>>>
>>>>> mohammad is still having a problem:
>>>>> i tried it before (in my second post) it say (permission denied ) . i
>>>>> try too access this file manuelly but i can't open it .an error is
>>>>> shown says : (You do not have the permissions necessary to view the
>>>>> contents of "dolfin". )
>>
>> Yes, that is strange, since you should be able to read it as a usual
>> user.
>>
>>>>>
>>>>> [Mohseni@Mohseni ~]$ ls -l /usr/local/share/dolfin/dolfin.conf
>>>>> -rw-r--r-- 1 root root 603 Jul 27 21:10
>>>>> /usr/local/share/dolfin/dolfin.conf
>>
>> Hmm, but that looks okay. Strange, the file has these permissions, but
>> you cannot do a
>> cat /usr/local/share/dolfin/dolfin.conf
>> ? Is that right?
>>
>>>
> - --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=9
>>>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>>>
> You received this question notification because you asked the question.
>>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJOMGbNAAoJEA79ggnbq9dmEqEH/i8jzHjWOfM2AcnmK2XlCX4g
> XAuWLXn+FOmRPfevgyPe9dwVBEtKKibEQVF3wAKAmBKcKsNXBvwOXVcotoUKArY4
> gc52a38XUa3D80bMSTX/dEp3P2I2EqXk6jtwpqShdLV+BtRedChpVEtlL7rceuBS
> 1g765ru6S6v9CooWDiI5B1ITN4IWagFHWPfeS9G3/gOkdRgnY32ipthcXDvNGPO2
> LtFaU0NCXhCzziZvv7IK39+oBPd8D4hO9qUbTVa4v8MPfkEXlqFrNgvldnmcLNdT
> WCGCMNIJxgT6+TBPfz5Kb2wAm9mAjKWEbNAQU+LVlKKB826P0sKByP5Hd/J26To=
> =Z4Q8
> -----END PGP SIGNATURE-----
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=11
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
Andre Massing (massing) said :
#14

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/27/2011 09:45 PM, mohammad wrote:
> Question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Answered => Open
>
> mohammad is still having a problem:
> if you mean (/usr/local/lib/python2.6/site-packages ) yes there are
> (dolfin_utils ,ufc,ufc_utils)and dolfin there but if you mean
> (/usr/local/lib/python2.6/site-packages/dolfin) i can't see

OK, that should be there, so your DOLFIN installation is not complete.

>
> [Mohseni@Mohseni ~]$ ls -lR /usr/local/lib/python2.6/site-packages/dolfin
> ls: cannot open directory
> /usr/local/lib/python2.6/site-packages/dolfin: Permission denied
>
> for installation i download needed packages and installed them then
> installed dolfin with commands below :
> cmake .
> make
> make install

What about the other FEniCS components? Your need install all the
requirements like ufl, ufc, ffc, instant, viper and some other external
scientific packages. If you haven't installed those, you may want to
look at

http://www.fenicsproject.org/installation/installation.html

especially the section about Dorsal. Dorsal can be used to perform a
complete installation. The only caveat is that rhel4 platform is marked
as deprecated among the platforms supported by Dorsal, so some tweaks
might be required if Dorsal does not run through.

If you have already installed all the required packages, then the output
of the cmake call would be interesting.

HTH,
Andre

>
>
> On 7/28/11, Andre Massing <email address hidden> wrote:
>> Your question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Open => Answered
>>
>> Andre Massing proposed the following answer:
> On 07/27/2011 09:15 PM, mohammad wrote:
>>>> Question #166153 on DOLFIN changed:
>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>
>>>> Status: Answered => Open
>>>>
>>>> mohammad is still having a problem:
>>>> i don't understand (
>
> Sorry, I was a bit confused by the fact that you used the sudo command
> to read some of the files. Did you already check the mentioned python
> folder, whether it contains python files? What is the output
>
> ls -lR /usr/local/lib/python2.6/site-packages/dolfin
>
> ?
> Otherwise, how did you install DOLFIN by the way?
> I am leaving right now, so I won't check emails before tomorrow. And I
> guess it is really late at your place :)
>
> Cheers,
> Andre
>
>
>
>>>> Hmm, but that looks okay. Strange, the file has these permissions, but
>>>> you cannot do a
>>>> cat /usr/local/share/dolfin/dolfin.conf
>>>> ? Is that right?)
>>>> when i write these on terminal results are :
>>>> [Mohseni@Mohseni ~]$ cat /usr/local/share/dolfin/dolfin.conf
>>>> # Helper file for setting non-default DOLFIN environment variables
>>>>
>>>> # Common Unix variables
>>>> export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
>>>> export PATH=/usr/local/bin:$PATH
>>>> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
>>>> export
>>>> PYTHONPATH=/usr/local/lib/python2.6/site-packages:/usr/local/lib/python2.6/site-packages:$PYTHONPATH
>>>> export MANPATH=/usr/local/share/man:$MANPATH
>>>>
>>>> # Variable to help find dolfin-config.cmake
>>>> #export DOLFIN_CMAKE_CONFIG_PATH=/usr/local/share/cmake
>>>>
>>>> # Special Mac variables
>>>> export
>>>> DYLD_FRAMEWORK_PATH=/opt/local/Library/Frameworks:$DYLD_FRAMEWORK_PATH
>>>>
>>>>
>>>> On 7/27/11, Andre Massing <email address hidden> wrote:
>>>>> Your question #166153 on DOLFIN changed:
>>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>>
>>>>> Status: Open => Answered
>>>>>
>>>>> Andre Massing proposed the following answer:
>>>> On 07/27/2011 08:46 PM, mohammad wrote:
>>>>>>> Question #166153 on DOLFIN changed:
>>>>>>> https://answers.launchpad.net/dolfin/+question/166153
>>>>>>>
>>>>>>> Status: Answered => Open
>>>>>>>
>>>>>>> mohammad is still having a problem:
>>>>>>> i tried it before (in my second post) it say (permission denied ) . i
>>>>>>> try too access this file manuelly but i can't open it .an error is
>>>>>>> shown says : (You do not have the permissions necessary to view the
>>>>>>> contents of "dolfin". )
>>>>
>>>> Yes, that is strange, since you should be able to read it as a usual
>>>> user.
>>>>
>>>>>>>
>>>>>>> [Mohseni@Mohseni ~]$ ls -l /usr/local/share/dolfin/dolfin.conf
>>>>>>> -rw-r--r-- 1 root root 603 Jul 27 21:10
>>>>>>> /usr/local/share/dolfin/dolfin.conf
>>>>
>>>> Hmm, but that looks okay. Strange, the file has these permissions, but
>>>> you cannot do a
>>>> cat /usr/local/share/dolfin/dolfin.conf
>>>> ? Is that right?
>>>>
>>>>>
>>
- --
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=11
>>
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/dolfin/+question/166153
>>
You received this question notification because you asked the question.
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOMUSTAAoJEA79ggnbq9dmoWIH/2xBDFVMSjHt7eyyzEyv60Sy
G/cDZUC8ItE1xRgWoFGcJwyuS3onPo1WA0xEN86PuANTBHAj04eWK+H3hT6YRT0j
ys2czbxclET4aI7kd9e8aOKbAGmA8E/4xQTjLLG1DNZhvPOPDARIkdy7sOdyfmWp
Mo/tS/MmKlKONgk2t78yKajEPzz68pKD2xQtI9o+MwMrbrsR1gOWZexSCF/PT7pw
q4lC+vd54+Ih9VYGRvhOHnUZFa7k5LDgkUrmuOwbj+ZKxLRFBKOr9dqtARWleFMb
NXNw8OXEplOvbcSTCCYEO17traDeD56I5ajIxyk8dqSL5+RKWXWScqpxAHq3WJQ=
=0VkD
-----END PGP SIGNATURE-----

Revision history for this message
Harish Narayanan (hnarayanan) said :
#15

Wasn't he interested in Fedora 13 (not rhel4)? (It is almost impossible to get things working on rhel4).

Revision history for this message
Andre Massing (massing) said :
#16

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/28/2011 02:26 PM, Harish Narayanan wrote:
> Question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Harish Narayanan posted a new comment:
> Wasn't he interested in Fedora 13 (not rhel4)? (It is almost impossible
> to get things working on rhel4).

Yes, Harish right, my apologies, it was too late for me yesterday,
thought I read something about redhat 4... Anyway, I guess that
increases tjhe chances to get it installed, right :)

@Mohammed: Installing instructions apply as before, since Dorsal should
detect your system automatically and fedora 13 belongs to the platforms
supported by Dorsal.
So give it try and with a bit of luck you have soon a functional
FEniCS/DOLFIN installation!

- --
Andre

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOMWS5AAoJEA79ggnbq9dmO/4IAMhDq7iNStrD8o623mfq+Bpc
HI64atAV2m//URn1yodraZg86jZEnODNedxY9YTmAh03N1mIoShC0gt2Dm4UA54s
/gtpiNlW+HDp6tzV9iPQVjCnRWfPqAvNjgehjZeuCmMh6XGsqlb8d4PETzSC2K1k
HbPmNy8RXlYuV5C3sA8fQhvcw50DALbGppBUkmluMVMG0u3EE4Z2mR+eLYObr5DU
YAnxwg1OeCCkgpM41Eq40oDpsFJy61E6hpbrLyIAIhfTRAKtE2TskPMeFlvlhYj3
Jwb+xjCEHcTPtsvIwOHIMPA9ZVQkX8INgG2iDJjEaGYCwz9eAjiBB6c9Hm38ksw=
=6rIS
-----END PGP SIGNATURE-----

Revision history for this message
mohammad (s-m-m-1370) said :
#17

when i run dorsal it show :
Fetching ParMetis-3.1.1
--2011-08-02 20:55:58--
http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/ParMetis-3.1.1.tar.gz
Resolving glaros.dtc.umn.edu... 160.94.77.162
Connecting to glaros.dtc.umn.edu|160.94.77.162|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-08-02 20:55:58 ERROR 404: Not Found.

Failure with exit status: 8
Exit message: Error fetching ParMetis-3.1.1.

On 7/28/11, Andre Massing <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Andre Massing proposed the following answer:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/28/2011 02:26 PM, Harish Narayanan wrote:
>> Question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Harish Narayanan posted a new comment:
>> Wasn't he interested in Fedora 13 (not rhel4)? (It is almost impossible
>> to get things working on rhel4).
>
> Yes, Harish right, my apologies, it was too late for me yesterday,
> thought I read something about redhat 4... Anyway, I guess that
> increases tjhe chances to get it installed, right :)
>
> @Mohammed: Installing instructions apply as before, since Dorsal should
> detect your system automatically and fedora 13 belongs to the platforms
> supported by Dorsal.
> So give it try and with a bit of luck you have soon a functional
> FEniCS/DOLFIN installation!
>
> - --
> Andre
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJOMWS5AAoJEA79ggnbq9dmO/4IAMhDq7iNStrD8o623mfq+Bpc
> HI64atAV2m//URn1yodraZg86jZEnODNedxY9YTmAh03N1mIoShC0gt2Dm4UA54s
> /gtpiNlW+HDp6tzV9iPQVjCnRWfPqAvNjgehjZeuCmMh6XGsqlb8d4PETzSC2K1k
> HbPmNy8RXlYuV5C3sA8fQhvcw50DALbGppBUkmluMVMG0u3EE4Z2mR+eLYObr5DU
> YAnxwg1OeCCkgpM41Eq40oDpsFJy61E6hpbrLyIAIhfTRAKtE2TskPMeFlvlhYj3
> Jwb+xjCEHcTPtsvIwOHIMPA9ZVQkX8INgG2iDJjEaGYCwz9eAjiBB6c9Hm38ksw=
> =6rIS
> -----END PGP SIGNATURE-----
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=15
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
Johannes Ring (johannr) said :
#18

ParMETIS 3.1.1 is no longer available from that web page. This is fixed (updated to version 3.2.0) in the development version of Dorsal. You can get it by running

  bzr branch lp:dorsal

Revision history for this message
mohammad (s-m-m-1370) said :
#19

i run the command but it doesnt work how can i change address manually

On 8/2/11, Johannes Ring <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Johannes Ring proposed the following answer:
> ParMETIS 3.1.1 is no longer available from that web page. This is fixed
> (updated to version 3.2.0) in the development version of Dorsal. You can
> get it by running
>
> bzr branch lp:dorsal
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=17
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
Johannes Ring (johannr) said :
#20

See FEniCS/packages/parmetis.package in Dorsal.

Revision history for this message
mohammad (s-m-m-1370) said :
#21

last problem was solved but :
Unpacking ParMetis-3.1.1
Building ParMetis-3.1.1
mpicc -DNDEBUG -fPIC -O3 -I. -c coarsen.c
make: mpicc: Command not found
make: *** [coarsen.o] Error 127
Failure with exit status: 2
Exit message: There was a problem building ParMetis-3.1.1.

On 8/2/11, Johannes Ring <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Johannes Ring proposed the following answer:
> See FEniCS/packages/parmetis.package in Dorsal.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=19
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
Johannes Ring (johannr) said :
#22

You need the MPI compiler wrapper mpicc to build ParMETIS with Dorsal.

Revision history for this message
mohammad (s-m-m-1370) said :
#23

excuseme build was copleted should i run another command if how run fenics

On 8/2/11, Johannes Ring <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Johannes Ring proposed the following answer:
> You need the MPI compiler wrapper mpicc to build ParMETIS with Dorsal.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=21
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
mohammad (s-m-m-1370) said :
#24

but problem isn't solved yet :
[Mohseni@Mohseni ~]$ python
Python 2.6.4 (r264:75706, Jun 4 2010, 18:20:16)
[GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from dolfin import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named dolfin

i run these after runing dorsal and it finishing

On 8/2/11, mohammad <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Answered => Open
>
> You are still having a problem:
> excuseme build was copleted should i run another command if how run
> fenics
>
> On 8/2/11, Johannes Ring <email address hidden> wrote:
>> Your question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Open => Answered
>>
>> Johannes Ring proposed the following answer:
>> You need the MPI compiler wrapper mpicc to build ParMETIS with Dorsal.
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=21
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> You received this question notification because you asked the question.
>>
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Johannes Ring (johannr) said :
#25

If Dorsal finished successfully, you should get a message like this:

  To update your environment variables, run the following command:

      source </some/path>/share/dolfin/dolfin.conf

Did you do that?

Revision history for this message
mohammad (s-m-m-1370) said :
#26

no

On 8/3/11, Johannes Ring <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Johannes Ring proposed the following answer:
> If Dorsal finished successfully, you should get a message like this:
>
> To update your environment variables, run the following command:
>
> source </some/path>/share/dolfin/dolfin.conf
>
> Did you do that?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=24
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
mohammad (s-m-m-1370) said :
#27

make: Leaving directory `/root/Work/FEniCS/src/dolfin-0.9.10/dorsal_build_dir'
Build finished.
[root@Mohseni dorsal-0.8.2]# source /root/Work/FEniCS/share/dolfin/dolfin.conf
[root@Mohseni dorsal-0.8.2]#

i do . now what shoud i do ?

On 8/3/11, mohammad <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Answered => Open
>
> You are still having a problem:
> no
>
> On 8/3/11, Johannes Ring <email address hidden> wrote:
>> Your question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Open => Answered
>>
>> Johannes Ring proposed the following answer:
>> If Dorsal finished successfully, you should get a message like this:
>>
>> To update your environment variables, run the following command:
>>
>> source </some/path>/share/dolfin/dolfin.conf
>>
>> Did you do that?
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=24
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> You received this question notification because you asked the question.
>>
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Johannes Ring (johannr) said :
#28

Try to run one of the demo programs in the $INSTALL_PATH/share/dolfin/demo directory.

Revision history for this message
mohammad (s-m-m-1370) said :
#29

[Mohseni@Mohseni ~]$ cd /home/Mohseni/Desktop .
[Mohseni@Mohseni Desktop]$ python diffusion2D_D1.py
Traceback (most recent call last):
  File "diffusion2D_D1.py", line 7, in <module>
    from dolfin import *
ImportError: No module named dolfin
[Mohseni@Mohseni Desktop]$

how can i know where the installation path is ?

On 8/3/11, Johannes Ring <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Johannes Ring proposed the following answer:
> Try to run one of the demo programs in the
> $INSTALL_PATH/share/dolfin/demo directory.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=27
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
Johannes Ring (johannr) said :
#30

In your case INSTALLATION_PATH is /root/Work/FEniCS (you can specify this in dorsal.cfg).

Open a new terminal and try this:

  source /root/Work/FEniCS/share/dolfin/dolfin.conf
  cd /root/Work/FEniCS/share/dolfin/demo/pde/poisson/python
  python *.py

If you still get "ImportError: No module named dolfin", you will need to go back and look for any clues in the output from the configure stage of DOLFIN. Maybe Python support was disabled for some reason.

Revision history for this message
mohammad (s-m-m-1370) said :
#31

i run the command :
[root@Mohseni python]# python *.py
Traceback (most recent call last):
  File "demo.py", line 22, in <module>
    from dolfin import *
  File "/root/Work/FEniCS/lib/python2.6/site-packages/dolfin/__init__.py",
line 10, in <module>
    from dolfin.cppimports import *
  File "/root/Work/FEniCS/lib/python2.6/site-packages/dolfin/cppimports.py",
line 4, in <module>
    import dolfin.cpp as cpp
  File "/root/Work/FEniCS/lib/python2.6/site-packages/dolfin/cpp.py",
line 30, in <module>
    _cpp = swig_import_helper()
  File "/root/Work/FEniCS/lib/python2.6/site-packages/dolfin/cpp.py",
line 26, in swig_import_helper
    _mod = imp.load_module('_cpp', fp, pathname, description)
ImportError: libmpi_f90.so.0: cannot open shared object file: No such
file or directory
[root@Mohseni python]#

and when i want to open root there is a cross on the icon and when i
want to open it an error is shown that You do not have the permissions

On 8/3/11, Johannes Ring <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Johannes Ring proposed the following answer:
> In your case INSTALLATION_PATH is /root/Work/FEniCS (you can specify
> this in dorsal.cfg).
>
> Open a new terminal and try this:
>
> source /root/Work/FEniCS/share/dolfin/dolfin.conf
> cd /root/Work/FEniCS/share/dolfin/demo/pde/poisson/python
> python *.py
>
> If you still get "ImportError: No module named dolfin", you will need to
> go back and look for any clues in the output from the configure stage of
> DOLFIN. Maybe Python support was disabled for some reason.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=29
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
Johannes Ring (johannr) said :
#32

It is probably not a good idea to install FEniCS to /root. Why do you run Dorsal as the root user?

Regarding your error message: Try to find out where libmpi_f90.so.0 is located (run "locate libmpi_f90.so.0") and add that path to LD_LIBRARY_PATH.

Revision history for this message
mohammad (s-m-m-1370) said :
#33

how can i clean all thing installed with dorsal and reinstall them ?

On 8/4/11, Johannes Ring <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Johannes Ring proposed the following answer:
> It is probably not a good idea to install FEniCS to /root. Why do you
> run Dorsal as the root user?
>
> Regarding your error message: Try to find out where libmpi_f90.so.0 is
> located (run "locate libmpi_f90.so.0") and add that path to
> LD_LIBRARY_PATH.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=31
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
mohammad (s-m-m-1370) said :
#34

i run dorsal again without su - and after build complete and running a
demo it work perfectly but when i close the terminal and try it in
another terminal again these was shown so i think if i clean all
installation and reinstall the problem be solved . what's your opinion
?

 [Mohseni@Mohseni ~]$ cd
/home/Mohseni/Work/FEniCS/share/dolfin/demo/pde/poisson/python .
[Mohseni@Mohseni python]$ python demo.py
Traceback (most recent call last):
  File "demo.py", line 22, in <module>
    from dolfin import *
ImportError: No module named dolfin
[Mohseni@Mohseni python]$

On 8/7/11, mohammad <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Answered => Open
>
> You are still having a problem:
> how can i clean all thing installed with dorsal and reinstall them ?
>
> On 8/4/11, Johannes Ring <email address hidden> wrote:
>> Your question #166153 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> Status: Open => Answered
>>
>> Johannes Ring proposed the following answer:
>> It is probably not a good idea to install FEniCS to /root. Why do you
>> run Dorsal as the root user?
>>
>> Regarding your error message: Try to find out where libmpi_f90.so.0 is
>> located (run "locate libmpi_f90.so.0") and add that path to
>> LD_LIBRARY_PATH.
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=31
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/dolfin/+question/166153
>>
>> You received this question notification because you asked the question.
>>
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Johannes Ring (johannr) said :
#35

You need to run

  source /home/Mohseni/Work/FEniCS/share/dolfin/dolfin.conf

after you start a new terminal.

Revision history for this message
mohammad (s-m-m-1370) said :
#36

i do that now and :
[Mohseni@Mohseni ~]$ source /home/Mohseni/Work/FEniCS/share/dolfin/dolfin.conf
[Mohseni@Mohseni ~]$ cd /home/Mohseni/Desktop .
[Mohseni@Mohseni Desktop]$ python diffusion2D_D1.py
Traceback (most recent call last):
  File "diffusion2D_D1.py", line 7, in <module>
    from dolfin import *
  File "/home/Mohseni/Work/FEniCS/lib/python2.6/site-packages/dolfin/__init__.py",
line 10, in <module>
    from dolfin.cppimports import *
  File "/home/Mohseni/Work/FEniCS/lib/python2.6/site-packages/dolfin/cppimports.py",
line 4, in <module>
    import dolfin.cpp as cpp
  File "/home/Mohseni/Work/FEniCS/lib/python2.6/site-packages/dolfin/cpp.py",
line 30, in <module>
    _cpp = swig_import_helper()
  File "/home/Mohseni/Work/FEniCS/lib/python2.6/site-packages/dolfin/cpp.py",
line 26, in swig_import_helper
    _mod = imp.load_module('_cpp', fp, pathname, description)
ImportError: libmpi_f90.so.0: cannot open shared object file: No such
file or directory
[Mohseni@Mohseni Desktop]$

On 8/7/11, Johannes Ring <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Johannes Ring proposed the following answer:
> You need to run
>
> source /home/Mohseni/Work/FEniCS/share/dolfin/dolfin.conf
>
> after you start a new terminal.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=34
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
Johannes Ring (johannr) said :
#37

We have already been through this.

Revision history for this message
mohammad (s-m-m-1370) said :
#38

yes but i dont know about adding path to
LD_LIBRARY_PATH

On 8/7/11, Johannes Ring <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Johannes Ring posted a new comment:
> We have already been through this.
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Johannes Ring (johannr) said :
#39

First, you must locate the missing library, that is, libmpi_f90.so.0. Try for instance to run the following command in a terminal:

  locate libmpi_f90.so.0

If you for instance get something like this:

  /usr/lib/openmpi/lib/libmpi_f90.so.0

then you will need to add /usr/lib/openmpi/lib to LD_LIBRARY_PATH. You can do this by running the following command after you source dolfin.conf:

  export LD_LIBRARY_PATH=/usr/lib/openmpi/lib:$LD_LIBRARY_PATH

Revision history for this message
mohammad (s-m-m-1370) said :
#40

all problems were solved thank you very much for your help

On 8/9/11, Johannes Ring <email address hidden> wrote:
> Your question #166153 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/166153
>
> Status: Open => Answered
>
> Johannes Ring proposed the following answer:
> First, you must locate the missing library, that is, libmpi_f90.so.0.
> Try for instance to run the following command in a terminal:
>
> locate libmpi_f90.so.0
>
> If you for instance get something like this:
>
> /usr/lib/openmpi/lib/libmpi_f90.so.0
>
> then you will need to add /usr/lib/openmpi/lib to LD_LIBRARY_PATH. You
> can do this by running the following command after you source
> dolfin.conf:
>
> export LD_LIBRARY_PATH=/usr/lib/openmpi/lib:$LD_LIBRARY_PATH
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/166153/+confirm?answer_id=38
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/166153
>
> You received this question notification because you asked the question.
>

Revision history for this message
mohammad (s-m-m-1370) said :
#41

thanks a lot