Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6231 > unrolled thread

What gets put in ~/.Mathematica and why?

Started byMike Witt <msg2mw@gmail.com>
First post2011-11-06 11:02 +0000
Last post2011-11-08 12:15 +0000
Articles 4 — 3 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  What gets put in ~/.Mathematica and why? Mike Witt <msg2mw@gmail.com> - 2011-11-06 11:02 +0000
    Re: What gets put in ~/.Mathematica and why? "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-11-07 11:00 +0000
    Re: What gets put in ~/.Mathematica and why? A Retey <awnl@gmx-topmail.de> - 2011-11-07 11:00 +0000
    Re: What gets put in ~/.Mathematica and why? Mike Witt <msg2mw@gmail.com> - 2011-11-08 12:15 +0000

#6231 — What gets put in ~/.Mathematica and why?

FromMike Witt <msg2mw@gmail.com>
Date2011-11-06 11:02 +0000
SubjectWhat gets put in ~/.Mathematica and why?
Message-ID<j95ph1$m8b$1@smc.vnet.net>
I just fooled around with CUDA on my system for the first time, and in
the process I got the message "Loading from Wolfram Research server"
and it appears that a *lot* of stuff was downloaded. As far as I can
tell it went into my *home* directory, into /home/mike/.Mathematica/
Paclets. My .Mathematica directory is now, by far, the biggest thing
in my whole directory structure.

I don't understand why this stuff didn't go into /usr/local/Wolfram.
Now this huge amount of stuff, is going to get backed up every time I
back up my personal directory.

I'm curious if anyone can tell me what makes this (or any given
information) go into .Mathematica in my directory vs the "system"
place.

If it makes a difference, I'm using Mathematica 8.0.0.0 Home Edition on Fedora
14 (32 bit)

-Mike

[toc] | [next] | [standalone]


#6252

From"Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com>
Date2011-11-07 11:00 +0000
Message-ID<j98doa$3sm$1@smc.vnet.net>
In reply to#6231
On Sun, 06 Nov 2011 11:02:57 -0000, Mike Witt <msg2mw@gmail.com> wrote:

> I just fooled around with CUDA on my system for the first time, and in
> the process I got the message "Loading from Wolfram Research server"
> and it appears that a *lot* of stuff was downloaded. As far as I can
> tell it went into my *home* directory, into /home/mike/.Mathematica/
> Paclets. My .Mathematica directory is now, by far, the biggest thing
> in my whole directory structure.
>
> I don't understand why this stuff didn't go into /usr/local/Wolfram.
> Now this huge amount of stuff, is going to get backed up every time I
> back up my personal directory.
>
> I'm curious if anyone can tell me what makes this (or any given
> information) go into .Mathematica in my directory vs the "system"
> place.
>
> If it makes a difference, I'm using Mathematica 8.0.0.0 Home Edition on  
> Fedora
> 14 (32 bit)
>
> -Mike
>

The CUDA SDK is what is being downloaded. As you have seen, it is a  
sizeable package, but this is beyond WRI's control.

As to why it wasn't stored in /usr/local/Wolfram: imagine a scenario where  
several users (logging into a cluster, say) are each doing CUDA  
development in the same environment. In this case, none of them may have  
write access to /usr/local. Also, each of them would surely prefer to  
update the SDK on their own terms, rather than risk having the behaviour  
of their codes change unexpectedly with unannounced updates to the CUDA  
headers and libraries.

Of course, if you can think of a better location for the CUDA SDK on your  
own personal system, you're free to move it and create a symlink back to  
the expected location.

[toc] | [prev] | [next] | [standalone]


#6257

FromA Retey <awnl@gmx-topmail.de>
Date2011-11-07 11:00 +0000
Message-ID<j98dp9$3sr$1@smc.vnet.net>
In reply to#6231
Hi,

> I just fooled around with CUDA on my system for the first time, and in
> the process I got the message "Loading from Wolfram Research server"
> and it appears that a *lot* of stuff was downloaded. As far as I can
> tell it went into my *home* directory, into /home/mike/.Mathematica/
> Paclets. My .Mathematica directory is now, by far, the biggest thing
> in my whole directory structure.
>
> I don't understand why this stuff didn't go into /usr/local/Wolfram.
> Now this huge amount of stuff, is going to get backed up every time I
> back up my personal directory.

This is most probably because usually a regular user usually does not 
have write permission in /usr/local/Wolfram. You could try whether that 
stuff will go there if you do it as root, but I don't think it will. I 
would expect that if you move those directories from 
/home/mike/.Mathematica to the correct directory within 
/usr/local/Wolfram that everything will work alright except when an 
update of the paclet is necessary...

> I'm curious if anyone can tell me what makes this (or any given
> information) go into .Mathematica in my directory vs the "system"
> place.
>
> If it makes a difference, I'm using Mathematica 8.0.0.0 Home Edition on Fedora
> 14 (32 bit)

Unfortunately the paclet mechanism is hardly documented at all, there is 
no obvious or documented way to change that behavior (although I'm 
almost sure there is a possibility to change it). What you could do is 
to move the Paclet directory to a place of your choice, make sure you 
have read and write permissions there and then use a symbolic link in 
your /home/mike/.Mathematica which points to that location. I have not 
tested this but would be very surprised if it wouldn't work. You would 
then collect all the paclet data in a place which would not necessarily 
be in your personal backup.

hth,

albert

[toc] | [prev] | [next] | [standalone]


#6261

FromMike Witt <msg2mw@gmail.com>
Date2011-11-08 12:15 +0000
Message-ID<j9b6hh$4qj$1@smc.vnet.net>
In reply to#6231
OK, thanks everyone. Now I understand why things work the way they do.

-Mike

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web