Improved configure tests for CrayXT platforms:
- added default option file - added detection of the compiler loaded by the programming environment This commit was SVN r22988.
Этот коммит содержится в:
родитель
4d06125a33
Коммит
8441b4f7e0
@ -5,6 +5,7 @@
|
|||||||
by the GNU, Intel, PathScale, or PGI 9 compiler
|
by the GNU, Intel, PathScale, or PGI 9 compiler
|
||||||
- extended support for BlueGene/P in terms of tracing libraries
|
- extended support for BlueGene/P in terms of tracing libraries
|
||||||
(e.g. libc I/O) and tracing of multi-threaded applications
|
(e.g. libc I/O) and tracing of multi-threaded applications
|
||||||
|
- added default option file for CrayXT platforms
|
||||||
- added support for PAPI-C counters which belong to different components
|
- added support for PAPI-C counters which belong to different components
|
||||||
- added environment variable VT_METRICS_SEP to specify a string which
|
- added environment variable VT_METRICS_SEP to specify a string which
|
||||||
separate the counter names in VT_METRICS
|
separate the counter names in VT_METRICS
|
||||||
|
@ -17,6 +17,7 @@ EXTRA_DIST = \
|
|||||||
VERSION \
|
VERSION \
|
||||||
config/defaults/bgl \
|
config/defaults/bgl \
|
||||||
config/defaults/bgp \
|
config/defaults/bgp \
|
||||||
|
config/defaults/crayxt \
|
||||||
config/defaults/ibm \
|
config/defaults/ibm \
|
||||||
config/defaults/ibm-64 \
|
config/defaults/ibm-64 \
|
||||||
config/defaults/sicortex \
|
config/defaults/sicortex \
|
||||||
|
9
ompi/contrib/vt/vt/config/defaults/crayxt
Обычный файл
9
ompi/contrib/vt/vt/config/defaults/crayxt
Обычный файл
@ -0,0 +1,9 @@
|
|||||||
|
CC="cc"
|
||||||
|
CXX="CC"
|
||||||
|
F77="ftn"
|
||||||
|
FC="ftn"
|
||||||
|
CFLAGS="-target=$XTPE_COMPILE_TARGET"
|
||||||
|
CXXFLAGS="-target=$XTPE_COMPILE_TARGET"
|
||||||
|
FFLAGS="-target=$XTPE_COMPILE_TARGET"
|
||||||
|
FCFLAGS="-target=$XTPE_COMPILE_TARGET"
|
||||||
|
with_mpich2="yes"
|
@ -45,6 +45,8 @@ AC_DEFUN([ACVT_COMPINST],
|
|||||||
compinst_openuh_fflags="$compinst_openuh_cflags"
|
compinst_openuh_fflags="$compinst_openuh_cflags"
|
||||||
compinst_openuh_fcflags="$compinst_openuh_cflags"
|
compinst_openuh_fcflags="$compinst_openuh_cflags"
|
||||||
|
|
||||||
|
AC_REQUIRE([ACVT_PLATFORM])
|
||||||
|
|
||||||
AC_ARG_ENABLE(compinst,
|
AC_ARG_ENABLE(compinst,
|
||||||
AC_HELP_STRING([--enable-compinst=TYPE],
|
AC_HELP_STRING([--enable-compinst=TYPE],
|
||||||
[enable support for compiler instrumentation (gnu,intel,pathscale,pgi,pgi9,sun,xl,nec,openuh), default: automatically by configure]),
|
[enable support for compiler instrumentation (gnu,intel,pathscale,pgi,pgi9,sun,xl,nec,openuh), default: automatically by configure]),
|
||||||
@ -150,12 +152,38 @@ AC_DEFUN([ACVT_COMPINST],
|
|||||||
AC_MSG_RESULT([sun])
|
AC_MSG_RESULT([sun])
|
||||||
;;
|
;;
|
||||||
cc*)
|
cc*)
|
||||||
|
AS_IF([test "$PLATFORM" = "crayxt"],
|
||||||
|
[
|
||||||
|
for f in "-V --version"; do
|
||||||
|
case `$CC $f 2>&1` in
|
||||||
|
*pgcc\ [1-8].*)
|
||||||
|
compinst_type="pgi"
|
||||||
|
AC_MSG_RESULT([pgi])
|
||||||
|
;;
|
||||||
|
*pgcc\ *)
|
||||||
|
compinst_type="pgi9"
|
||||||
|
AC_MSG_RESULT([pgi9])
|
||||||
|
;;
|
||||||
|
*gcc\ *)
|
||||||
|
compinst_type="gnu"
|
||||||
|
AC_MSG_RESULT([gnu])
|
||||||
|
;;
|
||||||
|
*PathScale*)
|
||||||
|
compinst_type="gnu"
|
||||||
|
AC_MSG_RESULT([gnu (pathscale)])
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
AS_IF([test x"$compinst_type" != x], [break])
|
||||||
|
done
|
||||||
|
],
|
||||||
|
[
|
||||||
compver=`$CC -V 2>&1 | grep "Sun C"`
|
compver=`$CC -V 2>&1 | grep "Sun C"`
|
||||||
AS_IF([test "$?" = "0"],
|
AS_IF([test "$?" = "0"],
|
||||||
[
|
[
|
||||||
compinst_type="sun"
|
compinst_type="sun"
|
||||||
AC_MSG_RESULT([sun])
|
AC_MSG_RESULT([sun])
|
||||||
])
|
])
|
||||||
|
])
|
||||||
;;
|
;;
|
||||||
uhcc* | opencc*)
|
uhcc* | opencc*)
|
||||||
compver=`$CC -dumpversion`
|
compver=`$CC -dumpversion`
|
||||||
|
@ -164,7 +164,7 @@ char* vt_pform_ldir() {
|
|||||||
#ifdef DEFAULT_PFORM_LDIR
|
#ifdef DEFAULT_PFORM_LDIR
|
||||||
return DEFAULT_PFORM_LDIR;
|
return DEFAULT_PFORM_LDIR;
|
||||||
#else
|
#else
|
||||||
return "/tmp";
|
return ".";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user