Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2006 15:42:58 +0100 (CET)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105665: [NEW PORT] benchmarks/imb: Intel MPI Benchmark
Message-ID:  <20061119144258.A3F1839DB8@pin.if.uz.zgora.pl>
Resent-Message-ID: <200611191450.kAJEoKGt003178@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105665
>Category:       ports
>Synopsis:       [NEW PORT] benchmarks/imb: Intel MPI Benchmark
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 19 14:50:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
The idea of IMB is to provide a concise set of elementary MPI
benchmark kernels. With one executable, all of the supported
benchmarks, or a subset specified by the command line, can be run.
The rules, such as time measurement (including a repetitive call
of the kernels for better clock synchronization), message lengths,
selection of communicators to run a particular benchmark (inside
the group of all started processes) are program parameters.

WWW:	http://www.intel.com/cd/software/products/asmo-na/eng/cluster/mpi/219848.htm

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- imb-3.0.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	imb
#	imb/pkg-descr
#	imb/Makefile
#	imb/distinfo
#	imb/files
#	imb/files/patch-src-make_mpich
#	imb/files/patch-src-IMB_declare.h
#	imb/pkg-plist
#
echo c - imb
mkdir -p imb > /dev/null 2>&1
echo x - imb/pkg-descr
sed 's/^X//' >imb/pkg-descr << 'END-of-imb/pkg-descr'
XThe idea of IMB is to provide a concise set of elementary MPI
Xbenchmark kernels. With one executable, all of the supported
Xbenchmarks, or a subset specified by the command line, can be run.
XThe rules, such as time measurement (including a repetitive call
Xof the kernels for better clock synchronization), message lengths,
Xselection of communicators to run a particular benchmark (inside
Xthe group of all started processes) are program parameters.
X
XWWW:	http://www.intel.com/cd/software/products/asmo-na/eng/cluster/mpi/219848.htm
END-of-imb/pkg-descr
echo x - imb/Makefile
sed 's/^X//' >imb/Makefile << 'END-of-imb/Makefile'
X# New ports collection makefile for:	imb
X# Date created:		2006-11-19
X# Whom:			trasz <trasz@pin.if.uz.zgora.pl>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	imb
XPORTVERSION=	3.0
XCATEGORIES=	benchmarks parallel
XMASTER_SITES=	${MASTER_SITE_LOCAL} \
X		http://cache-www.intel.com/cd/00/00/32/71/
XMASTER_SITE_SUBDIR=	itetcu
XDISTNAME=	327191_327191
XEXTRACT_SUFX=	.gz
X
XMAINTAINER=	trasz@pin.if.uz.zgora.pl
XCOMMENT=	Intel MPI Benchmark
X
XWRKSRC=		${WRKDIR}/IMB_3.0/src/
XUSE_GMAKE=	yes
XMAKEFILE=	make_mpich
XALL_TARGET=	all
X# Intel hardcodes -O3 in make_mpich.  Replacing it with system defaults
X# would make it impossible to compare benchmark results with other systems.
X# By putting it here we make it easier for somebody to change it, if they
X# _really_ want it.
XCFLAGS=		-O3
X
X# Attention: -DCHECK results are not valid as real benchmark data! Don't
X# forget to deactivate DCHECK and recompile in order to get proper results.
X.if defined(CHECK_RESULTS)
XCFLAGS+=	-DCHECK
X.endif
X
X.include <bsd.port.pre.mk>
X
X.if exists(${LOCALBASE}/mpi/openmpi/bin/mpirun)
XWITH_OPENMPI=	yes
X.endif
X
X.if defined(WITH_OPENMPI)
XBUILD_DEPENDS=	${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi
XRUN_DEPENDS=	${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
XMAKE_ENV=	MPI_HOME=${LOCALBASE}/mpi/openmpi
X.else
XBUILD_DEPENDS=	${LOCALBASE}/mpich2/bin/mpicc:${PORTSDIR}/net/mpich2
XRUN_DEPENDS=	${LOCALBASE}/mpich2/bin/mpirun:${PORTSDIR}/net/mpich2
XMAKE_ENV=	MPI_HOME=${LOCALBASE}/mpich2
X.endif
X
Xdo-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_MAN} ${WRKDIR}/IMB_3.0/doc/IMB_ug-3.0.pdf ${DOCSDIR}
X	${INSTALL_MAN} ${WRKDIR}/IMB_3.0/license/license.txt ${DOCSDIR}
X	${INSTALL_MAN} ${WRKDIR}/IMB_3.0/license/use-of-trademark-license.txt ${DOCSDIR}
X.endif
X	${INSTALL_PROGRAM} ${WRKSRC}/IMB-EXT ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/IMB-IO ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/IMB-MPI1 ${PREFIX}/bin
X
X.include <bsd.port.post.mk>
END-of-imb/Makefile
echo x - imb/distinfo
sed 's/^X//' >imb/distinfo << 'END-of-imb/distinfo'
XMD5 (327191_327191.gz) = 4e65d46aaf30d12cdeaf898df5693cdc
XSHA256 (327191_327191.gz) = 5014ec12ae5dc05b1373b47b41d26fe518bc41fe5c77899eb400a25dd9c3ec53
XSIZE (327191_327191.gz) = 464188
END-of-imb/distinfo
echo c - imb/files
mkdir -p imb/files > /dev/null 2>&1
echo x - imb/files/patch-src-make_mpich
sed 's/^X//' >imb/files/patch-src-make_mpich << 'END-of-imb/files/patch-src-make_mpich'
X--- make_mpich.orig	Thu Jun 22 09:43:10 2006
X+++ make_mpich	Sun Nov 19 14:11:11 2006
X@@ -1,5 +1,5 @@
X # Enter root directory of mpich install
X-MPI_HOME=
X+#MPI_HOME=
X 
X MPICC=$(shell find ${MPI_HOME} -name mpicc -print)
X 
X@@ -12,7 +12,7 @@
X LIB_PATH    =
X LIBS        = 
X CC          = ${MPI_HOME}/bin/mpicc 
X-OPTFLAGS    = -O3
X+OPTFLAGS    = ${CFLAGS}
X CLINKER     = ${CC}
X LDFLAGS     =
X CPPFLAGS    = 
END-of-imb/files/patch-src-make_mpich
echo x - imb/files/patch-src-IMB_declare.h
sed 's/^X//' >imb/files/patch-src-IMB_declare.h << 'END-of-imb/files/patch-src-IMB_declare.h'
X--- IMB_declare.h.orig	Sun Nov 19 13:48:20 2006
X+++ IMB_declare.h	Sun Nov 19 13:48:36 2006
X@@ -69,7 +69,6 @@
X #include <stdio.h>
X #include <stdlib.h>
X #include <string.h>
X-#include <malloc.h>
X #include <stddef.h>
X #include "IMB_appl_errors.h"
X #include "IMB_err_check.h"
END-of-imb/files/patch-src-IMB_declare.h
echo x - imb/pkg-plist
sed 's/^X//' >imb/pkg-plist << 'END-of-imb/pkg-plist'
Xbin/IMB-EXT
Xbin/IMB-IO
Xbin/IMB-MPI1
X%%PORTDOCS%%%%DOCSDIR%%/IMB_ug-3.0.pdf
X%%PORTDOCS%%%%DOCSDIR%%/license.txt
X%%PORTDOCS%%%%DOCSDIR%%/use-of-trademark-license.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-imb/pkg-plist
exit
--- imb-3.0.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061119144258.A3F1839DB8>