How to use already installed software

Bug #490390 reported by Victor Eijkhout
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dorsal
Fix Released
Undecided
Unassigned

Bug Description

Dorsal insists on installing all sorts of stuff that I already have on the system. How can I tell it to use that?

Normally I wouldn't object to double installations, except that the petsc install crashes since it can't find a blas library.

V.

Revision history for this message
Harish Narayanan (hnarayanan) wrote :

What platform are you trying to install it on? Please provide some more details regarding your OS version, etc.

In general though, how you go about telling dorsal to use something you already have installed (say petsc) is to:
1. Open platforms/yourplatform.platform, where yourplatform corresponds to your platform.
2. Remove petsc from the list of packages for that platform.
3. Add a definition to PETSC_DIR somewhere on top that points to the petsc version you want it to use.

Revision history for this message
Anders Logg (logg) wrote : Re: [Bug 490390] [NEW] How to use already installed software

On Mon, Nov 30, 2009 at 03:50:23PM -0000, Victor Eijkhout wrote:
> Public bug reported:
>
> Dorsal insists on installing all sorts of stuff that I already have on
> the system. How can I tell it to use that?
>
> Normally I wouldn't object to double installations, except that the
> petsc install crashes since it can't find a blas library.
>
> V.
>
> ** Affects: dorsal
> Importance: Undecided
> Status: New

Just edit the appropriate file in platforms. Remove the packages you
don't want.

--
Anders

Changed in dorsal:
status: New → Incomplete
Changed in dorsal:
status: Incomplete → Invalid
Revision history for this message
Andy R Terrel (andy-terrel) wrote : Re: [Bug 490390] Re: How to use already installed software

After helping Victor with this, I also found that if you just specify
PETSC_DIR and PETSC_ARCH in the platform file, dolfin does not build
with it. But after having dolfin build I went to the download
directory and called the scons commands myself and it built fine.

I haven't quite figured out why, perhaps its because of the way dorsal
tries to put PETSc in the build directory rather than leaving it as an
in source build.

-- Andy

Revision history for this message
Andy R Terrel (andy-terrel) wrote :

After helping Victor with this, I also found that if you just specify
PETSC_DIR and PETSC_ARCH in the platform file, dolfin does not build
with it. But after having dolfin build I went to the download
directory and called the scons commands myself and it built fine.

I haven't quite figured out why, perhaps its because of the way dorsal
tries to put PETSc in the build directory rather than leaving it as an
in source build.

-- Andy

Revision history for this message
Harish Narayanan (hnarayanan) wrote :

I have not seen this before.

One thing I could suggest is to echo $PETSC_DIR and $PETSC_ARCH in dolfin.package's package_specific_setup. We can see something weird has happened to this variable before it reaches dolfin.package preventing it from seeing the right petsc.

Revision history for this message
Victor Eijkhout (eijkhout) wrote :

I guess my "bug" is partly just insufficient documentation. A line or
two about how to deal with the platform files in the README would be
helpful.

Victor.
On 2009/12/01, at 8:57 AM, Andy R Terrel wrote:

> After helping Victor with this, I also found that if you just specify
> PETSC_DIR and PETSC_ARCH in the platform file, dolfin does not build
> with it. But after having dolfin build I went to the download
> directory and called the scons commands myself and it built fine.
>
> I haven't quite figured out why, perhaps its because of the way dorsal
> tries to put PETSc in the build directory rather than leaving it as an
> in source build.
>
> -- Andy
>
> --
> How to use already installed software
> https://bugs.launchpad.net/bugs/490390
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Dorsal: Invalid
>
> Bug description:
> Dorsal insists on installing all sorts of stuff that I already have
> on the system. How can I tell it to use that?
>
> Normally I wouldn't object to double installations, except that the
> petsc install crashes since it can't find a blas library.
>
> V.

--
Victor Eijkhout, 512 471 5809 (w)
Texas Advanced Computing Center, The University of Texas at Austin

Revision history for this message
Harish Narayanan (hnarayanan) wrote :

I will clean up the documentation before the next major milestone, 0.6.0. Thanks for reporting the problem.

Changed in dorsal:
status: Invalid → Triaged
milestone: none → 0.6.0
status: Triaged → In Progress
Revision history for this message
Harish Narayanan (hnarayanan) wrote :

Please see the new file USAGE for usage instructions:
http://bazaar.launchpad.net/~dorsal-core/dorsal/main/annotate/head%3A/USAGE

Changed in dorsal:
status: In Progress → Won't Fix
status: Won't Fix → Fix Committed
Changed in dorsal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.