1
1
Граф коммитов

288 Коммитов

Автор SHA1 Сообщение Дата
Mike Dubman
faaaac3194 OSHMEM: compilation fix for pathscale 5.0 and pshmem API
fixed by Roman, reviewed by Igor/Mike

cmr=v1.8.2:reviewer=ompi-rm1.8

This commit was SVN r31450.
2014-04-19 05:09:07 +00:00
Mike Dubman
f9e813a003 OSHMEM: revert r31412, it did not pass jenkins
This commit was SVN r31414.

The following SVN revision numbers were found above:
  r31412 --> open-mpi/ompi@b0ade11ae4
2014-04-16 20:00:34 +00:00
Mike Dubman
b354dc92f2 OSHMEM: align with OSHMEM SPEC v1.0
- add some missing APIs
- change signature od shmem_finalize to comply with SGI spec

fixed by Roman, reviewed by Igor/Miked

Refs trac:4520

This commit was SVN r31413.

The following Trac tickets were found above:
  Ticket 4520 --> https://svn.open-mpi.org/trac/ompi/ticket/4520
2014-04-16 18:01:17 +00:00
Mike Dubman
b0ade11ae4 OSHMEM: fix compilation error with pathscale
Thanks to  Ake Sandgren for patch

reviewed by Roman/Miked

cmr=v1.8.1:reviewer=ompi-rm1.8

This commit was SVN r31412.
2014-04-16 17:58:22 +00:00
Mike Dubman
f06953236e OSHMEM: added missing files to changeset r31390
This commit was SVN r31392.

The following SVN revision numbers were found above:
  r31390 --> open-mpi/ompi@a3f83616fc
2014-04-15 07:23:39 +00:00
Mike Dubman
a3f83616fc OSHMEM: align profiling interface with SPEC 1.0
Now we should be full compliant to OSHMEM SPEC 1.0

fixed by Roman reviewed by Miked

cmr=v1.8.1:reviewer=ompi-rm1.8

This commit was SVN r31390.
2014-04-14 20:51:06 +00:00
Mike Dubman
325f4e0449 OSHMEM: sshmem verbs: ofed api changes
Use only contig allocator if shared_mr() is not supported
Fixes ibv_exp_reg_mr() parameters passing.
Fixes incorrect handling of sshmem_verbs_hca_name option.

fixed by AlexM, reviewed by Mike

cmr=v1.8.1:reviewer=ompi-rm1.8

This commit was SVN r31379.
2014-04-13 16:54:18 +00:00
Mike Dubman
db44e23f72 OSHMEM: fix profiling API compilation
Refs trac:4495

This commit was SVN r31334.

The following Trac tickets were found above:
  Ticket 4495 --> https://svn.open-mpi.org/trac/ompi/ticket/4495
2014-04-08 10:48:10 +00:00
Mike Dubman
490d28e2d4 OSHMEM: usability fix for 32bit systems
set default memheap start address to use one returned from memallocator
on 32bit system kernel may have issue because of this:

 CONFIG_STRICT_DEVMEM kernel option which "prevents user space access to physical memory above 1MB"

fixed by Roman, reviewed by Igor/Miked

cmr=v1.8.1:reviewer=ompi-rm1.8

This commit was SVN r31331.
2014-04-07 23:04:25 +00:00
Mike Dubman
b20de8ae34 OSHMEM: add support for profiling API
use weak symbols, based on http://www.open-mpi.org/community/lists/devel/2014/03/14429.php
fixed by Roman, reviewed by Igor/Miked

cmr=v1.8.1:reviewer=ompi-rm1.8

This commit was SVN r31330.
2014-04-07 22:55:21 +00:00
Mike Dubman
1e37dcf976 oshmem: use correct define name
fixed by Roman, reviewed by Mike

cmr=v1.8.1:reviewer=ompi-rm1.8

This commit was SVN r31306.
2014-04-02 17:57:37 +00:00
Jeff Squyres
173c046617 build: add Automake-like silent/verbose macros for "ln -s ..." operations
Also, since I put some of the macros for these silent/verbose rules up
in the top-level Makefile.man-page-rules file, I renamed it to
Makefile.ompi-rules.

I've had this sitting around for a while; now seems like as good a
time as any to commit it.

This commit was SVN r31271.
2014-03-28 18:24:32 +00:00
Jeff Squyres
50a705f247 Fix #4465: spall Quadrics correctly.
Many thanks to Jeff Hammond for noticing.

cmr=v1.8:reviewer=ompi-rm1.8

This commit was SVN r31256.
2014-03-27 17:52:43 +00:00
Mike Dubman
be3fc7bf20 OSHMEM: better error messages when failing
Provide users with right fail reason.

fixes trac:4433

This commit was SVN r31202.

The following Trac tickets were found above:
  Ticket 4433 --> https://svn.open-mpi.org/trac/ompi/ticket/4433
2014-03-25 15:27:13 +00:00
Joshua Ladd
b3c6b0629c Clean up sshmem/mmap error messages. This should be added to
cmr=v1.7.5:ticket=4432

This commit was SVN r31180.

The following Trac tickets were found above:
  Ticket 4432 --> https://svn.open-mpi.org/trac/ompi/ticket/4432
2014-03-20 18:22:12 +00:00
Mike Dubman
aa4775b021 OSHMEM: better error handling for sshmem/mmap
Refs trac:4399

fixed by Roman, reviewed by Miked

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r31179.

The following Trac tickets were found above:
  Ticket 4399 --> https://svn.open-mpi.org/trac/ompi/ticket/4399
2014-03-20 16:47:42 +00:00
Jeff Squyres
e5504859d2 Follow on to r31172: improve the help message
* Show the help message for all errors, not just EINVAL
* Put the help message in the correct helpfile
* Fix grammar and spelling, and expand the help message

cmr=v1.7.5:ticket=trac:4431

This commit was SVN r31173.

The following SVN revision numbers were found above:
  r31172 --> open-mpi/ompi@3e51d28b97

The following Trac tickets were found above:
  Ticket 4431 --> https://svn.open-mpi.org/trac/ompi/ticket/4431
2014-03-20 14:51:56 +00:00
Joshua Ladd
3e51d28b97 This commit adds a help message when system limitations prevent setting up OSHMEM's symmetric heap. This fixes trac:4399 and should be added to
cmr=v1.7.5:reviewer=jsquyres

This commit was SVN r31172.

The following Trac tickets were found above:
  Ticket 4399 --> https://svn.open-mpi.org/trac/ompi/ticket/4399
2014-03-20 14:42:25 +00:00
Mike Dubman
d8288fa39d OSHMEM: Fix call prepare_src with a NULL endpoint
see issue: https://svn.open-mpi.org/trac/ompi/ticket/4399

Refs trac:4399

fixed by Igor, reviewed by Alex
cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r31168.

The following Trac tickets were found above:
  Ticket 4399 --> https://svn.open-mpi.org/trac/ompi/ticket/4399
2014-03-20 13:11:25 +00:00
Mike Dubman
9314e9f0a3 OSHMEM: Fix mmap compatibility issue
Using MAP_ANONYMOUS brings different interpretation of fd, offset arguuments of mmap()
Linux:
The mapping is not backed by any file; the fd and offset arguments are ignored.
Mac:
Map anonymous memory not associated with any specific file.  The offset argument is
ignored.  Mac OS X specific: the file descriptor used for creating MAP_ANON regions
can be used to pass some Mach VM flags, and can be specified as -1 if no such flags
are associated with the region
FreeBSD:
Map anonymous memory not associated with any specific file.  The file
descriptor used for creating MAP_ANON must be -1.  The offset   argument must be 0.

fixed by Igor, reviewed by Mike

Refs trac:4399

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r31140.

The following Trac tickets were found above:
  Ticket 4399 --> https://svn.open-mpi.org/trac/ompi/ticket/4399
2014-03-19 07:05:40 +00:00
Mike Dubman
84a6330b27 OSHMEM: SHMEM_API_ macro fix
The verbose level was initialized too early
group shmem mca params together

fixed by Roman, reviewed by Igor/Mike

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r31107.
2014-03-18 15:07:04 +00:00
Jeff Squyres
616e62bb9e Fix --enable|disable-oshmem configure switch
* Fixed the AC_ARG_ENABLE for the oshmem option.
* Fixed the AM_CONDITIONALs values for the projects.
* Re-added (and slightly simplified) the use of PROJECT_OSHMEM in
  various Makefile.am's to disable building OSHMEM stuff

Submitted by Jeff, reviewed and approved by Ralph.

cmr=v1.7.5:reviewer=ompi-gk1.7

This commit was SVN r31062.
2014-03-13 21:23:04 +00:00
Jeff Squyres
16cab57ec5 Fix some set-but-not-used compiler warnings.
cmr=v1.8:reviewer=miked

This commit was SVN r31061.
2014-03-13 21:20:36 +00:00
Ralph Castain
7869402f5f Sigh - looks like I did too good a job of turning things off. Back some of it out in favor of trying again when more time is available
Refs trac:4368

This commit was SVN r31017.

The following Trac tickets were found above:
  Ticket 4368 --> https://svn.open-mpi.org/trac/ompi/ticket/4368
2014-03-12 02:10:35 +00:00
Ralph Castain
9c66c4f439 Correctly implement --disable-oshmem and --without-orte so we don't build the disabled section of code. Fix a bunch of code rot in the PMI rte component, and add several missing headers when building --without-orte.
NOTE: I transferred the oshmem-disabled-by-default from the 1.7 branch to the trunk to minimize future disruption if/when we change that option.

cmr=v1.8:reviewer=jsquyres

This commit was SVN r31006.
2014-03-11 22:02:40 +00:00
Jeff Squyres
6c5c125e28 Per discussion with Josh Ladd, remove this dead man page code.
The code is not used anywhere, so let's remove it until there are some
man pages to install.

Submitted by Jeff Squyres, reviewed by Josh Ladd.

cmr=v1.7.5:reviewer=ompi-gk1.7:subject=remove oshmem dead man page code

This commit was SVN r31002.
2014-03-11 20:47:43 +00:00
Mike Dubman
c195118959 OSHMEM: Fix issue 'OSHMEM passing endpoint==NULL to BTL prepare_src()'
fixed by Igor, reviewed by Miked

fixes trac:4359

This commit was SVN r30996.

The following Trac tickets were found above:
  Ticket 4359 --> https://svn.open-mpi.org/trac/ompi/ticket/4359
2014-03-11 18:00:32 +00:00
Mike Dubman
ec3957ddde OSHMEM: fix cleanup
add proper cleanup for sysv shmem segments
fixed by Igor, reviewed by Miked

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30987.
2014-03-11 13:19:37 +00:00
Mike Dubman
c784aab7d8 OSHMEM: scoll fix corner cases
- fix segv
- proper enable/disable and prio handling

fixed by Elena, reviewed by Igor/Mike

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30962.
2014-03-07 12:31:29 +00:00
Mike Dubman
2828afddce OSHMEM: fix output, lower prio for scoll/mpi
fixed by Roman/Elena, reviewed by Igor/Mike

cmr=v1.7.5:revewer=ompi-rm1.7

This commit was SVN r30957.
2014-03-06 16:17:58 +00:00
Mike Dubman
1657d6047c OSHMEM: fix warnings
Thanks to Jeff for spotting.

fixed by Igor, reviewed by Mike

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30951.
2014-03-06 11:14:00 +00:00
Mike Dubman
361f15d5d7 OSHMEM: fix use of opal_verbose
fixed by Roman, reviewed by Igor/Mike

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30943.
2014-03-05 08:49:14 +00:00
Mike Dubman
1f69e2d588 OSHMEM: fix warn in macro
fixed by Elena, reviewed by Igor/Mike

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30897.
2014-03-01 07:54:48 +00:00
Mike Dubman
d584869dda OSHMEM: memheap mkey exchange fix
fix situations where cluster nodes can have different btls

Fixed by Roman, reviewed by Igor, Mike
cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30877.
2014-02-27 14:02:30 +00:00
Mike Dubman
e466fee747 OSHMEM: memheap framework fix warn, remove verbs deps
fixed by Igor, reviewed by Miked

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30874.
2014-02-27 07:22:57 +00:00
Joshua Ladd
d1baf3f00c Stop linking in verbs stuff in oshmem/mca/memheap/base now that we have the sshmem framework.
Refs trac:4261

This commit was SVN r30858.

The following Trac tickets were found above:
  Ticket 4261 --> https://svn.open-mpi.org/trac/ompi/ticket/4261
2014-02-26 20:28:47 +00:00
Mike Dubman
4572bd58e5 OSHMEM: fix bug in scoll/mpi, add fortran support
dtypes support to oshmem scoll mpi. added comment to
oshmem scoll mpi component regarding casting size_t to int.

Fixed by Elena, Reviewed by Igor/Mike

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30856.
2014-02-26 17:06:44 +00:00
Mike Dubman
323e4418b9 OSHMEM: extract memheap allocate methods into separate framework
- similar to opal/shmem
- next step is some refactoring and merge into opal/shmem
 Developed by Igor, reviewed by AlexM, MikeD

This commit fixes trac:4261.

This commit was SVN r30855.

The following Trac tickets were found above:
  Ticket 4261 --> https://svn.open-mpi.org/trac/ompi/ticket/4261
2014-02-26 16:32:23 +00:00
Ralph Castain
fbeb0cac10 Silence warning
cmr=v1.7.5:reviewer=ompi-gk1.7

This commit was SVN r30828.
2014-02-25 23:50:12 +00:00
Joshua Ladd
a0a850a77b Fixing warnings in oshmem/mca/scoll/mpi.
Refs trac:4302

This commit was SVN r30824.

The following Trac tickets were found above:
  Ticket 4302 --> https://svn.open-mpi.org/trac/ompi/ticket/4302
2014-02-25 21:24:15 +00:00
Mike Dubman
202bf90287 OSHMEM: ikrit optimization
no need pre-register heap if MXM/ud is used
fixed by Alex, reviewed by Miked

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30809.
2014-02-25 15:03:53 +00:00
Mike Dubman
180e4f06bf OSHMEM: add support for MPI collectives
oshmem collective can select MPI collectives modules as provider.

Developed by Elena, reviewed by Miked

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30808.
2014-02-25 15:01:10 +00:00
Mike Dubman
5ed50793d5 OSHMEM: misc ikrit/mxm enhancements
- fix mxm/tl selection logic
- do not require memory registration if mxm/ud was selected

fixed by Alex, reviewed by Miked

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30802.
2014-02-24 07:06:57 +00:00
Mike Dubman
ffee1e0424 oshmem: roll back scoll/fca use shmem barrir
have issue, rolling back

fixed by Elena, reviewed by Miked

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30788.
2014-02-21 11:40:31 +00:00
Mike Dubman
684e78e669 OSHMEM: OOM in yoda
fix: do not fail on blm allocation error, wait for some puts to complete and retry

fixed by Roman, reviewed by Mike/Alex
cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30779.
2014-02-20 09:53:32 +00:00
Mike Dubman
49ee63f4b8 MXM: do not enforce version check
- MXM uses libtool versioning scheme which is enough, no need additional in OMPI

reviewed by yossi

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30768.
2014-02-18 19:44:37 +00:00
Mike Dubman
982149d8c8 OSHMEM: various fixes
1. fix in oshmem scoll component: basic algorithms should
   call basic collectives since their implementation
   incompatible with others (fca, hcoll).

2. Set OPAL_EVLOOP_ONCE flag ON for libevent in the case 
   of yoda smpl. Otherwise there is possible deadlock in 
   atomic_basic_lock call

fixed by Val, Igor, reviewed by Miked

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30762.
2014-02-18 15:07:03 +00:00
Mike Dubman
fe692eb107 OSHMEM: remove unused code, rename mca param
- remove old, unused code
- rename mca param for oshmem preconnect to match mpi naming scheme.

fixed by Alex, reviewed by Mike

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30748.
2014-02-17 14:57:12 +00:00
Mike Dubman
96142b31bd shmem: remove unused defines
fixed by Roman, reviewed by MikeD
cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30735.
2014-02-15 06:43:08 +00:00
Mike Dubman
608269ed72 fca: support relocation of fca packages to opal_prefix/../fca
reviewed by AlexM
cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30728.
2014-02-14 14:49:41 +00:00
Ralph Castain
f7abaee8c4 Some windows cleanups - thanks to Marco Atzeri for the patch
cmr=v1.7.5:reviewer=miked

This commit was SVN r30720.
2014-02-13 23:59:39 +00:00
Mike Dubman
732f108ae4 OSHMEM: fix segv on finalize with spml/yoda
avoid double call to bml
fixed by AlexMa, reviewed by AlexM and MikeD

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30715.
2014-02-13 04:42:19 +00:00
Jeff Squyres
b4effd200f Remove num_pes,my_pe declarations from shmem.fh.
The openshmem test suite
(http://bongo.cs.uh.edu/site/sites/default/site_files/openshmem-test-suite-release-1.0d.tar.bz2)
declares num_pes and my_pe in each Fortran test file -- it apparently
doesn't expect shmem.fh to declare these functions.  Sigh.

cmr=v1.7.5:reviewer=miked:subject=the openshmem community is crazy

This commit was SVN r30660.
2014-02-11 01:36:26 +00:00
Mike Dubman
28949efcaf OSHMEM: MXM2: a2a perf improvement on large scale
Allow only limited number of coonections to have 'puts'
that do not require remote completion ack. That will
greatly improve performance of shmem_fence()/shmem_quiet()
and shmem_barrier() when there are many active connections.

fixed by Alex, reviewed by Miked

Refs trac:3763

This commit was SVN r30573.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2014-02-06 08:42:45 +00:00
Mike Dubman
27a763c86c OSHMEM: finalization fixes
Fixes mxm endpoint destruction and hung during
SHMEM finalization.

Add a barrier between spml del procs and finalization.
Not having it caused hungs because ikrit spml can not properly
disconnect if its peer already finizalized.

Refs trac:3763

This commit was SVN r30572.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2014-02-06 08:40:43 +00:00
Jeff Squyres
b7d10b3499 Remove some unused AC_DEFINE's, and also remove a redundant AC_DEFINE
This commit was SVN r30564.
2014-02-05 12:24:02 +00:00
Mike Dubman
7e5031374e OSHMEM: Apply Jeff`s comments to fortran configure logic
Refs trac:3763

This commit was SVN r30530.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2014-02-03 09:47:56 +00:00
George Bosilca
489f093b59 It didn't compile. Cleanup a little the headers inclusion.
This commit was SVN r30473.
2014-01-29 14:30:55 +00:00
Mike Dubman
30e1e49a9e OSHMEM: refactoring to reuse common functions from different components.
This is preparation for moving verbs dependent code out from memheap/base component

Refs: #3763

This commit was SVN r30454.
2014-01-28 07:30:36 +00:00
Mike Dubman
ffe662c98e OSHMEM: use shmem barrier instead of internal
Refs: 3763

This commit was SVN r30427.
2014-01-25 07:49:56 +00:00
Mike Dubman
59d4bb662c OSHMEM: rework fortran support detection
fix the case, to enable oshmem-fortran when "with-shmem" was specified and "ompi-fortran" was enabled and happy.

fixed by Roman, reviewed by Miked

Refs trac:3763

This commit was SVN r30391.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2014-01-23 07:49:13 +00:00
Mike Dubman
0d8424e0a6 OSHMEM: Fixes issue with recent segfault in finalize related to mca_base_group_unselect.
We need to explicitly call mca_base_group_unselect in finalize
for each group that are not freed with oshmem_group_cache_list_free before we unloading scoll framework.

Refs trac:3763

This commit was SVN r30311.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2014-01-17 16:57:12 +00:00
Mike Dubman
b7750ccbf4 OSHMEM: bml initialization is moved into ompi_init
it fixes race of mca_var segfault in finalization of shmem

based on this thread:
http://www.open-mpi.org/community/lists/devel/2014/01/13778.php

Refs trac:3763

fixed by Igor, reviewed by Brian

This commit was SVN r30304.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2014-01-17 06:09:29 +00:00
Mike Dubman
9f5abfb233 OSHMEM: fix fortran selection logic and refactoring
refactoring inspired by this thread: http://www.open-mpi.org/community/lists/devel/2014/01/13744.php
fix oshmem fortran selection logic, Thanks to Paul for info
Refs trac:3763

This commit was SVN r30286.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2014-01-14 13:23:44 +00:00
Mike Dubman
4cc9b328b9 OSHMEM: make sure scoll components are opened/closed
Refs trac:3763

This commit was SVN r30267.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2014-01-13 15:00:17 +00:00
Jeff Squyres
448a4707ce Portability fix: better checking for MAP_ANONYMOUS and MAP_ANON.
Thanks to Paul Hargrove for identifying the issue and suggesting the
fix.

This commit was SVN r30227.
2014-01-10 15:20:34 +00:00
Jeff Squyres
d953e46a68 Fix compiler warnings: PRIu64 is the proper way to output uint64_t
values.  See https://svn.open-mpi.org/trac/ompi/wiki/PrintfCodes.

This commit was SVN r30149.
2014-01-08 02:31:30 +00:00
Brian Barrett
8b778903d8 Fix longstanding issue with our multi-project support. Rather than using
pkg{data,lib,includedir}, use our own ompi{data,lib,includedir}, which is
always set to {datadir,libdir,includedir}/openmpi.  This will keep us from
having help files in prefix/share/open-rte when building without Open MPI,
but in prefix/share/openmpi when building with Open MPI.

This commit was SVN r30140.
2014-01-07 22:11:15 +00:00
Mike Dubman
6fb0dbdab5 OSHMEM: port 6 patches from git mirror to svn
Subject: [PATCH 1/6] OSHMEM: mkey refactoring
mkey can be either shared memory style id or it can be
arbitrary byte string
removed hack that used spml_context to store generic keys
coding style fixes

Subject: [PATCH 2/6] OSHMEM: added support of MXM 2.0 rc transport
coding style fixed, typos, check error condition

Subject: [PATCH 3/6] OSHMEM: mxm2.0: remove PTL_SELF
There is no need to have special case for 'self'
connection in mxm 2.0. It also solves the problem
of passing incorrect mkey when doing put/get to
self

Subject: [PATCH 4/6] OSHMEM: fixes mxm fadd
give a dummy buffer if doing atomic add

Subject: [PATCH 5/6] OSHMEM: mxm2.0: do not use MXM_REQ_FLAG_SEND_LAZY
Subject: [PATCH 6/6] OSHMEM: remove unused include, causes compilation fail on ubuntu

Refs trac:3763

This commit was SVN r30129.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2014-01-07 11:56:36 +00:00
Mike Dubman
92cf175e9e OSHMEM: exchange mxm(ikrit) endpoints via MPI_Allgather, code cleanup, remove unused
Refs trac:3763

This commit was SVN r30089.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-12-26 10:53:48 +00:00
Mike Dubman
e2f372ac4b OSHMEM: set default transport for mxm under OSHMEM to be ud, can be overwritten with MXM_OSHMEM_TL= variable
Refs trac:3763

This commit was SVN r30088.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-12-26 08:05:08 +00:00
Ralph Castain
885fcac488 Forward declaration must match eventual function - both must be static
Refs trac:3763

This commit was SVN r30082.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-12-25 02:28:22 +00:00
Mike Dubman
cc4ab51b71 SHMEM: silence warning
Refs trac:3763

This commit was SVN r30077.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-12-24 16:18:48 +00:00
Mike Dubman
2e138ddd05 OSHMEM: Use MPI calls for mkey exchange
fixed by Alex, reviewed by miked
Refs: 3763

This commit was SVN r30056.
2013-12-23 09:20:42 +00:00
Mike Dubman
6dbce7f9f8 fix compile warning
Refs trac:3763

This commit was SVN r30004.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-12-20 11:03:09 +00:00
Mike Dubman
d70f93b2dc fix corrupted verbose output in oshmem
set yoda prio lower than ikrit
fix anon unions in ikrit
Refs trac:3763

This commit was SVN r29976.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-12-19 11:59:32 +00:00
Ralph Castain
da6551bd3d Update opal_backtrace_print call in oshmem
This commit was SVN r29960.
2013-12-18 23:15:40 +00:00
Mike Dubman
b95a9d865a rework SHMEM verbose macros to enable if --enable-debug specified
Refs trac:3763

This commit was SVN r29921.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-12-16 09:13:27 +00:00
Mike Dubman
ac4573b6db code formatting according to OMPI code style
Refs trac:3763

This commit was SVN r29908.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-12-14 14:39:56 +00:00
Brian Barrett
121ca26c59 Per discussion at Develoepr's Meeting, remove Solaris threads support. Solaris
will just fall back to pthreads, which should be no problem.

This commit was SVN r29893.
2013-12-13 20:07:11 +00:00
Mike Dubman
3252ccac6d fix Segfault in finalize which happens because we try to call completion callback function from yoda, but yoda already unloaded at that moment.
wait for outstanding request to complete before closing
Refs: 3763

This commit was SVN r29857.
2013-12-11 08:48:07 +00:00
Mike Dubman
8da74bec34 fix memheap void pointer arithmetics
Refs trac:3763

This commit was SVN r29856.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-12-11 06:35:03 +00:00
Mike Dubman
2e124454b4 cosmitic fix to remove redundant -lfca
use CPP extra flags var which propagated to coll/fca and scoll/fca
Refs: #3694

This commit was SVN r29832.
2013-12-07 15:00:54 +00:00
Joshua Ladd
a73cac07e5 Resolves oshmem_info segfault on OSX. This fixes trac:3904. Refs trac:3763
This commit was SVN r29809.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
  Ticket 3904 --> https://svn.open-mpi.org/trac/ompi/ticket/3904
2013-12-05 19:37:44 +00:00
Yossi Etigin
97b0a560cb spml ikrit: update configuration parsing api to mxm 2.1, drop
older version support (1.0 and 1.1), and cleanup the code.

reviewed by miked.

This commit was SVN r29798.
2013-12-04 09:13:17 +00:00
Mike Dubman
4ee10e7589 fix copy&paste bug which caused fca enable flag to be ignored
Refs: #3763

This commit was SVN r29796.
2013-12-04 07:45:34 +00:00
Mike Dubman
753d630809 libshmem to liboshmem rename voices
Refs: 3763

This commit was SVN r29785.
2013-12-03 13:16:12 +00:00
Mike Dubman
5c7557f11a reverting r29771, duplicates Brian`s fix
This commit was SVN r29772.

The following SVN revision numbers were found above:
  r29771 --> open-mpi/ompi@bc25091b61
2013-11-29 14:28:02 +00:00
Mike Dubman
bc25091b61 Implement Jeff`s feedback: Anonymous unions handling
Refs: 3763

This commit was SVN r29771.
2013-11-29 14:14:46 +00:00
Mike Dubman
2faef6bc2d Define OSHMEM_HAS_IKRIT removed from configuration file.
Both yoda and ikrit componets are adding in mca_spml_base_open now.
Default component ikrit if found.

Refs: 3763

This commit was SVN r29770.
2013-11-29 14:12:04 +00:00
Mike Dubman
0ddc2bc214 C99ing ...
Refs: 3763

This commit was SVN r29756.
2013-11-26 12:46:56 +00:00
Mike Dubman
bd358cb180 Apply Jeff`s patch from ticket: 3145
Refs: 3763

This commit was SVN r29751.
2013-11-25 11:02:42 +00:00
Mike Dubman
826fa635a3 add support for --without-oshmem in configure
This commit was SVN r29733.
2013-11-22 13:51:46 +00:00
Mike Dubman
04b134eace 1. Default target (e.g. 'make all') now build all avaliable examples depends on configuration.
2. Oshmem examples moved to 'mpi' build target.
3. Oshmem examples renamed as 'shmem' => 'oshmem'.
4. Fixed warnings in oshmem_info.


Refs: 3763

This commit was SVN r29663.
2013-11-12 13:02:07 +00:00
Mike Dubman
b10bb525f1 fix oshmem_CFLAGS to meet OMPI requirements
Refs: 3763

This commit was SVN r29662.
2013-11-12 07:25:14 +00:00
Ralph Castain
8a427ad71d Silence warning
This commit was SVN r29658.
2013-11-11 22:51:52 +00:00
Mike Dubman
ab796052b4 Applying Jeff`s comments about proper SHMEM fortran organization of files.
Refs: 3870

This commit was SVN r29651.
2013-11-11 14:26:25 +00:00
Mike Dubman
598571649a do MPI_Barrier at the end of shmem_init() code but before we use shmem native collectives
Refs: #3763

This commit was SVN r29567.
2013-10-30 17:08:54 +00:00
Mike Dubman
b5c95e8eb6 yoda spml will disqalify itself if bml/btls are not started by ompi
Starting bml/btls in yoda is pointless because btls require modex()
exchange. modex() is only done during mpi_init()

Refs trac:3763

This commit was SVN r29541.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-10-28 18:55:50 +00:00
Joshua Ladd
6b4bfcf4d7 This commit fixes pointer arithmetic done with void * pointers in memheap. This commit closes trac:3844
This commit was SVN r29520.

The following Trac tickets were found above:
  Ticket 3844 --> https://svn.open-mpi.org/trac/ompi/ticket/3844
2013-10-25 15:27:50 +00:00
Mike Dubman
9cea216c0e fix autogen warn, fixed by Roman, reviewed by miked
This commit was SVN r29519.
2013-10-25 14:39:37 +00:00
Mike Dubman
5cc1f3803b shmem-fortran fix, naming conventions for shmem option, examples
This commit was SVN r29518.
2013-10-25 05:25:41 +00:00
Mike Dubman
c33d5c0b59 issue with bml init/fin for yoda component
bml can be initialized by not yoda component and in this case yoda should not
call bml finalization.

This commit was SVN r29458.
2013-10-22 06:13:00 +00:00
Ralph Castain
f128b2093d Add missing file to tarball
This commit was SVN r29442.
2013-10-16 14:38:26 +00:00
Ralph Castain
de6177cfbf Set ignores and minor cleanup
Refs trac:3763

This commit was SVN r29437.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-10-14 16:58:53 +00:00
Mike Dubman
48c2728b1d globalexit() should use common approach using orte_errmgr.abort()
This commit was SVN r29434.
2013-10-14 09:48:35 +00:00
Mike Dubman
2edf853e7b fix warnings when "--with-pmi" is used
This commit was SVN r29432.
2013-10-13 14:03:23 +00:00
Mike Dubman
a8d333fadf fix gcc warnings
This commit was SVN r29431.
2013-10-12 20:03:44 +00:00
Mike Dubman
14304c299d add globalexit API support.
it is not fully functional yet, but initial version is good enough.
developed by Igor, reviewed by miked

This commit was SVN r29430.
2013-10-12 19:15:36 +00:00
Mike Dubman
2141e9e6b4 tools: Add oshmem_info utility
Reworked ompi_info tool to be close with orte_info implementation.
ompi_info_register_types(), ompi_info_close_components() and
ompi_info_show_ompi_version() are moved to runtime/ompi_info_support.c.

Added runtime/oshmem_info_support layer that exports following api to be
used into oshmem_info tool as
oshmem_info_register_types()
oshmem_info_register_framework_params()
oshmem_info_close_components()
oshmem_info_show_oshmem_version()
These functions call ompi_info_support related interfaces as long as
Oshmem supports Open MPI/SHMEM combination.

Now orte_info/ompi_info/oshmem_info have identical implementation approach.

Possible improvement:
OSHMEM processing of --config option is the same as OMPI`s (code is duplicated).
Probably list of info_support interfaces can be extended by xxx_info_do_config().
developed by Igor, reviewed by miked

This commit was SVN r29429.
2013-10-12 19:03:32 +00:00
Jeff Squyres
98d71f555c Use the correct macro: OMPI_HAVE_FORTRAN_REAL16
Using the "#if defined(ompi_fortran_real16_t)" band-aid that I applied
in r29165 wasn't correct because if the compiler doesn't have a
fortran REAL16 type, then OMPI may well #define ompi_fortran_real16_t
to be empty, which then expands to Badness in the macro.  Hence, use
OMPI_HAVE_FORTRAN_REAL16, which will also be 0 or 1.

This commit was SVN r29408.

The following SVN revision numbers were found above:
  r29165 --> open-mpi/ompi@df7654e8cf
2013-10-09 13:59:36 +00:00
Alex Mikheev
68b8e562d6 fixed check availability of mxm atomics. No need to run the code. succesful compilation is enough to detect availability.
reviewed by miked

This commit was SVN r29407.
2013-10-09 11:52:04 +00:00
Mike Dubman
d2d533cf6c enable ikrit for np>=0 with mxm2
reviewed by Amir
Refs: #3763

This commit was SVN r29386.
2013-10-06 12:43:47 +00:00
Mike Dubman
4c1c8d6c38 fix oshmem static linking
fixed by Roman, reviewed by miked

This commit was SVN r29351.
2013-10-03 15:54:09 +00:00
Alex Mikheev
7f221f7e1d oshmem & mxm2.0 yet another compilation fix
reviewed by miked

This commit was SVN r29350.
2013-10-03 15:50:04 +00:00
Alex Mikheev
78b860dc1d compilation fix for oshmem and mxm
reviewed by miked

This commit was SVN r29349.
2013-10-03 15:04:36 +00:00
Mike Dubman
c86a8e236c rename var
fix warn

This commit was SVN r29346.
2013-10-03 13:55:26 +00:00
Alex Mikheev
3d41637036 OSHMEM fixes for MXM 2.0:
- register memheap with mxm
    - handle zcopy correctly
    - use mxm provided empty memory key instead of NULL

reviewed by miked

This commit was SVN r29345.
2013-10-03 11:53:20 +00:00
Mike Dubman
37d9a727f2 implement community feedback
1. The OpenSHMEM specification is silent regarding how OpenSHMEM programs are compiled,
linked and run.  These wrappers are added to meet an example in the specification.
2. remove unused/obsolete files
Implemented by Igor, reviewed by miked
cmr=v1.7.4:reviewer=ompi-rm1.7

This commit was SVN r29332.
2013-10-02 14:08:43 +00:00
Mike Dubman
ed62a3c7c8 fix compile error, bad patch was previously applied
fixed by Igor, reviewed by miked
cmr=v1.7.4:reviewer=ompi-rm1.7

This commit was SVN r29330.
2013-10-02 08:32:26 +00:00
Mike Dubman
95b96a9905 adopt to MXM2 API change
fixed by Igor, reviewed by miked
cmr=v1.7.4:reviewer=ompi-rm1.7

This commit was SVN r29329.
2013-10-02 07:35:09 +00:00
Mike Dubman
08efe5a338 Adopting shmem configure logic to trunk build system conventions
fixed by Dinar, reviewed by miked
cmr=v1.7.4:reviewer=ompi-rm1.7

This commit was SVN r29328.
2013-10-02 06:59:09 +00:00
Mike Dubman
5d2bce3334 fix define name to match mxm2 API
cmr=v1.7.4:reviewer=ompi-rm1.7

This commit was SVN r29311.
2013-10-01 09:11:01 +00:00
Joshua Ladd
ba17053470 Fixing OSHMEM compiler warnings when --enable-mpi-thread-multiple is set
This commit was SVN r29249.
2013-09-26 01:21:17 +00:00
Joshua Ladd
008a2af2d8 Cleaning up a bit
This commit was SVN r29240.
2013-09-24 22:09:36 +00:00
Joshua Ladd
ac421fc1b9 Fixing OSHMEM 64-bit compiler warnings/picky errors in MXM enabled components.
This commit was SVN r29239.
2013-09-24 21:48:57 +00:00
Mike Dubman
08cc4ebecf fix for solaris which does not have bzero
cmr:v1.7.3:reviewer=jsquyres

This commit was SVN r29223.
2013-09-21 07:26:02 +00:00
Ralph Castain
fe9a744289 Add missing include file on Solaris environments
Refs trac:3763

This commit was SVN r29211.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-09-19 18:43:13 +00:00
Joshua Ladd
d81186df9b More OSHMEM fixes for Sun C 5.12 compiler
This commit was SVN r29203.
2013-09-18 13:54:47 +00:00
Joshua Ladd
601f9e37cd Fixing FORTRAN bindings in OSHMEM
This commit was SVN r29190.
2013-09-17 16:39:56 +00:00
Jeff Squyres
df7654e8cf 1. Per my previous email
(http://www.open-mpi.org/community/lists/devel/2013/09/12889.php), I
renamed all "f77" and "f90" directory/file names to "fortran"
(including removing shmemf77 / shmemf90 wrapper compilers and
replacing them with "shmemfort").

2. Fixed several Fortran coding errors.

3. Removed lots of old/stale comments that were clearly the result of
copying from the OMPI layer and then not cleaning up afterwards (i.e.,
the comments were wholly inaccurate in the oshmem layer).

4. Removed both redundant and harmful code from oshmem_config.h.in.

5. Temporarily slave building the oshmem Fortran bindings to
--enable-mpi-fortran.  This doesn't seem like a good long-term
solution, but at least you can now build all Fortran bindings (MPI +
oshmem) or not. *** SEE MY NOTE IN config/oshmem_configure_options.m4
FOR WORK THAT STILL NEEDS TO BE DONE!

This commit was SVN r29165.
2013-09-15 09:32:07 +00:00
Joshua Ladd
027e7deb7f Adding more fixes to stomp casting/addressing issues on 32-bit systems.
This commit was SVN r29164.
2013-09-13 20:37:30 +00:00
Ralph Castain
5da795247d Attempt to resolve the nightly build problem
Refs trac:3763

This commit was SVN r29161.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-09-13 14:50:07 +00:00
Joshua Ladd
936c42a872 This commit 1. Fixes the void pointer casting to 64-bit integer issue in shmem_lock.c, line 170. 2. Applies the patch provided by George to add support for Intel (12.1.020110811) compiler in OSHMEM. 3. Fixes the configure warning generated by AC_TRY_RUN - disable mxm atomic locks if cross compiling.
This commit was SVN r29158.
2013-09-12 20:54:55 +00:00
Ralph Castain
3cf3b88bd1 Fix typo in function name
This commit was SVN r29156.
2013-09-11 03:40:13 +00:00
Joshua Ladd
b3f88c4a1d Per the RFC schedule, this commit adds Mellanox OpenSHMEM to the trunk. It does not yet run on OSX or with CM PML for an MTL other than MXM. Mellanox is aware of these issues and is in the process of resolving them. This should be added to \ncmr=v1.7.4:subject=Move OSHMEM to 1.7.4:reviewer=rhc
This commit was SVN r29153.
2013-09-10 15:34:09 +00:00
Joshua Ladd
70ad711337 Backing out the Open SHMEM project
This commit was SVN r28050.
2013-02-12 17:45:27 +00:00
Mike Dubman
ff384daab4 Added new project: oshmem.
This commit was SVN r28048.
2013-02-12 15:33:21 +00:00