HewlettPackard / quartz

Quartz: A DRAM-based performance emulator for NVM
https://github.com/HewlettPackard/quartz
Other
158 stars 66 forks source link

Unexplained Building Error #50

Closed 2GarlicBreads closed 3 years ago

2GarlicBreads commented 3 years ago

I've been trying to set up Quartz for a few days. After struggling far more than I should have, I've reached a dead end. When I attempt to run the make clean all command from within quartz-master/build, I run into the error pictured in the screenshot below. (This is my second time running the instruction, hence why it begins at 77%.) Screenshot from 2021-07-13 09-24-09 I'm assuming the error is that nvmemul.ko is undefined. The only potential cause I can identify is that when I ran scripts/install.sh, the report says that 13 packages were not upgraded. I have configured my CMakeLists.txt file so that there were no errors during the cmake .. command. I haven't been able to find anything by searching, and a friend who is well-versed in Unix did not understand why this error occurred.

I have also tried doing the build instructions from within quartz-master/src. The instructions are not clear what is meant by "the emulator's source code root folder". However, this causes an error 4% into the cmake .. command, so I'm guessing using quartz-master/src is not the solution.

Computer Information: Intel® Core™ i7-2600S CPU @ 2.80GHz × 8 (Sandy Bridge, I believe) AMD® Turks / AMD® Turks Ubuntu 21.04, 64-bit The Ubuntu installation is a partition running natively on a ~2013 IMac.

2GarlicBreads commented 3 years ago

Solved: native_write_cr4 is not available on Linux Kernels 5.8 and newer. Switching to an older distribution of Linux solved this bug, and Quartz builds successfully.