1
1

- Update the cray_xt_cnl_romio; include logical values

and provide something for COMPLEXp32 (which is then ignored anyway).
 - Provide a self-contained script, which does not depend on platform
   files and cross-compilation, aka it should be able to compile Fortran...
     ornl_configure_self_contained.gnu
     ornl_configure_self_contained.pgi

This commit was SVN r20775.
Этот коммит содержится в:
Rainer Keller 2009-03-13 22:30:34 +00:00
родитель 64f52b0168
Коммит 8b45fe1e7e
3 изменённых файлов: 78 добавлений и 2 удалений

Просмотреть файл

@ -55,7 +55,9 @@ ompi_cv_f77_sizeof_COMPLEXp8=${ompi_cv_f77_sizeof_COMPLEXp8=8}
ompi_cv_f77_alignment_COMPLEXp8=${ompi_cv_f77_alignment_COMPLEXp8=4}
ompi_cv_f77_sizeof_COMPLEXp16=${ompi_cv_f77_sizeof_COMPLEXp16=16}
ompi_cv_f77_alignment_COMPLEXp16=${ompi_cv_f77_alignment_COMPLEXp16=8}
ompi_cv_f77_true_value=${ompi_cv_f77_true_value=0}
ompi_cv_f77_sizeof_COMPLEXp32=${ompi_cv_f77_sizeof_COMPLEXp32=-1}
ompi_cv_f77_alignment_COMPLEXp32=${ompi_cv_f77_alignment_COMPLEXp32=8}
ompi_cv_f77_true_value=${ompi_cv_f77_true_value=-1}
ompi_cv_f90_sizeof_LOGICAL=${ompi_cv_f90_sizeof_LOGICAL=4}
@ -98,7 +100,9 @@ ompi_cv_f90_sizeof_COMPLEXp8=${ompi_cv_f90_sizeof_COMPLEXp8=8}
ompi_cv_f90_alignment_COMPLEXp8=${ompi_cv_f90_alignment_COMPLEXp8=4}
ompi_cv_f90_sizeof_COMPLEXp16=${ompi_cv_f90_sizeof_COMPLEXp16=16}
ompi_cv_f90_alignment_COMPLEXp16=${ompi_cv_f90_alignment_COMPLEXp16=8}
ompi_cv_f90_true_value=${ompi_cv_f90_true_value=0}
ompi_cv_f90_sizeof_COMPLEXp32=${ompi_cv_f90_sizeof_COMPLEXp32=-1}
ompi_cv_f90_alignment_COMPLEXp32=${ompi_cv_f90_alignment_COMPLEXp32=8}
ompi_cv_f90_true_value=${ompi_cv_f90_true_value=-1}
ompi_cv_f90_sizeof_DOUBLE_COMPLEX=${ompi_cv_f90_sizeof_DOUBLE_COMPLEX=16}
ompi_cv_f90_alignment_DOUBLE_COMPLEX=${ompi_cv_f90_alignment_DOUBLE_COMPLEX=8}
ompi_cv_f90_int_kind_9=${ompi_cv_f90_int_kind_9=4}

35
contrib/platform/ornl/ornl_configure_self_contained.gnu Исполняемый файл
Просмотреть файл

@ -0,0 +1,35 @@
#!/bin/sh
#
# Self-contained configure script, that does not rely
# on cross-compilation, aka not need for a platforms-file.
#
# Compilation should be done as VPATH
if [ -d .svn -o -f AUTHORS ] ; then
echo WARNING: Should not compile in source directory
echo Please create a directory and adapt SRCDIR in this script
return
fi
SRCDIR=..
PREFIX=`pwd`/usr
$SRCDIR/configure \
--prefix=$PREFIX \
--enable-static --disable-shared \
--with-alps=yes --with-portals=yes --with-portals-config=cnl_modex \
--enable-mca-no-build=maffinity-first_use,maffinity-libnuma,ess-cnos,filem-rsh,grpcomm-cnos,pml-dr \
--with-wrapper-ldflags='-L/opt/xt-service/default/lib/snos64/ -lportals \
-L/opt/xt-pe/default/lib/snos64/ -lpct \
-L/opt/xt-mpt/default/lib/snos64/ -lalpslli -lalpsutil' \
CPPFLAGS='-I/opt/xt-pe/default/include/' \
FFLAGS='-I/opt/xt-pe/default/include/' \
FCFLAGS='-I/opt/xt-pe/default/include/' \
LDFLAGS='-L/opt/xt-service/default/lib/snos64/ -L/opt/xt-mpt/default/lib/snos64/' \
LIBS='-lportals -lalpslli -lalpsutil' | tee build.log
#
# To build orted static, use the libtool-flag -all-static
#
make -s -j2 orted_LDFLAGS=-all-static all | tee -a build.log

37
contrib/platform/ornl/ornl_configure_self_contained.pgi Исполняемый файл
Просмотреть файл

@ -0,0 +1,37 @@
#!/bin/sh
#
# Self-contained configure script, that does not rely
# on cross-compilation, aka not need for a platforms-file.
#
# Compilation should be done as VPATH
if [ -d .svn -o -f AUTHORS ] ; then
echo WARNING: Should not compile in source directory
echo Please create a directory and adapt SRCDIR in this script
return
fi
SRCDIR=..
PREFIX=`pwd`/usr
$SRCDIR/configure \
--prefix=$PREFIX \
--enable-static --disable-shared \
--with-alps=yes --with-portals=yes --with-portals-config=cnl_modex \
--enable-mca-no-build=maffinity-first_use,maffinity-libnuma,ess-cnos,filem-rsh,grpcomm-cnos,pml-dr \
--with-wrapper-ldflags='-L/opt/pgi/default/linux86-64/default/lib \
-L/opt/xt-service/default/lib/snos64/ -lportals \
-L/opt/xt-pe/default/lib/snos64/ -lpct \
-L/opt/xt-mpt/default/lib/snos64/ -lalpslli -lalpsutil' \
CC=pgcc CXX=pgCC F77=pgf77 FC=pgf90 \
CPPFLAGS='-I/opt/xt-pe/default/include/' \
FFLAGS='/opt/pgi/default/linux86-64/default/lib/pgfmain.o -I/opt/xt-pe/default/include/' \
FCFLAGS='/opt/pgi/default/linux86-64/default/lib/pgfmain.o -I/opt/xt-pe/default/include/' \
LDFLAGS='-L/opt/pgi/default/linux86-64/default/lib -L/opt/xt-service/default/lib/snos64/ -L/opt/xt-mpt/default/lib/snos64/' \
LIBS='-lportals -lalpslli -lalpsutil -YC,/opt/xt-catamount/default/lib/cnos64/ -YS,/opt/xt-libc/default/amd64/lib/' | tee build.log
#
# To build orted static, use the libtool-flag -all-static
#
make -s -j2 orted_LDFLAGS=-all-static all | tee -a build.log