Author Archives: yunmingzhang17

Setting up env vars for gcc5.4

I was trying to use gcc 5.4, mostly to use the latest cilk version. Here are some notes on what needs to be set up in order for gcc to compile (assuming the compiler is already built) Advertisements

Posted in Uncategorized | Leave a comment

How to use GitHub pages

GitHub pages is an easy way to host and set up a website, especially for projects. I am using it for our high-performance graph domain specific language, GraphIt.

Posted in Uncategorized | Leave a comment

How to check the status of a file system

Some notes on what to do when the nfs is down.

Posted in Uncategorized | Leave a comment

Python program with tee

I ran into problems with Python not piping stdout to tee. The problem was that Python is buffering the stdout. To enable tee to work, you simply need to put a -u flag there. python -u your_script | tee your_log … Continue reading

Posted in Uncategorized | Leave a comment

replace string across multiple files with sed

Here’s a useful mac osx / linux trick that helps with replacing a string across multiple files using sed.

Posted in Uncategorized | Leave a comment

mallopt disabling mmap

Here are some notes for using mallopt to disable mmap for potentially better performance.

Posted in Uncategorized | Leave a comment

Pandas Data Frames notes

Here are my notes using dataframes in python pandas

Posted in Uncategorized | Leave a comment