summaryrefslogtreecommitdiffstats
path: root/config/ibm-aix
diff options
context:
space:
mode:
Diffstat (limited to 'config/ibm-aix')
-rw-r--r--config/ibm-aix14
1 files changed, 8 insertions, 6 deletions
diff --git a/config/ibm-aix b/config/ibm-aix
index 134ad8e..ab934a7 100644
--- a/config/ibm-aix
+++ b/config/ibm-aix
@@ -31,14 +31,16 @@ if test "X-" = "X-$CC"; then
fi
# Define RUNPARALLEL if parallel mode is enabled or a parallel compiler used.
-if test "X-$enable_parallel" = "X-yes" -o X-$CC_BASENAME = X-mpcc_r; then
- RUNPARALLEL=${RUNPARALLEL="env MP_PROCS=\$\${NPROCS:=3} MP_TASKS_PER_NODE=\$\${NPROCS:=3} poe"}
-fi
-
-# Temporary patch for Bug 1678. -q32 binary default to run with smaller memory.
+# Define RUNSERIAL: Temporary patch for Bug 1678. -q32 binary default to run
+# with smaller memory.
# Ask for more memory so that "make check" will pass. Not necessary for -q64
# mode but it does no harm.
-RUNSERIAL=${RUNSERIAL="env LDR_CNTRL=MAXDATA=0x20000000@DSA"}
+if test "X-$enable_parallel" = "X-yes" -o X-$CC_BASENAME = X-mpcc_r; then
+ RUNPARALLEL=${RUNPARALLEL="env LDR_CNTRL=MAXDATA=0x20000000@DSA MP_PROCS=\$\${NPROCS:=6} MP_TASKS_PER_NODE=\$\${NPROCS:=6} poe"}
+ RUNSERIAL=${RUNSERIAL="env LDR_CNTRL=MAXDATA=0x20000000@DSA MP_PROCS=1 MP_TASKS_PER_NODE=1 poe"}
+else
+ RUNSERIAL=${RUNSERIAL="env LDR_CNTRL=MAXDATA=0x20000000@DSA"}
+fi
#----------------------------------------------------------------------------