Re: Get["file.mx"] doesn't work
- To: mathgroup at smc.vnet.net
- Subject: [mg118996] Re: Get["file.mx"] doesn't work
- From: DrMajorBob <btreat1 at austin.rr.com>
- Date: Thu, 19 May 2011 07:42:14 -0400 (EDT)
Wow. Take away message? NEVER save to .mx format. EVER. Too many things can go wrong. Bobby On Wed, 18 May 2011 06:14:29 -0500, Scot T. Martin <smartin at seas.harvard.edu> wrote: > To add to what Albert writes, somewhat surprisingly to me the .mx format > also depends on the storage medium. That is, when using the same machine > (i.e., control therefore on OS and 32/64-bit), I have made .mx files and > stored that to my local hard drive. I then copy those files over to a > network drive, which I believe is Linux but appears to me just as a > mapped network drive within Windows. The .mx files then no longer work. > I have to re-run and generate the .mx files directly to the network > drive. > > > > ________________________________________ > From: Albert Retey [awnl at gmx-topmail.de] > Sent: Tuesday, May 17, 2011 07:48 > To: mathgroup at smc.vnet.net > Subject: [mg118961] [mg118954] Re: Get["file.mx"] doesn't work > > Am 16.05.2011 13:28, schrieb Martin Vavpoti==C4==8D: >> My computer broke. I installed Mathematica on a laptop and I wanted to >> load the calculations I already made. I used the Get command and I got >> this: >> >> File Lensing_08_118_06_1e-3.mx cannot be loaded, it is corrupted or is >> written on a different machine >> >> Does this mean my backed up files are no good on a different computer? >> Do I need to make those files all over again? > > mx, as the documentation says, is a machine and version dependent > format, it depends e.g. on OS and also differs for e.g. 32 vs. 64 bit > machines. It also does differ between various versions of mathematica. I > think your best bet is to find a machine with the same OS and Processor > type as your old machine running the same Mathematica version as your > old computer and convert to something machine independent, e.g. wdx. > Maybe in the future you also want to use machine independent formats, > although they are a little less efficient. Of course it could also be > that your files got corrupted, your old computer might have written > nonsense to disk before completley breaking down... > > hth, > > albert > > -- DrMajorBob at yahoo.com