handle pgcc properly
authorGengbin Zheng <gzheng@illinois.edu>
Wed, 4 Jan 2012 21:10:20 +0000 (13:10 -0800)
committerGengbin Zheng <gzheng@illinois.edu>
Wed, 4 Jan 2012 21:10:20 +0000 (13:10 -0800)
src/arch/mpi-linux-x86_64/conv-mach.sh

index 3fced671119fab2cc47a954fac3b23b2dce63c1c..1b4ea1914c61632f373a77164a5339ae6b19ab92 100644 (file)
@@ -22,6 +22,7 @@ fi
 CMK_REAL_COMPILER=`$MPICXX -show 2>/dev/null | cut -d' ' -f1 `
 case "$CMK_REAL_COMPILER" in
 g++) CMK_AMD64="-m64 -fPIC" ;;
+pgCC)  CMK_AMD64="-fPIC -DCMK_FIND_FIRST_OF_PREDICATE=1" ;;
 charmc)  echo "Error> charmc can not call AMPI's mpicxx/mpiCC wrapper! Please fix your PATH."; exit 1 ;;
 esac