Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/draco-7_6_0' into draco-7_6_0
Browse files Browse the repository at this point in the history
  • Loading branch information
KineticTheory committed Mar 21, 2020
2 parents 8273274 + bb997a1 commit b19cd64
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 18 deletions.
8 changes: 6 additions & 2 deletions src/c4/test/tstQuoWrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@ void quo_hw_report(rtt_dsxx::UnitTest &ut) {
// Generic checks.
FAIL_IF_NOT(rtt_c4::QuoWrapper::num_nodes() > 0);
FAIL_IF_NOT(rtt_c4::QuoWrapper::num_cores() > 0);
FAIL_IF_NOT(rtt_c4::QuoWrapper::num_hw_threads() ==
thread::hardware_concurrency());
/*! \todo This check fails on ATS-2 (rzansel, sierra); need to investigate
* See Redmine #1879.
*
* FAIL_IF_NOT(rtt_c4::QuoWrapper::num_hw_threads() ==
* thread::hardware_concurrency());
*/
FAIL_IF_NOT(rtt_c4::QuoWrapper::num_sockets_per_node() > 0);
FAIL_IF_NOT(rtt_c4::QuoWrapper::num_numanodes_per_node() > 0);
FAIL_IF_NOT(rtt_c4::QuoWrapper::num_mpi_ranks_per_node() > 0);
Expand Down
18 changes: 14 additions & 4 deletions tools/ats2-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,16 @@ case $ddir in
run "module use /usr/gapps/jayenne/vendors-ec/spack.20190616/share/spack/lmod/linux-rhel7-ppc64le/Core"
run "module load StdEnv"
run "module unload cuda spectrum-mpi xl"
run "module load gcc/7.3.1 spectrum-mpi/2019.06.24"
unset CMAKE_PREFIX_PATH
unset CPATH
unset LD_LIBRARY_PATH
unset LIBRARY_PATH
run "module load gcc/7.3.1 spectrum-mpi/2019.06.24 cuda"
run "module load python/3.7.2 cmake/3.14.5 git gsl numdiff random123 metis netlib-lapack"
run "module load parmetis superlu-dist trilinos csk"
run "module load eospac/6.4.0 libquo/1.3.1 ndi"
run "module list"
run "module avail"
unset MPI_ROOT
CXX=`which g++`
CC=`which gcc`
Expand All @@ -72,14 +77,19 @@ case $ddir in
run "module use /usr/gapps/jayenne/vendors-ec/spack.20190616/share/spack/lmod/linux-rhel7-ppc64le/Core"
run "module load StdEnv"
run "module unload cuda spectrum-mpi xl"
run "module load xl/2019.12.23 spectrum-mpi/2019.06.24"
unset CMAKE_PREFIX_PATH
unset CPATH
unset LD_LIBRARY_PATH
unset LIBRARY_PATH
run "module load xl/2019.12.23 spectrum-mpi/2019.06.24 cuda"
run "module load python/3.7.2 cmake/3.14.5 git gsl numdiff random123 metis netlib-lapack"
run "module load parmetis superlu-dist csk"
run "module load parmetis superlu-dist trilinos csk"
run "module load eospac/6.4.0 libquo/1.3.1 ndi"
# trilinos possible non-spack solution at:
# /usr/gapps/jayenne/vendors/trilinos-12.18.1/xl-2019.12.23-spectrum-mpi-2019.06.24
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:/usr/gapps/jayenne/vendors/trilinos-12.18.1/xl-2019.12.23-spectrum-mpi-2019.06.24
# export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:/usr/gapps/jayenne/vendors/trilinos-12.18.1/xl-2019.12.23-spectrum-mpi-2019.06.24
run "module list"
run "module avail"
unset MPI_ROOT
}
;;
Expand Down
4 changes: 3 additions & 1 deletion tools/ats2-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ cmd="bsub $job_launch_options -nnodes 1 -W 4:00 \
-J rel_${package:0:3}-${buildflavor: -12}-$rttversion -o $logfile -e $logfile"
echo "$cmd $draco_script_dir/release.msub"
jobid=`$cmd $draco_script_dir/release.msub`
sleep 1m
echo "jobid = $jobid"
sleep 2m
# trim extra whitespace from number
jobid=`echo ${jobid//[^0-9]/}`
export jobids="$jobid $jobids"
echo "jobids = $jobids"

##---------------------------------------------------------------------------##
## End
Expand Down
3 changes: 2 additions & 1 deletion tools/darwin-arm-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ case $ddir in
lapackflavor="lapack-3.8.0"
noflavor="git gcc/8.2.0 ndi"
compflavor="cmake/3.14.2-$cflavor gsl/2.5-$cflavor netlib-lapack/3.8.0-$cflavor numdiff/5.9.0-$cflavor random123/1.09-$cflavor metis/5.1.0-$cflavor eospac/6.4.0-$cflavor openmpi/3.1.3-gcc_8.2.0"
mpiflavor="libquo parmetis/4.0.3-$mflavor superlu-dist/5.2.2-$mflavor-$lapackflavor trilinos/12.14.1-$mflavor-$lapackflavor"
mpiflavor="libquo/1.3-$mflavor parmetis/4.0.3-$mflavor superlu-dist/5.2.2-$mflavor-$lapackflavor trilinos/12.14.1-$mflavor-$lapackflavor"
ec_mf="ndi/2.1.3-$cflavor csk/0.5.0-$cflavor"

export dracomodules="$noflavor $compflavor $mpiflavor $ec_mf"
for m in $dracomodules; do
Expand Down
9 changes: 3 additions & 6 deletions tools/darwin-power9-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,10 @@ case $ddir in
mflavor="$cflavor-openmpi-3.1.3"
lflavor="lapack-3.8.0"
noflavor="git gcc/7.3.0 cuda/10.1"
compflavor="eospac/6.4.0-$cflavor cmake/3.16.4-$cflavor random123
numdiff/5.9.0-$cflavor gsl/2.5-$cflavor netlib-lapack/3.8.0-$cflavor metis/5.1.0-$cflavor
openmpi/p9/3.1.3-gcc_7.3.0"
mpiflavor="parmetis/4.0.3-$mflavor
superlu-dist/5.2.2-${mflavor}-$lflavor trilinos/12.14.1-cuda-10.1-${mflavor}-$lflavor"
compflavor="eospac/6.4.0-$cflavor cmake/3.16.4-$cflavor random123 numdiff/5.9.0-$cflavor gsl/2.5-$cflavor netlib-lapack/3.8.0-$cflavor metis/5.1.0-$cflavor openmpi/p9/3.1.3-gcc_7.3.0"
mpiflavor="libquo/1.3-$mflavor parmetis/4.0.3-$mflavor superlu-dist/5.2.2-${mflavor}-$lflavor trilinos/12.14.1-cuda-10.1-${mflavor}-$lflavor"

ec_mf="ndi libquo"
ec_mf="csk/0.5.0-$cflavor ndi"

# work around for known openmpi issues:
# https://rtt.lanl.gov/redmine/issues/1229
Expand Down
4 changes: 2 additions & 2 deletions tools/darwin-x86_64-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ case $ddir in
compflavor="cmake/3.16.4 gsl/2.5-$cflavor
netlib-lapack/3.8.0-$cflavor numdiff/5.9.0-$cflavor random123/1.09-$cflavor
metis/5.1.0-$cflavor eospac/6.4.0-$cflavor openmpi/3.1.3-gcc_7.3.0"
mpiflavor="parmetis/4.0.3-$mflavor superlu-dist/5.2.2-$mflavor-$lapackflavor trilinos/12.14.1-cuda-10.1-$mflavor-$lapackflavor"
ec_mf="ndi libquo"
mpiflavor="libquo/1.3-$mflavor parmetis/4.0.3-$mflavor superlu-dist/5.2.2-$mflavor-$lapackflavor trilinos/12.14.1-cuda-10.1-$mflavor-$lapackflavor"
ec_mf="ndi csk/0.5.0-$cflavor"

export dracomodules="$noflavor $compflavor $mpiflavor $ec_mf"
for m in $dracomodules; do
Expand Down
5 changes: 4 additions & 1 deletion tools/release.msub
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ source $draco_script_dir/common.sh
export buildflavor=`flavor`
export build_pe=`npes_build`
export test_pe=`npes_test`
#export test_pe=1
case `uname -n` in
rzansel* | sierra* ) export test_pe=1 ;;
esac


##---------------------------------------------------------------------------##
## Print a summary of this build
Expand Down
2 changes: 1 addition & 1 deletion tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ for env in $environments; do
echo "======================================="
${env}

buildflavor=`flavor`
export buildflavor=`flavor`
# e.g.: buildflavor=snow-openmpi-1.6.5-intel-15.0.3

export install_prefix="$source_prefix/$buildflavor"
Expand Down

0 comments on commit b19cd64

Please sign in to comment.