165 reputation
7
bio website
location Stanford, CA
age 28
visits member for 1 year
seen Apr 10 at 23:20
stats profile views 6

Astrophysics graduate student


Sep
14
awarded  Nice Question
May
31
awarded  Teacher
May
30
accepted Speeding up random walk for many particles
May
30
answered How to create a list of pairs from 1d list(s)?
May
30
awarded  Nice Question
May
23
comment Speeding up random walk for many particles
I also notice a nice speed boost, but if I increase either numsteps or numparticles by a factor of 10, it seems to eat up all my memory (I have 4 GB, with at most 3 free) and hang indefinitely, requiring shutting down Mathematica. Any ways around this? I would like the flexibility to be able to go up to 100k steps, perhaps more, without reducing the number of particles. I should also note that I do not need high precision on the particle positions. Does reducing the precision speed it up much?
May
15
comment How do I get Mathematica to recognize a C compiler on a 64-bit Windows machine?
This did it! Without uninstalling Windows SDK (again), I simply installed the .NET Framework 4 link, restarted my computer, and then now it works. CCompilers[] now gives {{"Name" -> "Visual Studio", "Compiler" -> CCompilerDriverVisualStudioCompiler`VisualStudioCompiler, "CompilerInstallation" -> "c:\\Program Files (x86)\\Microsoft Visual Studio 10.0", "CompilerName" -> Automatic}}` Apparently, this link didn't install .Net Framework 4.
May
15
awarded  Scholar
May
15
accepted How do I get Mathematica to recognize a C compiler on a 64-bit Windows machine?
May
15
revised How do I get Mathematica to recognize a C compiler on a 64-bit Windows machine?
edited title
May
14
comment How do I get Mathematica to recognize a C compiler on a 64-bit Windows machine?
let us continue this discussion in chat
May
14
comment How do I get Mathematica to recognize a C compiler on a 64-bit Windows machine?
No, and it's nowhere in all of Program Files. I'm curious why I need a file with "amd" in it, when I have an Intel processor.
May
14
comment How do I get Mathematica to recognize a C compiler on a 64-bit Windows machine?
Just to be clear, I have vcvars32.bat in that directory. Does that offer any help as to what part of the installation I did wrong? I did save to %ProgramFiles(x86)%\Microsoft Visual Studio 10.0\SDK on my install.
May
14
comment How do I get Mathematica to recognize a C compiler on a 64-bit Windows machine?
Running Environment["VS100COMNTOOLS"] gives $Failed. @OleksandrR., vcvarsamd64.bat does not exist. I installed the x64 version of the SDK from microsoft.com/en-us/download/details.aspx?id=8442. Should I have installed a different one? I also probably installed more than just the headers and libraries just to be safe. Is that bad? Do I need to uninstall everything and start over?
May
13
awarded  Editor
May
13
revised How do I get Mathematica to recognize a C compiler on a 64-bit Windows machine?
deleted 14 characters in body
May
13
asked How do I get Mathematica to recognize a C compiler on a 64-bit Windows machine?
May
12
awarded  Supporter
May
11
comment Speeding up random walk for many particles
Thanks. Apparently, I have to setup a C compiler, so I'll be looking into that. Could you point me toward a better way to pick a more uniform distribution of random angles?
May
11
awarded  Student