Fitter stalls on "Advanced Physical Optimization" on Windows 10 - Fitter stalls on "Advanced Physical Optimization" on Windows 10 We are reluctantly moving from Windows 7 to Windows 10. I have a project that compiles just fine on a Windows 7 Pro machine with an Intel Core i7-3930K CPU using Quartus 19.1 Lite. I copied the project to a new Windows 10 Pro machine with a Ryzen Threadripper PRO 3995WX processor. Also copied the Quartus 19.1 install files and it installed with no problem. But when I try to compile, it stalls during fitting at a line: Info (14951): The Fitter is using Advanced Physical Optimization. On Windows 7, the whole compile takes 11 minutes. I let it run for two hours on Windows 10 and it just sits there. I limited the number of parallel cores to 6. That did not help. I upgraded to Quartus 24.1 Lite (the last one to support Windows 10) and that did not help. If I disable "Advanced Physical Optimization" in the Advanced Fitter options, the compile completes. But this is bizarre. Why would the exact same project with the exact same version of Quartus compile fine on Windows 7 but not on Windows 10? Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 It's limitation. Quartus not work well with high core (exceed 16 cores) with SMT. The too high multithreading will cause Quartus not function properly. Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Yes, it's a combination of number of cores and SMT. 64 cores SMT will run with more numbers of threads/logical CPUs compared to 8 cores SMT. Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 ShengN_altera​ thanks for the help. When you say Quartus does not work well with SMT, do you mean Hyper-Threading in general or is there some specific bug in AMD SMT? Note, the other engineers who successfully compiled this program were on 8 core AMD Ryzen machines with SMT enabled . So SMT alone is clearly not the issue; it must be a combination of number of cores and SMT. I tend to agree with FvM​ that if Quartus cannot handle certain configurations then it should at least detect it and produce an error message (eg "Disable SMT to run Advanced Physical Optimization"). As near as I can tell, SMT/Hyper-threading is completely transparent to software. I suspect somewhere in the internals of Quartus someone 20 years ago hardwired and array to say 16 cores (alot at the time) and it just needs updated. But thanks again. It's not an ideal solution, but at least I can run. Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Hi, I noticed that the Ryzen SMT problem has been discussed before Quartus 18 couldn't complete fitter with Ryzen 3990X | Altera Community I'm interested in the topic because we are planning to utilize build servers for FPGA projects which may bring up the same problem. I also noticed that there's a Ryzen Master tool that seems to be able to control hardware parameters like SMT per profile, so it can be hopefully selectively disabled for Quartus in case it turns out that other applications performance is negatively affected. But I also wonder if this is actually a Ryzen or Quartus bug. As a user, I expect that apps are able to control all relevant processor parameters in a standard PC environment. If it's not possible in special cases, requirements like SMT deactivation should be at least clearly communicated. In so far I see at least a lack of documentation. Regards Frank P.S.: Previous thread suggests there's a negative impact of disabling SMT: I than disabled the Symetric Multithreading (SMT) option in my BIOS and it could than complete Fitter. However, this causes my system to become quite unresponsive. Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Great to hear that your problem had been resolved. FYI Quartus not work well with SMT Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Hello ShengN_altera​ , That worked! I did not realize "SMT" was AMD's term for Hyper-threading. Still not clear why it caused a problem. It is supposedly transparent to user programs. I went into the BIOS: Advanced\AMD CBS\CPU Common Options\Thread Enablement and changed SMD Control to disabled . It now completes the compile. Hopefully it will not affect other programs, but at least I have a solution. Hyper-threading is probably a waste of time on a 64 core system anyway. Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 AMD Ryzen support Simultaneous Multithreading (SMT) if check this https://www.techpowerup.com/cpu-specs/ryzen-threadripper-pro-3995wx.c2314 Could you try to turn off through BIOS? Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Sure, the attached is at the point where it stalls. I've also included the configurations (I've tried varying numbers for maximum allowed processors including 1, 8, 16). Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Hello ShengN_altera​ It's not a laptop. It is a desktop computer with AMD Threadripper Pro 3995WX processor with 64 cores and an Asus Pro WS WRX80E-SAGE motherboard with 512GB RAM. It is running Windows 10 Pro. But I don't know what you mean by is it multi-thread or single-thread. Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Another thing can you confirm your laptop is multi-thread or single-thread? Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Can screenshot your cpu performance window? Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Since Quartus 24.1 and 19.1 do the exact same thing, I don't think it can be the install. Also, the engineer whose computer it worked fine on used the same install as I did. I tried limiting the number of cores in two ways. The Tools | Options under Processing tab has an option to limit maximum processors allowed. Set it to 1, 8, 16 to no avail. And also tried in the Advanced Fitter options mentioned above. Is there some other configuration I'm missing? The only difference is my CPU has 64 cores. Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 So even limiting number to 16 processor cores also cannot? Could you try re-install quartus and see? Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 I had another engineer try to compile this on his machine. It is the exact same version of Windows 10 Pro (10.0.19045 Build 19045), but has an AMD Ryzen 7 5800X 8-Core CPU. It compiles fine on his computer with Physical Optimization enabled and parallel compilation set to all available processors. So it does not appear to be a Windows 10 problem. Apparently, Quartus cannot handle a processor with more than a certain number of cores. Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Hello ShengN_altera​ , Sorry, I did not see this reply before sending an email. Please ignore that. I'm not sure what you mean by trying to compile with Windows 10. I'm already doing that and it is the one it fails on. It compiles fine on my Windows 7 machine using Quartus 19.1. Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 I don't have window 10. I try with window 11 without problem: Could you try again to compile the attached design with window 10 and window 11? Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Hello ShengN_altera​ , I've attached a small project that does nothing but blink a few LED's. Whole thing compiles in under 90 seconds on my old machine. Currently stalled at the "Advanced Optimization" stage after 2 hours on new one. Any help is greatly appreciated! Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Possible provide the design file for debugging? can send to my personal mail Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 I'm afraid, as I mentioned, I already tried limiting the number of processors and it does not work. I'm sure alot of people use Quartus on Windows 10 Pro, but perhaps not so many have a 64 core processor. I assume it must have something to do with that. But it seems to me if Quartus cannot handle more than a certain number of processors, it should automatically limit itself as opposed to requiring the user to do so. Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 I had checked the previous internal message based on the KDB link. This is not a bug but configuration problem so wouldn't be fixed. Please follow the workaround stated in the KDB Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 I did find this link that is oddly similar, but it was for Quartus 16.1 and the fix did not work. And no mention of it only happening on certain versions of Windows. Why does the Quartus Prime software hang at "The Fitter is using Advanced Physical Optimization"? Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 When I say Quartus is identical, I had downloaded the full 5.8GB install on Windows 7: Quartus-lite-19.1.0.670-windows.tar 5,897, 490 KB and used it to install on both Windows 7 and Windows 10. The project itself was also just copied. Other than the old computer was an Intel processor and the new one is AMD Ryzen, seems like they should be the same. And other than this one option, it appears to work fine. Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Hello sstrell​ , Below is the fitter report from the WIndows 7 machine. The logic usage is not very high. Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 What's your targeted device and how full is the device with this design? Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Could you try go to Project -> Clean Project? Any help? Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Hello, New system has 512 GB and 64 cores :-) . Old system 32GB and 6 cores. I was trying to figure out what could possibly be different since project and Quartus are identical. The "use all available cores" options seemed like a possibility, but I limited it to 6 (also tried 1). Replies: Re: Fitter stalls on "Advanced Physical Optimization" on Windows 10 Hi, does your PC provide sufficient RAM for utilized FPGA according to Quartus release notes? Otherwise different OS memory usage may make the difference. - 2025-11-29

external_document