4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2013, Aurelien Larcher. All rights reserved.
24 MPI_IMPLEMENTATIONS_LIST
= mpich openmpi
36 MPICXX.openmpi
= mpicxx
37 MPIF77.openmpi
= mpif77
38 MPIFC.openmpi
= mpif90
41 MPI_IMPLEMENTATION ?
= $(MPI.mpich
)
42 MPI_COMPILER
= $(COMPILER
)
44 MPI_BUNDLE
= $(MPI_IMPLEMENTATION
)-$(MPI_COMPILER
)
46 MPI_PREFIX
.32 = $(USRLIBDIR
)/$(MPI_IMPLEMENTATION
)/$(MPI_COMPILER
)
47 MPI_PREFIX
.64 = $(USRLIBDIR64
)/$(MPI_IMPLEMENTATION
)/$(MPI_COMPILER
)
48 MPI_PREFIX
= $(MPI_PREFIX.
$(BITS
))
50 MPICC
= $(MPICC.
$(MPI_IMPLEMENTATION
))
51 MPICXX
= $(MPICXX.
$(MPI_IMPLEMENTATION
))
52 MPIF77
= $(MPIF77.
$(MPI_IMPLEMENTATION
))
53 MPIFC
= $(MPIFC.
$(MPI_IMPLEMENTATION
))
55 CONFIGURE_DEFAULT_DIRS
=no
57 MPI_BINDIR
.32 = $(MPI_PREFIX
.32)/bin
58 MPI_BINDIR
.64 = $(MPI_PREFIX
.64)/bin
59 MPI_BINDIR
= $(MPI_BINDIR.
$(BITS
))
61 MPI_SBINDIR
.32 = $(MPI_PREFIX
.32)/sbin
62 MPI_SBINDIR
.64 = $(MPI_PREFIX
.64)/sbin
63 MPI_SBINDIR
= $(MPI_SBINDIR.
$(BITS
))
65 MPI_LIBDIR
.32 = $(MPI_PREFIX
.32)/lib
66 MPI_LIBDIR
.64 = $(MPI_PREFIX
.64)/lib
67 MPI_LIBDIR
= $(MPI_LIBDIR.
$(BITS
))
69 MPI_ETCDIR
.32 = $(MPI_PREFIX
.32)/etc
70 MPI_ETCDIR
.64 = $(MPI_PREFIX
.64)/etc
71 MPI_ETCDIR
= $(MPI_ETCDIR.
$(BITS
))
73 MPI_INCDIR
= $(USRINCDIR
)/$(MPI_IMPLEMENTATION
)
75 MPI_SHAREDIR
= $(USRSHAREDIR
)
76 MPI_DATADIR
= $(MPI_SHAREDIR
)/$(MPI_IMPLEMENTATION
)
77 MPI_DOCDIR
= $(USRSHAREDOCDIR
)/$(MPI_IMPLEMENTATION
)
78 MPI_HTMLDIR
= $(USRSHAREDOCDIR
)/www
79 MPI_MANDIR
= $(USRSHAREMANDIR
)