[Trilinos-Users] MOOCHO installation

John Pye john.pye at anu.edu.au
Mon Jun 25 18:45:59 MDT 2007


Hi Roscoe,

Given the difficulty in getting a full Trilinos built, I wonder if you
could give me some pointers on how to get a minimal MOOCHO system
running. In ASCEND, we have our own linear algebra routines (MTX). I
believe you may be familiar with it. I saw in the documentation that
external linear routines are supported but deprecated. Should I attempt
to connect MOOCHO to our linear solver, or should I use the Thyra thing
as you recommended in the documentation?

Regarding the installation issues, I have been working on an RPM for
trilinos. Only non-MPIA version at present, and only static libraries
AFAICT. Given that it contains only static libraries, this package can
easily be installed on Linux systems in order to satisfy build-time
dependencies but doesn't need to be there at run-time. So the presence
of lots of header files isn't really a concern. It could make building
software with trilinos dependencies *much* simpler for Linux users, in
any case.

The ideal situation with the header-files, however, would be for them to
by default install to /usr/include/trilinos, with shared libraries
(and/or static libraries) installed in /usr/lib. I'd refer you to the
way that the Boost libraries do it. They always #include
<trilinos/whatever/whatever.h> instead of #include
"whatever/whatever.h", which means that all the header files live nicely
in a directory of their own within /usr/include.

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?

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
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
>
>   



More information about the Trilinos-Users mailing list