dorsal team mailing list archive
-
dorsal team
-
Mailing list archive
-
Message #00567
Re: Configuring Trilinos with local Python interpreter
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/03/2011 11:52 AM, Benjamin Kehlet wrote:
> On 3 August 2011 10:20, Harish Narayanan <harish.mlists@xxxxxxxxx> wrote:
>> On 8/3/11 10:13 AM, Johannes Ring wrote:
>>> On Wed, Aug 3, 2011 at 10:09 AM, Harish Narayanan
>>> <harish.mlists@xxxxxxxxx> wrote:
>>>> On 8/3/11 9:56 AM, Johannes Ring wrote:
>>>>> On Mon, Jul 25, 2011 at 1:46 AM, Benjamin Kehlet <benjamik@xxxxxxxxx> wrote:
>>>>>> When building Trilinos to see the newly installed Python (also
>>>>>> installed by Dorsal). The reason is apparantly that the cmake routine
>>>>>> FindPythonInterp sees the systemwide installation of python before
>>>>>> the new locally installed python interpreter.
>>>>>>
>>>>>> Is it possible that Dorsal can handle this the same way as it handles
>>>>>> Swig? This means
>>>>>> * Add to python.package
>>>>>> package_specific_register() {
>>>>>> export PYTHON_EXECUTABLE=${INSTALL_PATH}/bin/python
>>>>>> }
>>>>>>
>>>>>> * Add to trilinos.package
>>>>>> if [ -x "${PYTHON_EXECUTABLE}" ]; then
>>>>>> CONFOPTS="${CONFOPTS} -D PYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE}"
>>>>>> fi
>>>>>
>>>>> Yes, it should be possible, but probably not enough. We would also
>>>>> need to define PYTHON_INCLUDE_DIR and maybe also PYTHON_LIBRARY on
>>>>> some platforms. This will also need to be added in (at least)
>>>>> ufc.package and dolfin.package. Does any of the supported platform
>>>>> files require Python to be built from source?
>>>>
>>>> No.
>>>
>>> Ok. Then I'm not sure it is worth it?
>>
>> If any of this is really necessary, someone who is interested in
>> supporting a non-standard platform has to commit to making and
>> maintaining relevant changes. So Benjamin, if you really want to do
>> this, you can. It is just that you need to be the one supporting the
>> changes because others working on Dorsal do not have SLED/opensuse to
>> test on.
>
> It was not my intention to ask you to do a lot of work for me. I was
> actually thinking of this more as a minor bug, since all packages
> seemed to pick up the newly installed Python fine, except Trilinos
> (and that seemed to work by setting PYTHON_EXECUTABLE).
>
> Anyway, I'm not working much on SLED and there are other issues making
> it non-trivial to build Fenics, so I don't think it is worth the
> effort to try. On the other hand, OpenSUSE 11.4 should be very easy to
> support. It is likely that the opensuse11.3.platform file will work
> unmodified. I will check that. Andre is working on openSUSE so I guess
> he can help out if there are issues.
THe opensuse 11.4 need some minor modifications. I needed to build swig
on my own for example, but it is now in some halv official repos. On the
other hand I needed some new/other extra repos to add.
Will do a last check and send to Harish after vacation. But now I am on
the way to Lillehammer/Jotunheimen :)
See you in 2 weeks!
Cheers,
Andre
>
> Benjamin
>
>
>
>>
>> Harish
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dorsal
>> Post to : dorsal@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dorsal
>> More help : https://help.launchpad.net/ListHelp
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dorsal
> Post to : dorsal@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dorsal
> More help : https://help.launchpad.net/ListHelp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJOOSGgAAoJEA79ggnbq9dmD/8IAJg+vLtQHdpnZRHizeN5uGgL
DC4nNdtzeaZcox2uUHNieXlctXKVvKZOXptnBQBPfmt/3sYgqQwG3i73UtN3Nzq5
6DQD2GFVkOLJk2pFBOi5183NplZBc+xurIyPNJ2Pnp4CIBKZgSSdluTb0UAk2itd
BVzVcLvUK3QUQ81WGYpGsJaiCH/nrkUKhj5EdohCtHgIUIQfN4HmKgcHbI1Tiow8
g/vlMFwF+gnSWknjs1EFvOdEY+7EqUEinjOIRMrL8leSvXYZGJLRPEDQQx9jurRm
wsGaRBfRHo3XgrLsqn+/bJ0TmW0XsX6NZOHZX8XUjx/VBWci82n2vADGTHV6vUo=
=zooH
-----END PGP SIGNATURE-----
References