fixed a bug in detecting the underlying mpiCC compiler.
[charm.git] / src / arch / mpi-linux-x86_64 / conv-mach.sh
index dc876918d0cea20fd970ac8d62593ab48a05b2f6..fce0f0f753e9256ccca1884696947397e5c97087 100644 (file)
@@ -1,5 +1,5 @@
 
-CMK_REAL_COMPILER=`mpiCC -show >/dev/null 2>/dev/null | cut -d' ' -f1 `
+CMK_REAL_COMPILER=`mpiCC -show 2>/dev/null | cut -d' ' -f1 `
 case "$CMK_REAL_COMPILER" in
 g++) CMK_AMD64="-m64 -fPIC" ;;
 esac