[Trilinos-Users] MOOCHO installation

John Pye john.pye at anu.edu.au
Mon Jun 25 21:44:04 MDT 2007


Hi Bill

>From what you say, there is no shared library for MOOCHO. And no shared
libraries at all on Windows. Any possibility that this will change?

Cheers
JP

Bill Spotz wrote:
> On Jun 25, 2007, at 6:45 PM, John Pye wrote:
>
>> If I enable python, I'll perhaps get shared libraries, but are they
>> C/C++ shared libraries for the basic Trilinos code, or are they
>> libraries containing primarily the Python bindings?
>
> The shared libraries will only be the C/C++ Trilinos libraries, used
> later by the python bindings. Note that this is only currently
> supported for Linux and Mac OS X, and only for those packages that
> have a python interface: amesos, aztecoo, epetra, epetraext, galeri,
> ifpack, ml, new_package, teuchos and triutils. They will be moved to
> packages/PyTrilinos/src within the build tree and installed in the
> same directory as the static libraries.
>
> Note that configure option --enable-python will trigger tests for the
> prerequisites swig and numpy (even if all you want is the shared
> libraries).
>
>> Cheers
>> JP
>>
>> Bartlett, Roscoe A wrote:
>>> Hello John,
>>>
>>> You can change the install directory for Trilinos by setting the
>>> configure option --prefix. I you want to install Trilinos with MOOCHO
>>> in a standard place I might recommend:
>>>
>>> --prefix=/usr/local/trilinos-7.0
>>>
>>> and then put in a symbolic link to something like:
>>>
>>> /usr/local/trilinos => /usr/local/trilinos-7.0
>>>
>>> I would not clutter up /usr/lib and /usr/include with Trilinos (there
>>> are a *lot* of include files).
>>>
>>> As for shared libraries, I think if you enable python (see
>>> Trilinos/packages/PyTrilinos/configure --help or PyTrilinos website on
>>> http//trilinos.sandia.gov) that you will get these on Linux platforms.
>>> Right now there is no plan for supporting shared libraries on general
>>> systems.
>>>
>>> Let me know if you have any other questions.
>>>
>>> Cheers,
>>>
>>> Ross
>>>
>>> -----Original Message-----
>>> From: trilinos-users-bounces at software.sandia.gov
>>> [mailto:trilinos-users-bounces at software.sandia.gov] On Behalf Of John
>>> Pye
>>> Sent: Saturday, June 23, 2007 9:41 PM
>>> To: trilinos-users at software.sandia.gov
>>> Subject: [Trilinos-Users] MOOCHO installation
>>>
>>> Hi all
>>>
>>> I have been evaluating the MOOCHO optimisation solver to work out if it
>>> will be suitable for use with the ASCEND modelling environment
>>> http://ascend.cheme.cmu.edu/. We would like to be able to offer MOOCHO
>>> as a FOSS alternative to the CONOPT solver currently provided.
>>>
>>> One strangeness that I see in building and installing Trilinos is that
>>> MOOCHO installs files to the /usr/tools directory. This is not a
>>> standard file location. Is there a reason why files need to be put in
>>> this place?Is there a configuration option that allows these files to
>>> placed somewhere else? (I couldn't see anything with ./configure
>>> --help).
>>>
>>> Also, there doesn't seem to be a ./configure option for creating shared
>>> libraries instead static libraries. How can I produce shared libraries
>>> for the Trilinos packages? Is there a way?
>>>
>>> Cheers
>>> JP
>
> ** Bill Spotz **
> ** Sandia National Laboratories Voice: (505)845-0170 **
> ** P.O. Box 5800 Fax: (505)284-5451 **
> ** Albuquerque, NM 87185-0370 Email: wfspotz at sandia.gov **
>
>
>



More information about the Trilinos-Users mailing list