modify
add rand.c
use openmpi