⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 runtests.in

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻 IN
字号:
#! /bin/sh## Run some of the tests.  If any arguments are provided, pass them to the# test programs.## -mvhome is needed for the ANL SP, and is ignored by othersargs=@MPIRUNARGS@device=@DEVICE@top_srcdir=@top_srcdir@srcdir=@srcdir@MPICH_VERSION=@MPICH_VERSION@STOPFILE=$HOME/.stopmpichtestsmpirun=${MPIRUN:-"@MPIRUN@"}MAKE="@MAKE@"## Load basic procedures. ${top_srcdir}/runbase## Set mpirun to the name/path of the mpirun programFindMPIRUN### If the programs are not available, run make.#runtests=1makeeach=0writesummaryfile=noquiet=0MAKE="@MAKE@"for arg in "$@" ; do    case $arg in 	-checkonly )	runtests=0	;;        -margs=*)	margs=`echo $arg | sed 's/-margs=//'`	args="$args $margs"	;;	-summaryfile=*)	writesummaryfile=yes	summaryfile=`echo A$arg | sed 's/A-summaryfile=//'`	;;	-small)	makeeach=1	;;	-quiet)	shift	quiet=1	;;	-help|-u)	echo "runtests [-checkonly] [-margs='...'] [-small]"	echo "run tests in this directory.  If -checkonly set, just run"	echo "the differences check (do NO rerun the test programs)."	echo "If -margs is used, these options are passed to mpirun."	echo "If -small is used, the examples are built, run, and deleted."	exit 1	;;	*)	if test -n "$arg" ; then   	    echo "runtests: Unknown argument ($arg)"	    exit 1        fi	;;    esacdoneif [ ! -x cart -a $makeeach = 0 -a $runtests = 1 ] ; then    $MAKE defaultfitestfiles=""if [ $runtests = 1 ] ; thenRunTest dims 1 "**** Testing MPI_Dims_create ****"RunTest cart 4 "**** Testing MPI_Cart_create etc ****"RunTest cart2 4 "**** Testing MPI_Cart_coords etc ****"RunTest cartmap 4 "**** Testing MPI_Cart_map etc ****"RunTest cartorder 4 "**** Testing MPI_Cart_create etc (2) ****"RunTest graphtest 4 "**** Testing MPI_Graph_create etc ****"## Run Fortran tests ONLY if Fortran availableif [ @HAS_FORTRAN@ = 1 ] ; then     echo "FORTRAN TESTS"    RunTest cartf 4 "*** Testing cart from Fortran ***"    RunTest cart1f 4 "*** Testing cart1 from Fortran ***"    RunTest cart2f 4 "*** Testing cart2 from Fortran ***"    RunTest twod 2 "*** Testing twod from Fortran ***"fielse    # Just run checks    testfiles=*.outfi#echo '*** Checking for differences from expected output ***'CheckAllOutput topol.diffexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -