1
1
openmpi/ompi/mpi/f90/xml/create_mpi_f90_medium.f90.sh
Jeff Squyres f8e634d6ca Bring over /tmp/f90-stuff branch to the trunk.
svn merge -r 9453:9609 https://svn.open-mpi.org/svn/ompi/tmp/f90-stuff .

Several improvements over the current F90 MPI bindings:

- The capability to make 4 sizes of the F90 bindings:
  - trivial: only the F90-specific MPI functions (sizeof and a few
    others)
  - small: (this is the default) all MPI functions that do not take
    choice buffers
  - medium: small + all MPI functions that take one choice buffer
    (e.g., MPI_SEND)
  - large: all MPI functions, but those that take 2 choice buffers
    (e.g., MPI_GATHER) only allow both buffers to be of the same type
- Remove all non-standard MPI types (LOGICAL*x, CHARACTER*x)
- Remove use of selected_*_kind() and only use MPI-defined types
  (INTEGER*x, etc.)
- Decrease complexity of the F90 configure and build system

This commit was SVN r9610.
2006-04-11 03:33:38 +00:00

19 строки
434 B
Bash
Исполняемый файл

#! /bin/sh
XSL_PATH=.
OUT_PATH=../scripts
. functions_f90_medium.list
if test "$1" != ""; then
procedures=$1
fi
for proc in $procedures
do
lc_proc=`echo ${proc}|tr '[A-Z]' '[a-z]'`
echo "creating ${lc_proc}_f90.f90.sh"
Xalan -p test_function "'${proc}'" -p interface_size "'medium'" -o ${OUT_PATH}/${lc_proc}_f90.f90.sh ../xml/mpi.h.xml ${XSL_PATH}/chasm-mpi.f90.sh.xsl
chmod 755 ../scripts/${lc_proc}_f90.f90.sh
done