diff --git a/build_pdata.sh b/build_pdata.sh
index 5ee62511c41c14cb0880aa124554228067ffa4df..1ce03e1de276037f646c7f4e9ad1d26a10b772a9 100644
--- a/build_pdata.sh
+++ b/build_pdata.sh
@@ -106,6 +106,7 @@ then
 
 else
  echo "Compiling general"
+ source ~/.bashrc
  sh ./autogen.sh
  sh ./configure --with-metis=${HOME}/METIS CXX=mpic++
  make