mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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:
This commit is contained in:
parent
9807a15018
commit
6f94c274c4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user