Purge whitespace from the repo
This commit is contained in:
parent
dc9932a786
commit
869041f770
6
LICENSE
6
LICENSE
@ -11,12 +11,12 @@ Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
|
||||
Copyright (c) 2004-2010 The University of Tennessee and The University
|
||||
of Tennessee Research Foundation. All rights
|
||||
reserved.
|
||||
Copyright (c) 2004-2010 High Performance Computing Center Stuttgart,
|
||||
Copyright (c) 2004-2010 High Performance Computing Center Stuttgart,
|
||||
University of Stuttgart. All rights reserved.
|
||||
Copyright (c) 2004-2008 The Regents of the University of California.
|
||||
All rights reserved.
|
||||
Copyright (c) 2006-2010 Los Alamos National Security, LLC. All rights
|
||||
reserved.
|
||||
reserved.
|
||||
Copyright (c) 2006-2010 Cisco Systems, Inc. All rights reserved.
|
||||
Copyright (c) 2006-2010 Voltaire, Inc. All rights reserved.
|
||||
Copyright (c) 2006-2011 Sandia National Laboratories. All rights reserved.
|
||||
@ -26,7 +26,7 @@ Copyright (c) 2006-2010 The University of Houston. All rights reserved.
|
||||
Copyright (c) 2006-2009 Myricom, Inc. All rights reserved.
|
||||
Copyright (c) 2007-2008 UT-Battelle, LLC. All rights reserved.
|
||||
Copyright (c) 2007-2010 IBM Corporation. All rights reserved.
|
||||
Copyright (c) 1998-2005 Forschungszentrum Juelich, Juelich Supercomputing
|
||||
Copyright (c) 1998-2005 Forschungszentrum Juelich, Juelich Supercomputing
|
||||
Centre, Federal Republic of Germany
|
||||
Copyright (c) 2005-2008 ZIH, TU Dresden, Federal Republic of Germany
|
||||
Copyright (c) 2007 Evergrid, Inc. All rights reserved.
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
# of Tennessee Research Foundation. All rights
|
||||
# reserved.
|
||||
# Copyright (c) 2004-2009 High Performance Computing Center Stuttgart,
|
||||
# Copyright (c) 2004-2009 High Performance Computing Center Stuttgart,
|
||||
# University of Stuttgart. All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
@ -13,9 +13,9 @@
|
||||
# Copyright (c) 2012-2015 Los Alamos National Security, Inc. All rights reserved.
|
||||
# Copyright (c) 2014 Intel, Inc. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
#
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
|
44
autogen.pl
44
autogen.pl
@ -6,9 +6,9 @@
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2013-2014 Intel, Inc. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
#
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
@ -74,7 +74,7 @@ my $full_hostname;
|
||||
my $patch_prog = "patch";
|
||||
# Solaris "patch" doesn't understand unified diffs, and will cause
|
||||
# autogen.pl to hang with a "File to patch:" prompt. Default to Linux
|
||||
# "patch", but use "gpatch" on Solaris.
|
||||
# "patch", but use "gpatch" on Solaris.
|
||||
if ($^O eq "solaris") {
|
||||
$patch_prog = "gpatch";
|
||||
}
|
||||
@ -247,7 +247,7 @@ sub mca_process_component {
|
||||
$found_component->{"name"} = $component;
|
||||
|
||||
# Push the results onto the $mca_found hash array
|
||||
push(@{$mca_found->{$pname}->{$framework}->{"components"}},
|
||||
push(@{$mca_found->{$pname}->{$framework}->{"components"}},
|
||||
$found_component);
|
||||
|
||||
# Is there an autogen.subdirs in here?
|
||||
@ -274,7 +274,7 @@ sub ignored {
|
||||
$unignore .= $_
|
||||
while (<UNIGNORE>);
|
||||
close(UNIGNORE);
|
||||
|
||||
|
||||
$ignored = 0
|
||||
if ($unignore =~ /^$username$/m ||
|
||||
$unignore =~ /^$username\@$hostname$/m ||
|
||||
@ -307,13 +307,13 @@ sub mca_process_framework {
|
||||
# Look for component directories in this framework
|
||||
if (-d $dir) {
|
||||
$mca_found->{$pname}->{$framework}->{found} = 1;
|
||||
opendir(DIR, $dir) ||
|
||||
opendir(DIR, $dir) ||
|
||||
my_die "Can't open $dir directory";
|
||||
foreach my $d (readdir(DIR)) {
|
||||
# Skip any non-directory, "base", or any dir that
|
||||
# begins with "."
|
||||
next
|
||||
if (! -d "$dir/$d" || $d eq "base" ||
|
||||
if (! -d "$dir/$d" || $d eq "base" ||
|
||||
substr($d, 0, 1) eq ".");
|
||||
|
||||
# Skip any component that doesn't have a configure.m4
|
||||
@ -328,7 +328,7 @@ sub mca_process_framework {
|
||||
|
||||
verbose "--- Found $pname / $framework / $d component\n";
|
||||
|
||||
# Skip if specifically excluded
|
||||
# Skip if specifically excluded
|
||||
if (exists($exclude_list->{$framework}) &&
|
||||
$exclude_list->{$framework}[0] eq $d) {
|
||||
verbose " => Excluded\n";
|
||||
@ -415,7 +415,7 @@ sub mca_process_project {
|
||||
# Look for framework directories in this project
|
||||
my $dir = "$topdir/$pdir/mca";
|
||||
if (-d $dir) {
|
||||
opendir(DIR, $dir) ||
|
||||
opendir(DIR, $dir) ||
|
||||
my_die "Can't open $dir directory";
|
||||
my @my_dirs = readdir(DIR);
|
||||
@my_dirs = sort(@my_dirs);
|
||||
@ -493,7 +493,7 @@ dnl MCA information\n";
|
||||
# Does this project have a configure.m4 file?
|
||||
push(@includes, "$pdir/configure.m4")
|
||||
if (exists($mca_found->{$p}->{"configure.m4"}));
|
||||
|
||||
|
||||
# Print out project-level info
|
||||
my @mykeys = keys(%{$mca_found->{$pname}});
|
||||
@mykeys = sort(@mykeys);
|
||||
@ -553,7 +553,7 @@ m4_define([mca_${pname}_framework_list], [$frameworks_comma])
|
||||
}
|
||||
$m4_config_component_list =~ s/^, //;
|
||||
$no_config_component_list =~ s/^, //;
|
||||
|
||||
|
||||
$m4 .= "dnl Components in the $pname / $f framework
|
||||
m4_define([mca_${pname}_${f}_m4_config_component_list], [$m4_config_component_list])
|
||||
m4_define([mca_${pname}_${f}_no_config_component_list], [$no_config_component_list])
|
||||
@ -576,7 +576,7 @@ dnl List of configure.m4 files to include\n";
|
||||
|
||||
sub mpiext_process_extension {
|
||||
my ($topdir, $ext_prefix, $extdir) = @_;
|
||||
|
||||
|
||||
my $edir = "$topdir/$ext_prefix/$extdir";
|
||||
return
|
||||
if (! -d $edir);
|
||||
@ -602,13 +602,13 @@ sub mpiext_run_global {
|
||||
my $topdir = Cwd::cwd();
|
||||
|
||||
my $dir = "$topdir/$ext_prefix";
|
||||
opendir(DIR, $dir) ||
|
||||
opendir(DIR, $dir) ||
|
||||
my_die "Can't open $dir directory";
|
||||
foreach my $d (readdir(DIR)) {
|
||||
# Skip any non-directory, "base", or any dir that begins with "."
|
||||
next
|
||||
if (! -d "$dir/$d" || $d eq "base" || substr($d, 0, 1) eq ".");
|
||||
|
||||
|
||||
# If this directory has a configure.m4, then it's an
|
||||
# extension.
|
||||
if (-f "$dir/$d/configure.m4") {
|
||||
@ -663,7 +663,7 @@ m4_define([ompi_mpiext_list], [$m4_config_ext_list])\n";
|
||||
|
||||
sub mpicontrib_process {
|
||||
my ($topdir, $contrib_prefix, $contribdir) = @_;
|
||||
|
||||
|
||||
my $cdir = "$topdir/$contrib_prefix/$contribdir";
|
||||
return
|
||||
if (! -d $cdir);
|
||||
@ -689,13 +689,13 @@ sub mpicontrib_run_global {
|
||||
my $topdir = Cwd::cwd();
|
||||
|
||||
my $dir = "$topdir/$contrib_prefix";
|
||||
opendir(DIR, $dir) ||
|
||||
opendir(DIR, $dir) ||
|
||||
my_die "Can't open $dir directory";
|
||||
foreach my $d (readdir(DIR)) {
|
||||
# Skip any non-directory, "base", or any dir that begins with "."
|
||||
next
|
||||
if (! -d "$dir/$d" || $d eq "base" || substr($d, 0, 1) eq ".");
|
||||
|
||||
|
||||
# If this directory has a configure.m4, then it's an
|
||||
# extension.
|
||||
if (-f "$dir/$d/configure.m4") {
|
||||
@ -821,7 +821,7 @@ sub find_and_check {
|
||||
if ($pn > $mn) {
|
||||
verbose " ==> ACCEPTED\n";
|
||||
return;
|
||||
}
|
||||
}
|
||||
# If the version is lower, we're done.
|
||||
elsif ($pn < $mn ||
|
||||
($pn == $mn && $pa lt $ma)) {
|
||||
@ -931,13 +931,13 @@ sub patch_autotools_output {
|
||||
# Similar issue as above -- fix the case statements that handle the Sun
|
||||
# Fortran version strings.
|
||||
#
|
||||
# Note: we have to use octal escapes to match '*Sun\ F*) and the
|
||||
# Note: we have to use octal escapes to match '*Sun\ F*) and the
|
||||
# four succeeding lines in the bourne shell switch statement.
|
||||
# \ = 134
|
||||
# ) = 051
|
||||
# * = 052
|
||||
#
|
||||
# Below is essentially an upstream patch for Libtool which we want
|
||||
# Below is essentially an upstream patch for Libtool which we want
|
||||
# made available to Open MPI users running older versions of Libtool
|
||||
|
||||
foreach my $tag (("", "_FC")) {
|
||||
@ -1066,7 +1066,7 @@ dnl
|
||||
$dnl_line
|
||||
dnl This file is automatically created by autogen.pl; it should not
|
||||
dnl be edited by hand!!
|
||||
dnl
|
||||
dnl
|
||||
dnl Generated by $username at " . localtime(time) . "
|
||||
dnl on $full_hostname.
|
||||
$dnl_line\n\n";
|
||||
@ -1269,7 +1269,7 @@ find_and_delete(qw/config.guess config.sub depcomp compile install-sh ltconfig
|
||||
# Remove the old m4 file and write the new one
|
||||
verbose "==> Writing m4 file with autogen.pl results\n";
|
||||
unlink($m4_output_file);
|
||||
open(M4, ">$m4_output_file") ||
|
||||
open(M4, ">$m4_output_file") ||
|
||||
my_die "Can't open $m4_output_file";
|
||||
print M4 $m4;
|
||||
close(M4);
|
||||
|
@ -6,14 +6,14 @@
|
||||
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
# of Tennessee Research Foundation. All rights
|
||||
# reserved.
|
||||
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
# University of Stuttgart. All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
#
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
|
@ -6,22 +6,22 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.
|
||||
dnl Copyright (c) 2014 Intel, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
# OPAL_C_GET_ALIGN(type, config_var)
|
||||
# ----------------------------------
|
||||
# Determine datatype alignment.
|
||||
# Determine datatype alignment.
|
||||
# First arg is type, 2nd arg is config var to define.
|
||||
AC_DEFUN([OPAL_C_GET_ALIGNMENT],[
|
||||
AC_CACHE_CHECK([alignment of $1],
|
||||
@ -39,7 +39,7 @@ AC_DEFUN([OPAL_C_GET_ALIGNMENT],[
|
||||
[AC_MSG_WARN([*** Problem running configure test!])
|
||||
AC_MSG_WARN([*** See config.log for details.])
|
||||
AC_MSG_ERROR([*** Cannot continue.])],
|
||||
[ # cross compile - do a non-executable test. Trick
|
||||
[ # cross compile - do a non-executable test. Trick
|
||||
# taken from the Autoconf 2.59c. Switch to using
|
||||
# AC_CHECK_ALIGNOF when we can require Autoconf 2.60.
|
||||
_AC_COMPUTE_INT([(long int) offsetof (opal__type_alignof_, y)],
|
||||
|
@ -13,7 +13,7 @@ dnl
|
||||
|
||||
# OMPI_CHECK_FCA(prefix, [action-if-found], [action-if-not-found])
|
||||
# --------------------------------------------------------
|
||||
# check if fca support can be found. sets prefix_{CPPFLAGS,
|
||||
# check if fca support can be found. sets prefix_{CPPFLAGS,
|
||||
# LDFLAGS, LIBS} as needed and runs action-if-found if there is
|
||||
# support, otherwise executes action-if-not-found
|
||||
AC_DEFUN([OMPI_CHECK_FCA],[
|
||||
|
@ -13,7 +13,7 @@ dnl
|
||||
|
||||
# OMPI_CHECK_HCOLL(prefix, [action-if-found], [action-if-not-found])
|
||||
# --------------------------------------------------------
|
||||
# check if hcoll support can be found. sets prefix_{CPPFLAGS,
|
||||
# check if hcoll support can be found. sets prefix_{CPPFLAGS,
|
||||
# LDFLAGS, LIBS} as needed and runs action-if-found if there is
|
||||
# support, otherwise executes action-if-not-found
|
||||
AC_DEFUN([OMPI_CHECK_HCOLL],[
|
||||
|
@ -23,7 +23,7 @@ dnl
|
||||
|
||||
# OMPI_CHECK_LUSTRE(prefix, [action-if-found], [action-if-not-found])
|
||||
# --------------------------------------------------------
|
||||
# check if LUSTRE support can be found. sets prefix_{CPPFLAGS,
|
||||
# check if LUSTRE support can be found. sets prefix_{CPPFLAGS,
|
||||
# LDFLAGS, LIBS} as needed and runs action-if-found if there is
|
||||
# support, otherwise executes action-if-not-found
|
||||
AC_DEFUN([OMPI_CHECK_LUSTRE],[
|
||||
@ -32,7 +32,7 @@ AC_DEFUN([OMPI_CHECK_LUSTRE],[
|
||||
check_lustre_LDFLAGS=
|
||||
check_lustre_LIBS=
|
||||
|
||||
check_lustre_save_LIBS="$LIBS"
|
||||
check_lustre_save_LIBS="$LIBS"
|
||||
check_lustre_save_LDFLAGS="$LDFLAGS"
|
||||
check_lustre_save_CPPFLAGS="$CPPFLAGS"
|
||||
|
||||
|
@ -12,7 +12,7 @@ dnl
|
||||
|
||||
# OMPI_CHECK_MXM(prefix, [action-if-found], [action-if-not-found])
|
||||
# --------------------------------------------------------
|
||||
# check if MXM support can be found. sets prefix_{CPPFLAGS,
|
||||
# check if MXM support can be found. sets prefix_{CPPFLAGS,
|
||||
# LDFLAGS, LIBS} as needed and runs action-if-found if there is
|
||||
# support, otherwise executes action-if-not-found
|
||||
AC_DEFUN([OMPI_CHECK_MXM],[
|
||||
|
@ -23,7 +23,7 @@ dnl
|
||||
|
||||
# OMPI_CHECK_PLFS(prefix, [action-if-found], [action-if-not-found])
|
||||
# --------------------------------------------------------
|
||||
# check if PLFS support can be found. sets prefix_{CPPFLAGS,
|
||||
# check if PLFS support can be found. sets prefix_{CPPFLAGS,
|
||||
# LDFLAGS, LIBS} as needed and runs action-if-found if there is
|
||||
# support, otherwise executes action-if-not-found
|
||||
AC_DEFUN([OMPI_CHECK_PLFS],[
|
||||
@ -32,7 +32,7 @@ AC_DEFUN([OMPI_CHECK_PLFS],[
|
||||
check_plfs_LDFLAGS=
|
||||
check_plfs_LIBS=
|
||||
|
||||
check_plfs_save_LIBS="$LIBS"
|
||||
check_plfs_save_LIBS="$LIBS"
|
||||
check_plfs_save_LDFLAGS="$LDFLAGS"
|
||||
check_plfs_save_CPPFLAGS="$CPPFLAGS"
|
||||
|
||||
@ -46,7 +46,7 @@ AC_DEFUN([OMPI_CHECK_PLFS],[
|
||||
[Build Plfs support, optionally adding DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries])])
|
||||
OPAL_CHECK_WITHDIR([plfs], [$with_plfs], [include/plfs.h])
|
||||
|
||||
AC_ARG_WITH([plfs-libs],
|
||||
AC_ARG_WITH([plfs-libs],
|
||||
[AC_HELP_STRING([--with-plfs-libs=LIBS],
|
||||
[Libraries to link with for plfs])])
|
||||
|
||||
@ -57,29 +57,29 @@ AC_DEFUN([OMPI_CHECK_PLFS],[
|
||||
temp_with_plfs_libs="$with_plfs_libs"
|
||||
AS_IF([test -z "$with_plfs_libs"],
|
||||
[with_plfs_libs="plfs pthread"])
|
||||
|
||||
|
||||
# Add correct -I and -L flags
|
||||
AS_IF([test -d "$with_plfs/include"],
|
||||
[check_plfs_CPPFLAGS="-I$with_plfs/include"
|
||||
$1_CPPFLAGS="$check_plfs_CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $check_plfs_CPPFLAGS"],
|
||||
[ompi_check_plfs_happy="no"])
|
||||
|
||||
|
||||
AS_IF([test "$ompi_check_plfs_happy" = "yes"],
|
||||
[AS_IF([test -d "$with_plfs/lib"],
|
||||
[check_plfs_LDFLAGS="-L$with_plfs/lib"
|
||||
$1_LDFLAGS="$check_plfs_LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS $check_plfs_LDFLAGS"],
|
||||
[ompi_check_plfs_happy="no"])
|
||||
[ompi_check_plfs_happy="no"])
|
||||
],[])
|
||||
|
||||
|
||||
# Try to find all the plfs libraries
|
||||
AS_IF([test "$ompi_check_plfs_happy" = "yes"],
|
||||
[ AS_IF([test -n "$with_plfs_libs"]
|
||||
[for lib in $with_plfs_libs ; do
|
||||
check_plfs_LIBS="$check_plfs_LIBS -l$lib"
|
||||
done])
|
||||
|
||||
done])
|
||||
|
||||
$1_LIBS="$check_plfs_LIBS"
|
||||
LIBS="$LIBS $check_plfs_LIBS"
|
||||
|
||||
|
@ -23,7 +23,7 @@ dnl
|
||||
|
||||
# OMPI_CHECK_PSM(prefix, [action-if-found], [action-if-not-found])
|
||||
# --------------------------------------------------------
|
||||
# check if PSM support can be found. sets prefix_{CPPFLAGS,
|
||||
# check if PSM support can be found. sets prefix_{CPPFLAGS,
|
||||
# LDFLAGS, LIBS} as needed and runs action-if-found if there is
|
||||
# support, otherwise executes action-if-not-found
|
||||
AC_DEFUN([OMPI_CHECK_PSM],[
|
||||
|
@ -23,7 +23,7 @@ dnl
|
||||
|
||||
# OMPI_CHECK_PVFS2(prefix, [action-if-found], [action-if-not-found])
|
||||
# --------------------------------------------------------
|
||||
# check if PVFS2 support can be found. sets prefix_{CPPFLAGS,
|
||||
# check if PVFS2 support can be found. sets prefix_{CPPFLAGS,
|
||||
# LDFLAGS, LIBS} as needed and runs action-if-found if there is
|
||||
# support, otherwise executes action-if-not-found
|
||||
AC_DEFUN([OMPI_CHECK_PVFS2],[
|
||||
@ -32,7 +32,7 @@ AC_DEFUN([OMPI_CHECK_PVFS2],[
|
||||
check_pvfs2_LDFLAGS=
|
||||
check_pvfs2_LIBS=
|
||||
|
||||
check_pvfs2_save_LIBS="$LIBS"
|
||||
check_pvfs2_save_LIBS="$LIBS"
|
||||
check_pvfs2_save_LDFLAGS="$LDFLAGS"
|
||||
check_pvfs2_save_CPPFLAGS="$CPPFLAGS"
|
||||
|
||||
@ -46,7 +46,7 @@ AC_DEFUN([OMPI_CHECK_PVFS2],[
|
||||
[Build Pvfs2 support, optionally adding DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries])])
|
||||
OPAL_CHECK_WITHDIR([pvfs2], [$with_pvfs2], [include/pvfs2.h])
|
||||
|
||||
AC_ARG_WITH([pvfs2-libs],
|
||||
AC_ARG_WITH([pvfs2-libs],
|
||||
[AC_HELP_STRING([--with-pvfs2-libs=LIBS],
|
||||
[Libraries to link with for pvfs2])])
|
||||
|
||||
@ -57,29 +57,29 @@ AC_DEFUN([OMPI_CHECK_PVFS2],[
|
||||
temp_with_pvfs2_libs="$with_pvfs2_libs"
|
||||
AS_IF([test -z "$with_pvfs2_libs"],
|
||||
[with_pvfs2_libs="pvfs2 pthread"])
|
||||
|
||||
|
||||
# Add correct -I and -L flags
|
||||
AS_IF([test -d "$with_pvfs2/include"],
|
||||
[check_pvfs2_CPPFLAGS="-I$with_pvfs2/include"
|
||||
$1_CPPFLAGS="$check_pvfs2_CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $check_pvfs2_CPPFLAGS"],
|
||||
[ompi_check_pvfs2_happy="no"])
|
||||
|
||||
|
||||
AS_IF([test "$ompi_check_pvfs2_happy" = "yes"],
|
||||
[AS_IF([test -d "$with_pvfs2/lib"],
|
||||
[check_pvfs2_LDFLAGS="-L$with_pvfs2/lib"
|
||||
$1_LDFLAGS="$check_pvfs2_LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS $check_pvfs2_LDFLAGS"],
|
||||
[ompi_check_pvfs2_happy="no"])
|
||||
[ompi_check_pvfs2_happy="no"])
|
||||
],[])
|
||||
|
||||
|
||||
# Try to find all the pvfs2 libraries
|
||||
AS_IF([test "$ompi_check_pvfs2_happy" = "yes"],
|
||||
[ AS_IF([test -n "$with_pvfs2_libs"]
|
||||
[for lib in $with_pvfs2_libs ; do
|
||||
check_pvfs2_LIBS="$check_pvfs2_LIBS -l$lib"
|
||||
done])
|
||||
|
||||
done])
|
||||
|
||||
$1_LIBS="$check_pvfs2_LIBS"
|
||||
LIBS="$LIBS $check_pvfs2_LIBS"
|
||||
|
||||
|
@ -22,7 +22,7 @@ dnl
|
||||
|
||||
# OMPI_CHECK_UDAPL(prefix, [action-if-found], [action-if-not-found])
|
||||
# --------------------------------------------------------
|
||||
# check if uDAPL support can be found. sets prefix_{CPPFLAGS,
|
||||
# check if uDAPL support can be found. sets prefix_{CPPFLAGS,
|
||||
# LDFLAGS, LIBS} as needed and runs action-if-found if there is
|
||||
# support, otherwise executes action-if-not-found
|
||||
AC_DEFUN([OMPI_CHECK_UDAPL],[
|
||||
@ -44,7 +44,7 @@ AC_DEFUN([OMPI_CHECK_UDAPL],[
|
||||
# Linux/OFED, you'll get a bunch of warning messages about the
|
||||
# providers that don't work. However, on Linux/OFED, you don't
|
||||
# really want to use udapl anyway; you likely really want to use
|
||||
# the openib BTL (i.e., native verbs, not udapl).
|
||||
# the openib BTL (i.e., native verbs, not udapl).
|
||||
|
||||
# So after exploring many different scenarios, the least evil
|
||||
# solution seemed to be to disable building the udapl BTL on
|
||||
@ -53,7 +53,7 @@ AC_DEFUN([OMPI_CHECK_UDAPL],[
|
||||
# --with-udapl(=DIR), the udapl BTL will not be built.
|
||||
AS_IF([test -z "$with_udapl"],
|
||||
[case $host in
|
||||
*linux*)
|
||||
*linux*)
|
||||
AC_MSG_WARN([On Linux and --with-udapl was not specified])
|
||||
AC_MSG_WARN([Not building the udapl BTL])
|
||||
with_udapl=no
|
||||
@ -84,7 +84,7 @@ dnl out we need -ldapl to link (looks like udapl over GM).
|
||||
ompi_check_package_$1_orig_LIBS="$$1_LIBS"
|
||||
|
||||
AS_IF([test "$ompi_check_udapl_happy" = "yes"],
|
||||
[_OPAL_CHECK_PACKAGE_HEADER([$1],
|
||||
[_OPAL_CHECK_PACKAGE_HEADER([$1],
|
||||
[dat/udat.h],
|
||||
[$ompi_check_udapl_dir],
|
||||
[ompi_check_udapl_happy="yes"],
|
||||
|
@ -2,9 +2,9 @@
|
||||
#
|
||||
# Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
#
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
@ -15,10 +15,10 @@ AC_DEFUN([OMPI_CONFIG_FILES],[
|
||||
ompi/include/Makefile
|
||||
ompi/include/mpif.h
|
||||
ompi/include/mpif-config.h
|
||||
|
||||
|
||||
ompi/datatype/Makefile
|
||||
ompi/debuggers/Makefile
|
||||
|
||||
|
||||
ompi/mpi/c/Makefile
|
||||
ompi/mpi/c/profile/Makefile
|
||||
ompi/mpi/cxx/Makefile
|
||||
@ -36,7 +36,7 @@ AC_DEFUN([OMPI_CONFIG_FILES],[
|
||||
ompi/mpi/fortran/mpiext/Makefile
|
||||
ompi/mpi/tool/Makefile
|
||||
ompi/mpi/tool/profile/Makefile
|
||||
|
||||
|
||||
ompi/tools/ompi_info/Makefile
|
||||
ompi/tools/wrappers/Makefile
|
||||
ompi/tools/wrappers/mpicc-wrapper-data.txt
|
||||
|
@ -5,15 +5,15 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
@ -35,7 +35,7 @@ AC_DEFUN([OMPI_CONFIG_THREADS],[
|
||||
# --enable-mpi-thread-multiple
|
||||
# #if OMPI_ENABLE_THREAD_MULTIPLE == 0 /* Not available */
|
||||
# #if OMPI_ENABLE_THREAD_MULTIPLE == 1 /* Available */
|
||||
#
|
||||
#
|
||||
AC_MSG_CHECKING([if want MPI_THREAD_MULTIPLE support])
|
||||
AC_ARG_ENABLE([mpi_thread_multiple],
|
||||
[AC_HELP_STRING([--enable-mpi-thread-multiple],
|
||||
|
@ -140,7 +140,7 @@ case "x$enable_mpi_fortran" in
|
||||
OMPI_MIN_REQUIRED_FORTRAN_BINDINGS=$OMPI_FORTRAN_USEMPIF08_BINDINGS
|
||||
OMPI_TRY_FORTRAN_BINDINGS=$OMPI_FORTRAN_USEMPIF08_BINDINGS
|
||||
;;
|
||||
|
||||
|
||||
xno|xnone)
|
||||
AC_MSG_RESULT([no (none)])
|
||||
OMPI_MIN_REQUIRED_FORTRAN_BINDINGS=$OMPI_FORTRAN_NO_BINDINGS
|
||||
|
@ -6,7 +6,7 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
@ -15,9 +15,9 @@ dnl Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
|
||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
||||
dnl and Technology (RIST). All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
@ -69,7 +69,7 @@ AC_DEFUN([OMPI_CONTRIB],[
|
||||
OMPI_MPI_CONTRIBS=
|
||||
|
||||
# Cycle through each of the software packages and
|
||||
# configure them if not disabled.
|
||||
# configure them if not disabled.
|
||||
m4_foreach(software, [ompi_mpicontrib_list],
|
||||
[_OMPI_CONTRIB_CONFIGURE(software)])
|
||||
|
||||
|
@ -6,15 +6,15 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
@ -37,7 +37,7 @@ AC_DEFUN([OMPI_CXX_FIND_EXCEPTION_FLAGS],[
|
||||
|
||||
AC_ARG_WITH(exflags,
|
||||
AC_HELP_STRING([--with-exflags],
|
||||
[Specify flags necessary to enable C++ exceptions]),
|
||||
[Specify flags necessary to enable C++ exceptions]),
|
||||
ompi_force_exflags="$withval")
|
||||
|
||||
ompi_CXXFLAGS_SAVE="$CXXFLAGS"
|
||||
|
@ -6,15 +6,15 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
@ -29,9 +29,9 @@ AC_DEFUN([OMPI_CXX_FIND_TEMPLATE_PARAMETERS],[
|
||||
# Adds to CXXFLAGS
|
||||
|
||||
AC_MSG_CHECKING([for C++ compiler template parameters])
|
||||
if test "$BASECXX" = "KCC"; then
|
||||
if test "$BASECXX" = "KCC"; then
|
||||
new_flags="--one_instantiation_per_object"
|
||||
CXXFLAGS="$CXXFLAGS $new_flags"
|
||||
CXXFLAGS="$CXXFLAGS $new_flags"
|
||||
else
|
||||
new_flags="none needed"
|
||||
fi
|
||||
|
@ -6,16 +6,16 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
||||
dnl and Technology (RIST). All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
@ -133,11 +133,11 @@ else
|
||||
# Is it a directory?
|
||||
if test -d "$ompi_file"; then
|
||||
ompi_template_dir="$ompi_file $ompi_template_dir"
|
||||
|
||||
|
||||
# Or is it a file?
|
||||
else
|
||||
name="`echo $ompi_file | cut -d. -f1`"
|
||||
|
||||
|
||||
temp_mask=
|
||||
if test "$name" = "main" || test "$name" = "other"; then
|
||||
temp_mask="`echo $ompi_file | cut -d. -f2`"
|
||||
|
@ -6,15 +6,15 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
@ -24,7 +24,7 @@ AC_DEFUN([OMPI_CXX_HAVE_EXCEPTIONS],[
|
||||
#
|
||||
# Depdencies: None
|
||||
#
|
||||
# Check to see if the C++ compiler can handle exceptions
|
||||
# Check to see if the C++ compiler can handle exceptions
|
||||
#
|
||||
# Sets OMPI_CXX_EXCEPTIONS to 1 if compiler has exceptions, 0 if not
|
||||
#
|
||||
@ -32,7 +32,7 @@ AC_DEFUN([OMPI_CXX_HAVE_EXCEPTIONS],[
|
||||
AC_MSG_CHECKING([for throw/catch])
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int i=1; throw(i);]])],
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int i=1; throw(i);]])],
|
||||
OMPI_CXX_EXCEPTIONS=1, OMPI_CXX_EXCPTIONS=0)
|
||||
if test "$OMPI_CXX_EXCEPTIONS" = "1"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
|
@ -6,7 +6,7 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
@ -14,14 +14,14 @@ dnl Copyright (c) 2011-2012 Cisco Systems, Inc. All rights reserved.
|
||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
||||
dnl and Technology (RIST). All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
|
||||
# OMPI_FORTRAN_CHECK(Fortran type, c type required, types to search,
|
||||
# OMPI_FORTRAN_CHECK(Fortran type, c type required, types to search,
|
||||
# expected size, define ompi_fortran_<foo>_t or not))
|
||||
#----------------------------------------------------------
|
||||
# Check Fortran type, including:
|
||||
@ -55,7 +55,7 @@ AC_DEFUN([OMPI_FORTRAN_CHECK], [
|
||||
fi
|
||||
|
||||
if test "$ofc_have_type" = "1"; then
|
||||
# What is the size of this type?
|
||||
# What is the size of this type?
|
||||
|
||||
# NOTE: Some Fortran compilers actually will return that a
|
||||
# type exists even if it doesn't support it -- the compiler
|
||||
@ -166,20 +166,20 @@ AC_DEFUN([OMPI_FORTRAN_CHECK], [
|
||||
# AC_DEFINE_UNQUOTED), autoheader won't put them in the
|
||||
# AC_CONFIG_HEADER (or AM_CONFIG_HEADER, in our case).
|
||||
AC_DEFINE_UNQUOTED([OMPI_HAVE_FORTRAN_]m4_translit(m4_bpatsubst(m4_bpatsubst([$1], [*], []), [[^a-zA-Z0-9_]], [_]), [a-z], [A-Z]),
|
||||
[$ofc_have_type],
|
||||
[$ofc_have_type],
|
||||
[Whether we have Fortran $1 or not])
|
||||
AC_DEFINE_UNQUOTED([OMPI_SIZEOF_FORTRAN_]m4_translit(m4_bpatsubst(m4_bpatsubst([$1], [*], []), [[^a-zA-Z0-9_]], [_]), [a-z], [A-Z]),
|
||||
[$ofc_type_size],
|
||||
[$ofc_type_size],
|
||||
[Size of Fortran $1])
|
||||
AC_DEFINE_UNQUOTED([OMPI_ALIGNMENT_FORTRAN_]m4_translit(m4_bpatsubst(m4_bpatsubst([$1], [*], []), [[^a-zA-Z0-9_]], [_]), [a-z], [A-Z]),
|
||||
[$ofc_type_alignment],
|
||||
[$ofc_type_alignment],
|
||||
[Alignment of Fortran $1])
|
||||
AC_DEFINE_UNQUOTED([OMPI_KIND_FORTRAN_]m4_translit(m4_bpatsubst(m4_bpatsubst([$1], [*], []), [[^a-zA-Z0-9_]], [_]), [a-z], [A-Z]),
|
||||
[$ofc_type_kind],
|
||||
[$ofc_type_kind],
|
||||
[Fortrn KIND number for $1])
|
||||
if test "$3" != "" && test "$ofc_define_type" = "yes"; then
|
||||
AC_DEFINE_UNQUOTED([ompi_fortran_]m4_translit(m4_bpatsubst(m4_bpatsubst([$1], [*], []), [[^a-zA-Z0-9_]], [_]), [A-Z], [a-z])[_t],
|
||||
[$ofc_c_type],
|
||||
[$ofc_c_type],
|
||||
[C type corresponding to Fortran $1])
|
||||
fi
|
||||
|
||||
|
@ -6,22 +6,22 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
# Check whether or not the Fortran compiler supports the "abstract"
|
||||
# keyword in derived types or not.
|
||||
|
||||
# OMPI_FORTRAN_CHECK_ABSTRACT([action if found],
|
||||
# OMPI_FORTRAN_CHECK_ABSTRACT([action if found],
|
||||
# [action if not found])
|
||||
# ----------------------------------------------------
|
||||
AC_DEFUN([OMPI_FORTRAN_CHECK_ABSTRACT],[
|
||||
|
@ -6,22 +6,22 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
# Check whether or not the Fortran compiler supports the "asynchronous"
|
||||
# keyword in derived types or not.
|
||||
|
||||
# OMPI_FORTRAN_CHECK_ASYNCHRONOUS([action if found],
|
||||
# OMPI_FORTRAN_CHECK_ASYNCHRONOUS([action if found],
|
||||
# [action if not found])
|
||||
# ----------------------------------------------------
|
||||
AC_DEFUN([OMPI_FORTRAN_CHECK_ASYNCHRONOUS],[
|
||||
|
@ -6,15 +6,15 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
|
@ -6,27 +6,27 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2007 Los Alamos National Security, LLC. All rights
|
||||
dnl reserved.
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
|
||||
dnl Copyright (c) 2009-2012 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
|
||||
# Does this compiler support the Fortran 2008 assumed rank syntax?
|
||||
|
||||
# OMPI_FORTRAN_CHECK_F08_ASSUMED_RANK([action if found],
|
||||
# OMPI_FORTRAN_CHECK_F08_ASSUMED_RANK([action if found],
|
||||
# [action if not found])
|
||||
# ----------------------------------------------------------------
|
||||
AC_DEFUN([OMPI_FORTRAN_CHECK_F08_ASSUMED_RANK], [
|
||||
AS_VAR_PUSHDEF([fortran_f08_assumed_rank],
|
||||
AS_VAR_PUSHDEF([fortran_f08_assumed_rank],
|
||||
[ompi_cv_fortran_f08_assumed_rank])
|
||||
|
||||
AC_CACHE_CHECK([Fortran compiler F08 assumed rank syntax],
|
||||
|
@ -6,18 +6,18 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2007 Los Alamos National Security, LLC. All rights
|
||||
dnl reserved.
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
|
||||
dnl Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
|
||||
# Does this compiler support (void*)-like functionality for MPI choice
|
||||
@ -28,7 +28,7 @@ AC_DEFUN([OMPI_FORTRAN_CHECK_IGNORE_TKR], [
|
||||
OMPI_FORTRAN_IGNORE_TKR_PREDECL=
|
||||
OMPI_FORTRAN_IGNORE_TKR_TYPE=
|
||||
|
||||
AS_VAR_PUSHDEF([fortran_ignore_tkr_data],
|
||||
AS_VAR_PUSHDEF([fortran_ignore_tkr_data],
|
||||
[ompi_cv_fortran_ignore_tkr_data])
|
||||
|
||||
# Note that we can only cache 1 value at a time, but this test
|
||||
@ -89,7 +89,7 @@ AC_DEFUN([_OMPI_FORTRAN_CHECK_IGNORE_TKR], [
|
||||
[!DEC\$ ATTRIBUTES NO_ARG_CHECK],
|
||||
[happy=1], [happy=0])])
|
||||
# Solaris Studio compilers
|
||||
# Note that due to a compiler bug, we have been advised by Oracle to
|
||||
# Note that due to a compiler bug, we have been advised by Oracle to
|
||||
# use the "character(*)" type
|
||||
AS_IF([test $happy -eq 0],
|
||||
[OMPI_FORTRAN_CHECK_IGNORE_TKR_SUB(
|
||||
@ -109,7 +109,7 @@ AC_DEFUN([_OMPI_FORTRAN_CHECK_IGNORE_TKR], [
|
||||
[!IBM* IGNORE_TKR],
|
||||
[happy=1], [happy=0])])
|
||||
|
||||
AS_VAR_SET(fortran_ignore_tkr_data,
|
||||
AS_VAR_SET(fortran_ignore_tkr_data,
|
||||
[${happy}:${ompi_fortran_ignore_tkr_type}:${ompi_fortran_ignore_tkr_predecl}])
|
||||
|
||||
# Now put the orignal CACHE_CHECK MSG_CHECKING back so that it can
|
||||
@ -156,7 +156,7 @@ AC_DEFUN([OMPI_FORTRAN_CHECK_IGNORE_TKR_SUB], [
|
||||
complex :: buffer3(4,4)
|
||||
complex, pointer, dimension(:,:) :: ptr
|
||||
target :: buffer3
|
||||
ptr => buffer3
|
||||
ptr => buffer3
|
||||
|
||||
! Set some known values (somewhat irrelevant for this test, but just be
|
||||
! sure that the values are initialized)
|
||||
@ -173,7 +173,7 @@ AC_DEFUN([OMPI_FORTRAN_CHECK_IGNORE_TKR_SUB], [
|
||||
! Force us through an assumed shape
|
||||
call force_assumed_shape(buffer3, count)
|
||||
! Force a pointer call through an assumed shape (!)
|
||||
ptr => buffer3
|
||||
ptr => buffer3
|
||||
|
||||
end program
|
||||
|
||||
@ -183,7 +183,7 @@ AC_DEFUN([OMPI_FORTRAN_CHECK_IGNORE_TKR_SUB], [
|
||||
call foo(a, count)
|
||||
end subroutine force_assumed_shape
|
||||
|
||||
! Autoconf puts "end" after the last line
|
||||
! Autoconf puts "end" after the last line
|
||||
subroutine bogus
|
||||
]]),
|
||||
[msg=yes
|
||||
|
@ -4,7 +4,7 @@ dnl Copyright (c) 2004-2005 The Trustees of Indiana University.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
@ -12,14 +12,14 @@ dnl Copyright (c) 2011-2012 Cisco Systems, Inc. All rights reserved.
|
||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
||||
dnl and Technology (RIST). All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
AC_DEFUN([OMPI_FORTRAN_CHECK_LOGICAL_ARRAY],[
|
||||
AS_VAR_PUSHDEF([logical_array_var],
|
||||
AS_VAR_PUSHDEF([logical_array_var],
|
||||
[ompi_cv_fortran_logical_array_correct])
|
||||
|
||||
AC_CACHE_CHECK([for correct handling of Fortran logical arrays],
|
||||
@ -41,7 +41,7 @@ AC_DEFUN([OMPI_FORTRAN_CHECK_LOGICAL_ARRAY],[
|
||||
EOF
|
||||
|
||||
# C module
|
||||
# We really need the confdefs.h Header file for
|
||||
# We really need the confdefs.h Header file for
|
||||
# the ompi_fortran_logical_t definition
|
||||
if test \! -f confdefs.h ; then
|
||||
AC_MSG_WARN([*** Problem running configure test!])
|
||||
@ -97,7 +97,7 @@ EOF
|
||||
AC_MSG_ERROR([Error determining if arrays of logical values work properly.])
|
||||
fi
|
||||
|
||||
AS_IF([test "$cross_compiling" = "yes"],
|
||||
AS_IF([test "$cross_compiling" = "yes"],
|
||||
[ # assume we're ok
|
||||
value=yes],
|
||||
[OPAL_LOG_COMMAND([./conftest],
|
||||
@ -105,7 +105,7 @@ EOF
|
||||
value=yes
|
||||
else
|
||||
value=no
|
||||
fi],
|
||||
fi],
|
||||
[value=no])])
|
||||
fi
|
||||
AS_VAR_SET(logical_array_var, [$value])
|
||||
|
@ -6,22 +6,22 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
# Check whether or not the Fortran compiler supports the "private"
|
||||
# keyword in derived types or not.
|
||||
|
||||
# OMPI_FORTRAN_CHECK_PRIVATE([action if found],
|
||||
# OMPI_FORTRAN_CHECK_PRIVATE([action if found],
|
||||
# [action if not found])
|
||||
# ----------------------------------------------------
|
||||
AC_DEFUN([OMPI_FORTRAN_CHECK_PRIVATE],[
|
||||
|
@ -6,22 +6,22 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
# Check whether or not the Fortran compiler supports the "procedure"
|
||||
# keyword in derived types or not.
|
||||
|
||||
# OMPI_FORTRAN_CHECK_PROCEDURE([action if found],
|
||||
# OMPI_FORTRAN_CHECK_PROCEDURE([action if found],
|
||||
# [action if not found])
|
||||
# ----------------------------------------------------
|
||||
AC_DEFUN([OMPI_FORTRAN_CHECK_PROCEDURE],[
|
||||
|
@ -6,22 +6,22 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
# Check whether or not the Fortran compiler supports the "protected"
|
||||
# keyword in derived types or not.
|
||||
|
||||
# OMPI_FORTRAN_CHECK_PROTECTED([action if found],
|
||||
# OMPI_FORTRAN_CHECK_PROTECTED([action if found],
|
||||
# [action if not found])
|
||||
# ----------------------------------------------------
|
||||
AC_DEFUN([OMPI_FORTRAN_CHECK_PROTECTED],[
|
||||
|
@ -6,7 +6,7 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
@ -15,9 +15,9 @@ dnl Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
|
||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
||||
dnl and Technology (RIST). All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
@ -29,7 +29,7 @@ AC_DEFUN([OMPI_FORTRAN_CHECK_REAL16_C_EQUIV],[
|
||||
AS_VAR_PUSHDEF([real16_matches_c_var], [ompi_cv_real16_c_equiv])
|
||||
|
||||
# We have to do this as a cache check for cross-compilation platforms
|
||||
AC_CACHE_CHECK([for C type matching bit representation of REAL*16],
|
||||
AC_CACHE_CHECK([for C type matching bit representation of REAL*16],
|
||||
real16_matches_c_var,
|
||||
[AS_IF([test "$OMPI_TRY_FORTRAN_BINDINGS" -gt "$OMPI_FORTRAN_NO_BINDINGS" && \
|
||||
test "$OMPI_HAVE_FORTRAN_REAL16" = "1"],
|
||||
@ -84,7 +84,7 @@ AC_DEFUN([OMPI_FORTRAN_CHECK_REAL16_C_EQUIV],[
|
||||
AS_VAR_POPDEF([real16_matches_c_var])
|
||||
|
||||
AS_IF([test "$ompi_real16_matches_c" = "yes"],
|
||||
[define_value=1],
|
||||
[define_value=1],
|
||||
[define_value=0
|
||||
AC_MSG_WARN([MPI_REAL16 and MPI_COMPLEX32 support have been disabled])])
|
||||
AC_DEFINE_UNQUOTED([OMPI_REAL16_MATCHES_C], [$define_value],
|
||||
|
@ -6,15 +6,15 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2010-2012 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
|
@ -6,7 +6,7 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
@ -15,9 +15,9 @@ dnl Copyright (c) 2009-2012 Cisco Systems, Inc. All rights reserved.
|
||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
||||
dnl and Technology (RIST). All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
|
@ -6,15 +6,15 @@ dnl Corporation. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
dnl of Tennessee Research Foundation. All rights
|
||||
dnl reserved.
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2010-2012 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
dnl
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
@ -24,9 +24,9 @@ dnl
|
||||
# OMPI_FORTRAN_FIND_MODULE_INCLUDE_FLAG([action if found], [action if not found]
|
||||
AC_DEFUN([OMPI_FORTRAN_FIND_MODULE_INCLUDE_FLAG],[
|
||||
AS_VAR_PUSHDEF([fortran_inc_var], [ompi_cv_fortran_module_include_flag])
|
||||
|
||||
|
||||
OMPI_FC_MODULE_FLAG=
|
||||
AC_CACHE_CHECK([for Fortran compiler module include flag],
|
||||
AC_CACHE_CHECK([for Fortran compiler module include flag],
|
||||
fortran_inc_var,
|
||||
[ofi_possible_flags="-I -p -M"
|
||||
mkdir conftest.$$
|
||||
@ -43,7 +43,7 @@ module OMPI_MOD_FLAG
|
||||
end module OMPI_MOD_FLAG
|
||||
EOF
|
||||
|
||||