Ralph Castain
1e2019ce2a
Revert "Update to sync with OMPI master and cleanup to build"
...
This reverts commit cb55c88a8b7817d5891ff06a447ea190b0e77479.
2016-11-22 15:03:20 -08:00
Ralph Castain
cb55c88a8b
Update to sync with OMPI master and cleanup to build
...
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
2016-11-22 14:24:54 -08:00
Gilles Gouaillardet
bf789762a7
fortran/use-mpi-tkr: fix MPI_Sizeof handling
...
MPI_Sizeof related stuff has been moved to their own files.
Remove MPI_Sizeof from Fortran interfaces when it cannot be built
(e.g. stock gcc 4.8 on CentOS 7)
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-10-27 08:54:28 +09:00
Gilles Gouaillardet
1a16e68c26
fortran/use-mpi-trk: add PMPI_* interfaces in mpi module
...
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-10-27 08:54:07 +09:00
Gilles Gouaillardet
8e26e78728
fortran/use-mpi-tkr: only build MPI_File support if requested
...
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-10-27 08:54:07 +09:00
Gilles Gouaillardet
5543b19e9a
fortran/use-mpi-tkr: rename mpi-f90-cptr-interfaces.F90 into mpi-f90-cptr-interfaces.h
...
this file is meant to be included and not compiled, so use a consistent naming
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2016-10-27 08:54:07 +09:00
Gilles Gouaillardet
e2769e4343
fortran/use-mpi-ignore-tkr: fix typo in MPI_File_write_at_all_begin interface
2016-10-24 09:53:52 +09:00
Gilles Gouaillardet
e02dc1e637
fortran/use-mpi-ignore-trk: fix typo in MPI_File_read_ordered_begin interface
2016-10-24 09:53:52 +09:00
Joshua Hursey
f6f24a4f67
build: Custom libmpi(_FOO) name option in configure
...
* Add a configure time option to rename libmpi(_FOO).*
- `--with-libmpi-name=STRING`
* This commit only impacts the installed libraries.
Internal, temporary libraries have not been renamed to limit the
scope of the patch to only what is needed.
For example:
```shell
shell$ ./configure --with-libmpi-name=wookie
...
shell$ find . -name "libmpi*"
shell$ find . -name "libwookie*"
./lib/libwookie.so.0.0.0
./lib/libwookie.so.0
./lib/libwookie.so
./lib/libwookie.la
./lib/libwookie_mpifh.so.0.0.0
./lib/libwookie_mpifh.so.0
./lib/libwookie_mpifh.so
./lib/libwookie_mpifh.la
./lib/libwookie_usempi.so.0.0.0
./lib/libwookie_usempi.so.0
./lib/libwookie_usempi.so
./lib/libwookie_usempi.la
shell$
```
2016-09-29 21:47:24 -05:00
Nathan Hjelm
8bdcb40dc4
ompi/fortran: fix typos in request RMA bindings
...
This commit fixes typos on the C side of the request-based RMA binding. We
were not returning the request on success but on failure. Thanks to
@alazzaro for reporting and @ggouaillardet, and @vondele for tracking
this down.
Fixes part of open-mpi/ompi#1869
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
2016-07-18 13:46:28 -06:00
Ralph Castain
ee56d9dc1a
Shorten the session directory name as some OS's are now providing unusually long temp directory names, causing us to overflow the sockaddr field
2016-07-05 14:59:50 -07:00
Aurélien Bouteiller
8344d00418
use-mpi extensions do not have a .la lib, so the fortran module should not depend on them.
2016-05-03 11:54:35 -04:00
Gilles Gouaillardet
01c90d4e71
fortran/mpif-h: fix *_create_keyval_f
...
correctly handle out parameter *_keyval when OMPI_SIZEOF_FORTRAN_INTEGER > SIZEOF_INT
2016-04-27 13:34:32 +09:00
Gilles Gouaillardet
178dde6a20
fortran/mpif-h: fix MPI_Win_shared_query
...
correctly handle out parameter disp_unit when OMPI_SIZEOF_FORTRAN_INTEGER > SIZEOF_INT
2016-04-27 11:22:09 +09:00
Gilles Gouaillardet
7f59d2a8c7
fortran/mpif-h: fix MPI_Win_free_keyval
...
initialize inout parameter when OMPI_SIZEOF_FORTRAN_INTEGER > SIZEOF_INT
2016-04-27 10:46:14 +09:00
Nathan Hjelm
60a3eb12ac
comm_spawn_multiple_f: fix coverity issue
...
Fix CID 1327338: Resource leak (RESOURCE_LEAK):
Confirmed that the c_info array was being leaked. Free the array
before returning.
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-03-11 13:07:01 -07:00
KAWASHIMA Takahiro
e854404570
fortran: Change the line order of #pragma
...
No code change.
These lines were introduced in my recent commit 17d32ac.
I had a editing mistake and the order is different from
other lines/files.
2016-04-15 12:49:03 +09:00
Jeff Squyres
4566286b9a
Merge pull request #1538 from kawashima-fj/pr/fortran-binding-fix
...
fortran: Fix many Fortran binding bugs
2016-04-14 17:18:59 -04:00
KAWASHIMA Takahiro
17d32acbb6
fortran: Add missing (P)MPI_Alloc_mem_cptr_{f,f08}
symbols
...
This commit adds the following symbols
MPI_Alloc_mem_cptr_f
MPI_Alloc_mem_cptr_f08
PMPI_Alloc_mem_cptr_f
PMPI_Alloc_mem_cptr_f08
These are implemented in the same way as other `_cptr` routines.
2016-04-12 22:40:58 +09:00
KAWASHIMA Takahiro
d48c8525ed
fortran: Fix incorrect weak symbol names
2016-04-12 22:16:32 +09:00
KAWASHIMA Takahiro
5d32a601ff
fortran: Add missing interfaces (part 2)
2016-04-12 22:06:35 +09:00
KAWASHIMA Takahiro
6f09d53e34
fortran: Add missing interfaces
2016-04-12 21:44:33 +09:00
KAWASHIMA Takahiro
f3b9a49ad1
fortran: Add missing PMPI interfaces
2016-04-12 20:55:41 +09:00
KAWASHIMA Takahiro
b6cb0bc257
fortran: Fix an incorrect interface name
2016-04-12 20:48:08 +09:00
KAWASHIMA Takahiro
96e93a9c5f
fortran: Sort declared subroutins in alphabetical order
...
And insert necessary empty lines and remove unnecessary empty lines.
No code change.
2016-04-12 20:36:46 +09:00
KAWASHIMA Takahiro
334c63cf0a
fortran: Change subroutine declaration order
...
Same order for `comm`, `type`, and `win`.
No code change.
2016-04-12 20:10:15 +09:00
KAWASHIMA Takahiro
10c11ff5b5
fortran: Add missing MPI_DUP_FN
subroutine
...
Though the `MPI_DUP_FN` subroutine is depricated, it is not yet removed
as of MPI-3.1.
2016-04-12 20:06:50 +09:00
KAWASHIMA Takahiro
d3d6386578
mpi/forran: Support MPI_IN_PLACE
on (I)ALLTOALLW
and (I)EXSCAN
...
`MPI_IN_PLACE` support for `MPI_ALLTOALLW` and `MPI_EXSCAN` was
added in MPI-2.2 but it was missed in OMPI Fortran binding code.
2016-04-11 20:38:28 +09:00
Jeff Squyres
7bc62e8f4c
Merge pull request #1356 from hjelmn/get_address
...
Fix MPI_Get_address (MPI_BOTTOM, ...)
2016-02-13 08:27:18 -05:00
Nathan Hjelm
064a67f5b9
Fix MPI_Get_address (MPI_BOTTOM, ...)
...
Nowhere in the standard does it say that it is invalid to pass
MPI_BOTTOM to MPI_Get_address yet we were returning an error. This
commit removes the error check on NULL == location.
Fixes open-mpi/ompi#1355 .
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-02-12 16:34:21 -07:00
Gilles Gouaillardet
cda094afc7
mpi_f08: correctly implements MPI_{COMM,TYPE,WIN}_{DUP,NULL_{COPY,DELETE}}_FN
...
Fixes open-mpi/ompi#1323
2016-02-02 13:38:01 +09:00
Gilles Gouaillardet
728a97c558
use-mpi-f08: remove duplicates from Makefile.am
2016-02-02 13:33:07 +09:00
Gilles Gouaillardet
704f14f91e
f08: do not BIND(C) to subroutines with LOGICAL parameters
...
Thanks Paul Romano for reporting this issue.
2016-01-26 13:56:24 +09:00
Jeff Squyres
96f94f8228
fortran: whitelist deliberate common symbols
...
The Fortran library has a number of common symbols that are
deliberate, so whitelist them.
2016-01-16 03:53:14 -08:00
Gilles Gouaillardet
26b2ed1069
fortran: add missing MPI_xxx_DUP_FN bindings in use-mpi-tkr
...
- MPI_COMM_DUP_FN
- MPI_TYPE_DUP_FN
- MPI_WIN_DUP_FN
2015-12-07 09:10:48 +09:00
KAWASHIMA Takahiro
384f4b51d1
fortran: Fix: missing dimension(*)
in (I)NEIGHBOR_ALLTOALLW
.
2015-11-04 10:38:25 +09:00
KAWASHIMA Takahiro
107c0073dd
fortran: Fix: MPI_UNWEIGHTED
and MPI_WEIGHTS_EMPTY
should be arrays.
...
Without this modification, gfortran throw the following error
if these variables are used for `MPI_DIST_GRAPH_CREATE_ADJACENT` or
`MPI_DIST_GRAPH_CREATE_ADJACENT`.
Error: There is no specific subroutine for the generic
'mpi_dist_graph_create_adjacent' at (1)
2015-11-04 10:38:25 +09:00
KAWASHIMA Takahiro
d5e1f40a1e
fortran: Fix: info
should be an integer parameter.
2015-11-04 10:38:24 +09:00
Gilles Gouaillardet
1105634ca1
mpi_f08: fix MPI_WIN_{ATTACH,DETACH} bindings
...
fixes INTENT from open-mpi/ompi@9600e2bc63
Thanks Jeff for pointing this !
2015-10-26 10:02:45 +09:00
KAWASHIMA Takahiro
66a8bc9e45
fortran/mpif-h: Insert missing weak symbols & Fix incorrect symbol names.
2015-10-15 11:58:41 +09:00
Jeff Squyres
2b9c9f3093
Fortran: add missing MPI_AINT in mpi_f08 module
2015-10-14 17:32:01 -07:00
Gilles Gouaillardet
291a464efb
configury: remove the --enable-mpi-profiling option
...
and directly call the PMPI_* symbols from C and Fortran bindings
2015-10-13 08:52:35 +09:00
Gilles Gouaillardet
40b57ff347
fortran: only generate the correct symbol based on the compiler mangling.
2015-10-13 08:52:03 +09:00
Gilles Gouaillardet
53b952dc2b
oshmem: invoke the C PMPI_* subroutines instead of the MPI_* ones
...
when profiling is built.
This prevents oshmem subroutines from being wrapped twice by third
party tools (e.g. once in oshmem and once in MPI)
see discussion starting at http://www.open-mpi.org/community/lists/devel/2015/08/17842.php
Thanks to Bert Wesarg for bringing this to our attention
2015-10-13 08:52:03 +09:00
Gilles Gouaillardet
16d65a2762
fortran/mpif-h: invoke the C PMPI_* subroutines instead of the MPI_* ones
...
when profiling is built.
This prevents Fortran subroutines from being wrapped twice by third
party tools (e.g. once in Fortran and once in C)
see discussion starting at http://www.open-mpi.org/community/lists/devel/2015/08/17842.php
2015-10-13 08:52:02 +09:00
Jeff Squyres
596557e61b
Fortran: update a comment
...
Split the list of subroutines into cases #1 and #2 , just for clarity.
2015-08-31 03:10:09 -07:00
Zhi Ming Wang
c8d4751ae6
Correct the wrong "Name Binding" of functions
2015-08-28 03:28:09 -04:00
Nathan Hjelm
f451876058
Merge pull request #825 from hjelmn/white_space_purge
...
periodic trailing whitespace purge
2015-08-25 19:23:52 -06:00
Jeff Squyres
2cfdeff38d
Fortran: these lines should not be commented out
2015-08-25 07:13:52 -07:00
Jeff Squyres
42a761e052
Fortran: remove dead Makefile.am code
2015-08-25 07:13:34 -07:00