LWN.net Logo

Building the PPCMEM web interface

Building the PPCMEM web interface

Posted Dec 8, 2011 10:11 UTC (Thu) by scottt (subscriber, #5028)
Parent article: Validating Memory Barriers and Atomic Instructions

Mad props to the authors and to Mr. McKenney for the well written article.

I wanted to compile PPCMEM myself and found out that:
  1. It's implemented in Ocaml
  2. Compiling the web interface locally was non-trivial. There were some sources missing from the tarball and the Makefile required some hacking
I documented how I got it working here.


(Log in to post comments)

Thank you for the Fedora build instructions!

Posted Dec 8, 2011 15:37 UTC (Thu) by PaulMcKenney (subscriber, #9624) [Link]

As you might have guessed, I run Ubuntu, so it just worked for me. Thank you for persisting in getting it working on Fedora, and even more thanks for posting the instructions for getting it running!

Thank you for the Fedora build instructions!

Posted Dec 8, 2011 16:27 UTC (Thu) by scottt (subscriber, #5028) [Link]

I suspect you built the ppcmem curses UI but not the web interface?

For the web interface, the Ocaml code gets compiled into a system.js file but the ppcmem-tarball.tar.gz I downloaded was still missing a few other required Javascript files. (the Makefile rule for taring up the project missed a few)

Luckily the files missing from the source tarball are readily available from the web site so I was able to build and run that pretty point and click web interface locally in the end :)

Thank you for the Fedora build instructions!

Posted Dec 8, 2011 16:53 UTC (Thu) by PaulMcKenney (subscriber, #9624) [Link]

You are quite correct -- I was content to use the University of Cambridge web site, so didn't try to build my own. I just used the ppcmem program.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds