diff --git a/build_pdata.sh b/build_pdata.sh
index 9a61e17a010fbfebf1327df24274abd7e2e9a3b1..2feef9c83ce0c85eda61ed4019cd2277ff03c928 100644
--- a/build_pdata.sh
+++ b/build_pdata.sh
@@ -28,6 +28,7 @@ then
  sh ./autogen.sh
  module load gcc/4.9.2
  ./install
+ make
  if [ $? -ne 0 ]; then exit 1 ; fi
  mpirun -np 2 ./src/pdata
  if [ $? -ne 0 ]; then exit 1 ; fi