Simon,

On Wednesday, July 21, 2021 at 5:17:05 PM UTC-4 Simon wrote:

>
> In my local working copy of the spack repository, I only have one master 
> branch so far. I guess I first to need to upgrade spack somehow, in order 
> to be able to install newer versions of a package, since 
> 'spack info dealii' 
> only shows me versions up to 9.1.1, i.e. the one which I currently have 
> installed.
>
That's correct. You need to update spack to have access to newer versions 
of deal.II

>
> 1. So, should I first create a new branch in my local spack repo and then 
> type 
> 'git fetch origin'
> in order to bring spack up to date? 
> I would like to keep version 9.1.1 as well, so I am a bit afraid of 
> overwriting existing packages if I do everything on the master branch. Is 
> this a valid approach at all or am I on the wrong track?
>
You can do git fetch origin and then you can get checkout the latest tagged 
version of  spack. There is no need to create a new branch unless you have 
modified something in spack
 

> 2. Is special care necessary, if a second version of dealii will be 
> installed? 
> As far as I know, spack is able to work with several versions of a 
> package. However, I do not know how a second version of dealii affects all 
> it's dependencies, for instance. UMFPACK. Will there newer versions 
> installed 'on-the-fly' as well, for the case they exist,...?
>
Spack does not remove the old packages that you have installed. That means 
that everything that you have installed will still be there. The next 
release of spack should be smarter but right now what's going to happen is 
that when you install the new version of deal.II, spack will recompile all 
the dependencies with newer versions. 

Best,

Bruno
 

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/bcd6869e-80d5-4ce4-9ad1-48e6b6a6f735n%40googlegroups.com.

Reply via email to