updating patch for openmpi configuration with pbs enabled using output from
pbs-config utility
---- configure.orig 2016-09-01 18:30:27.000000000 -0700
-+++ configure 2016-11-12 20:45:06.402865542 -0800
-@@ -134250,8 +134250,10 @@
- LIBS_save="$LIBS"
+--- configure.orig 2017-03-22 14:43:34.520446787 -0500
++++ configure 2017-03-22 14:44:51.993727117 -0500
+@@ -134252,7 +134252,9 @@
CPPFLAGS="$CPPFLAGS $ess_tm_CPPFLAGS"
-- LIBS="$LIBS $ess_tm_LIBS"
+ LIBS="$LIBS $ess_tm_LIBS"
- LDFLAGS="$LDFLAGS $ess_tm_LDFLAGS"
-+# LIBS="$LIBS $ess_tm_LIBS"
+# LDFLAGS="$LDFLAGS $ess_tm_LDFLAGS"
+
-+ LIBS="$LIBS /opt/pbs/lib/libpbs.a -lpthread"
++ LIBS="$LIBS $ess_tm_LDFLAGS"
ac_fn_c_check_header_mongrel "$LINENO" "tm.h" "ac_cv_header_tm_h" "$ac_includes_default"
if test "x$ac_cv_header_tm_h" = xyes; then :
