2004-11-17 01:25:18 +03:00
|
|
|
#! /bin/sh
|
2004-11-22 03:37:56 +03:00
|
|
|
#
|
2004-11-22 04:38:40 +03:00
|
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
# All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
# All rights reserved.
|
2004-11-28 23:09:25 +03:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
2004-11-22 03:37:56 +03:00
|
|
|
# $HEADER$
|
|
|
|
#
|
2004-11-17 01:25:18 +03:00
|
|
|
|
2005-04-12 14:17:52 +04:00
|
|
|
max_array_rank="@OMPI_FORTRAN_MAX_ARRAY_RANK@"
|
2004-11-17 01:25:18 +03:00
|
|
|
|
2005-01-08 00:18:48 +03:00
|
|
|
lkinds="@OMPI_FORTRAN_LKINDS@"
|
2004-11-17 01:25:18 +03:00
|
|
|
ikinds="@OMPI_FORTRAN_IKINDS@"
|
|
|
|
rkinds="@OMPI_FORTRAN_RKINDS@"
|
|
|
|
ckinds="@OMPI_FORTRAN_CKINDS@"
|
2005-08-24 18:55:22 +04:00
|
|
|
|
|
|
|
# fix up for broken generation scripts that don't properly compute the
|
|
|
|
# ranks variable before using it
|
|
|
|
ranks="1"
|
|
|
|
rank="2"
|
|
|
|
while test "`expr $rank \\<= $max_array_rank`" = "1"; do
|
|
|
|
ranks="$ranks $rank"
|
|
|
|
rank="`expr $rank + 1`"
|
|
|
|
done
|
|
|
|
unset rank
|