Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I am currently running some rather compilex Mathematica calculations on my laptop and sometimes run into an out-of-memory errors. However, I have access to some larger simulation servers via ssh, but they don't have Mathematica installed on them. Is there a possibility I can use this additional calculation-power for my calculations?

(I already found ConnectToARemoteKernel but if I understand correctly this only works, if Mathematica is installed on both systems.)

share|improve this question
    
It would depend on your license with Wolfram. My license allows two copies, work and home. And, while I only have one installed, I can launch two copies in the same computer, but no more than that. –  Fred Kline Jun 21 '13 at 7:50
    
You are correct in your assumption that you can't run Mathematica computations on a server that doesn't have Mathematica installed. –  m_goldberg Jun 21 '13 at 8:51
    
ok ... :( i was afraid i would here that. but i thought asking is free :) –  kyra Jun 21 '13 at 9:24
    
Well, you can write MathLink programs to run on these other machines connected to your Mathematica session--but that may not be what you had in mind. –  Oleksandr R. Jun 21 '13 at 11:35
add comment

closed as too localized by m_goldberg, Silvia, Jens, Artes, rm -rf Jun 22 '13 at 2:26

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

up vote 0 down vote accepted

An extended comment.

If I read your question correctly, memory appears to limit your calculations rather than the number of computing kernels.

Following this line of thought, it would help responders to know if your problem comes from processing large data sets, complexity of calculation, calculations that just need lots of memory, or some combination of these.

Some other information would also help, like your computing environment's specifications: CPU, RAM, HD, OS, Mathematica version.

Some things to try immediately:

Reboot your laptop. To the degree possible don't open any applications other than Mathematica. Run your calculations and see if you still get the same errors.

IF you still have the problem, can you identify and isolate the specific code or function that generates the out-of-memory errors? This would enable people on the site to suggest specific alternatives that may work around the problem (adding various kinds of constraints, options, or specifying a domain for lots of functions can often solve these kinds of issues).

Beyond this, if memory rather than CPU really does limit you, I wonder if you could allocate more virtual memory or even set up remote virtual memory.

Certainly cumbersome, probably impractical, and VERY SLOW, but it might provide you a way to do the calculations without investing in additional Mathematica licenses.

share|improve this answer
    
I did not know what virtual memory meant. After reading this, I got it, but I still had some questions. The doc page seems to suggest that it is the OS that moves data between virtual memory (hard disk) and RAM and Mathematica just uses that system. I found this link for mac very interesting. Anyway, if you want to have more control over things, I suppose in some cases you could use DumpSave. –  Jacob Akkerboom Jun 21 '13 at 15:05
add comment

This is to get an answer on record.

Presuming that you want to evaluate Mathematica expressions on a remote server, then it is true that the server will need a Mathematica kernel installed.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.