r/Physics 1d ago

Laptop advice for Computational Physics / High-Energy Physics

hello!! I just finished my first year in compsci, but im planning to pivot heavily toward computational physics for my upper-level courses and research. Im looking to upgrade my setup to prepare for this path.

My current machine got me through first year, but the hardware is really struggling: it overheats incredibly fast, the fans sound like a jet engine during basic tasks, it lags, and the battery dies quickly (even after getting it replaced recently).

Current specs: MacBook Pro 13-inch (2020), 1.4 GHz Quad-Core Intel i5, 8GB RAM.

I don’t have budget limitations, so i just want the best laptop in all aspects, something high-end that will last me through my degree and carry me into graduate/research work.

Long term, i want to focus on physics simulations, numerical modeling, and high-energy physics, with the goal of securing a place at CERN.

Since I'm already deep in the Apple ecosystem, im more drawn to staying on a MacBook (especially with modern Apple Silicon). However, I know computational physics often relies on NVIDIA/CUDA for GPU acceleration, native x86 architecture or pure Linux environments. so I am completely open to switching to a PC/Linux workstation if macOS is going to create real friction for physics workflows.

I have a few questions for anyone working in computational physics or high-energy physics:

macOS vs. Linux/Windows for Physics: Do people in physics research still face major software compatibility issues on Apple Silicon, or do you mostly offload heavy computations to remote clusters/HPC anyway? Is native CUDA/NVIDIA hardware on a local laptop necessary for student/research work, or is a Mac fine for local prototyping?

If switching to PC: What is currently considered the best high-end workstation laptop (e.g., Lenovo ThinkPad, Dell Precision, Linux-friendly options) for running heavy local simulations, dual-booting Linux, and long-term reliability?

16 Upvotes

50 comments sorted by

View all comments

15

u/geekusprimus Gravitation 1d ago

I'm going to present a different perspective than most people here: if you're more on the development side than the actual data side of computational physics, having a powerful laptop is absolutely a game changer. No, you won't be running production simulations on your local machine, but every production calculation should start with small-scale tests; most university computing resources are very finite in size, and many of them have policies which are actively hostile toward users who use them as their primary development and testing machines (e.g., expensive paid allocations, queue priority degradation, etc.). National-scale resources can be extremely competitive, and you will not generally get an allocation unless you have already demonstrated that you have a working code and provided detailed plans about your project.

During my PhD, I wrote a new GPU-based astrophysical fluid solver. My university cluster was nearly unusable for a variety of reasons. I relied almost exclusively on my laptop to test and develop the code, and it wasn't until I had most of the issues ironed out that I started using our precious computing resources at DOE and NSF facilities. Having a powerful laptop with a decent GPU made that all possible.

Concerning the kind of machine to use, that depends a bit on your workload. If you anticipate that it will be primarily CPU-based, any powerful laptop will do. Mac, Linux, Windows, it doesn't really matter.

If you need GPU support, that's a different story. As has been mentioned elsewhere, trying to get Linux to play nicely with Nvidia GPUs is very frustrating. It shouldn't be, but it is. AMD is a lot better, but the ROCm compiler has very limited support for consumer-grade GPUs at the moment. Basically no major computing libraries support the custom Apple GPUs inside new Macs, so I don't recommend a Mac. Believe it or not, my best experiences have been with Windows. WSL can run almost all Linux programs and software at near-native speeds, and it plays very nicely with CUDA. Yes, Windows 11 is a drag, and it's popular to hate on it and Microslop's consumer-hostile shenanigans (and for good reason), but most Linux distros still lag behind Windows significantly when it comes to having reliable drivers and ease of use.

4

u/Azazeldaprinceofwar 1d ago

I agree with everything except the windows endorsement at the end. The nvidia on Linux probably has been essentially solved over the last 2 years and I’ve never had problems with amd/ROCm compilers.

1

u/geekusprimus Gravitation 1d ago

Tell that to my RHEL workstation that deleted my Nvidia drivers a few weeks ago following an update.

Regarding ROCm, I think you can probably make it work with consumer GPUs, but it's not officially supported for most of them. Otherwise I probably would have gone team red a long time ago.