summaryrefslogtreecommitdiffstats
path: root/config/powerpc-ibm-aix5.x
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-06-14 23:35:10 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-06-14 23:35:10 (GMT)
commit6f94c274c44066ce00d19dc58a479aab2ca553dc (patch)
treef4f2271719078fbb25b07371b6890a855e832992 /config/powerpc-ibm-aix5.x
parent9807a150186b769eb302f1f7a5473fd57230d3c0 (diff)
downloadhdf5-6f94c274c44066ce00d19dc58a479aab2ca553dc.zip
hdf5-6f94c274c44066ce00d19dc58a479aab2ca553dc.tar.gz
hdf5-6f94c274c44066ce00d19dc58a479aab2ca553dc.tar.bz2
[svn-r7041] Purpose:
Improvement Description: RUNPARALLEL is setup with default value when --enable-parallel but only if CC is not set. Solution: set RUNPARALLEL to default value of using poe when --enable-parallel or when an MPI compiler (e.g. mpcc_r) is used. Platforms tested: Copper for both 32 and 64 bit, serial and parallel. (32bit parallel had a hang problem in configure which is a different but known problem.) Note that one still need to setenv AR "ar -X64" for 64bit configure. Misc. update:
Diffstat (limited to 'config/powerpc-ibm-aix5.x')
-rw-r--r--config/powerpc-ibm-aix5.x7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/powerpc-ibm-aix5.x b/config/powerpc-ibm-aix5.x
index f8a0894..41e2c6a 100644
--- a/config/powerpc-ibm-aix5.x
+++ b/config/powerpc-ibm-aix5.x
@@ -10,13 +10,18 @@ if test "X-" = "X-$CC"; then
if test "X-$enable_parallel" = "X-yes"; then
CC='mpcc_r -qlanglvl=ansi -D_LARGE_FILES'
CC_BASENAME=mpcc_r
- RUNPARALLEL=${RUNPARALLEL="MP_PROCS=3 MP_TASKS_PER_NODE=3 poe"}
else
CC='xlc -qlanglvl=ansi -D_LARGE_FILES'
CC_BASENAME=xlc
fi
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="MP_PROCS=\$\${NPROCS:=3} MP_TASKS_PER_NODE=\$\${NPROCS:=3} poe"}
+fi
+
+
#----------------------------------------------------------------------------
# Compiler flags. The CPPFLAGS values should not include package debug
# flags like `-DH5G_DEBUG' since these are added with the