forked from intel/mpi-benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile_win
98 lines (89 loc) · 3.73 KB
/
Makefile_win
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#*****************************************************************************
# * *
# * Copyright 2016-2019 Intel Corporation. *
# * *
# *****************************************************************************
#
# This code is covered by the Community Source License (CPL), version
# 1.0 as published by IBM and reproduced in the file "license.txt" in the
# "license" subdirectory. Redistribution in source and binary form, with
# or without modification, is permitted ONLY within the regulations
# contained in above mentioned license.
#
# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY
# within the regulations of the "License for Use of "Intel(R) MPI
# Benchmarks" Name and Trademark" as reproduced in the file
# "use-of-trademark-license.txt" in the "license" subdirectory.
#
# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
# solely responsible for determining the appropriateness of using and
# distributing the Program and assumes all risks associated with its
# exercise of rights under this Agreement, including but not limited to
# the risks and costs of program errors, compliance with applicable
# laws, damage to or loss of data, programs or equipment, and
# unavailability or interruption of operations.
#
# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR
# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
#
# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF
# YOUR JURISDICTION. It is licensee's responsibility to comply with any
# export regulations applicable in licensee's jurisdiction. Under
# CURRENT U.S. export regulations this software is eligible for export
# from the U.S. and can be downloaded by or otherwise exported or
# reexported worldwide EXCEPT to U.S. embargoed destinations which
# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan,
# Afghanistan and any other country to which the U.S. has embargoed
# goods and services.
#
# ***************************************************************************
all: IMB-MPI1 IMB-MT IMB-RMA IMB-EXT IMB-IO IMB-NBC
IMB-MPI1:
cd .\src_cpp
nmake -f Makefile_win TARGET=MPI1
cd ..
copy .\src_cpp\IMB-MPI1.exe
IMB-NBC:
cd .\src_cpp
nmake -f Makefile_win IMB-NBC
cd ..
copy .\src_cpp\IMB-NBC.exe
IMB-RMA:
cd .\src_cpp
nmake -f Makefile_win TARGET=RMA
cd ..
copy .\src_cpp\IMB-RMA.exe
IMB-EXT:
cd .\src_cpp
nmake -f Makefile_win IMB-EXT
cd ..
copy .\src_cpp\IMB-EXT.exe
IMB-IO:
cd .\src_cpp
nmake -f Makefile_win IMB-IO
cd ..
copy .\src_cpp\IMB-IO.exe
IMB-MT:
cd .\src_cpp
nmake -f Makefile_win TARGET=MT
cd ..
copy .\src_cpp\IMB-MT.exe
clean:
cd ./src_cpp
nmake -f Makefile_win clean TARGET=MT
nmake -f Makefile_win clean TARGET=MPI1
nmake -f Makefile_win clean TARGET=RMA
nmake -f Makefile_win clean TARGET=NBC
nmake -f Makefile_win clean TARGET=IO
nmake -f Makefile_win clean TARGET=EXT
cd ..
del /f /q IMB-MPI1.exe IMB-NBC.exe IMB-RMA.exe IMB-EXT.exe IMB-IO.exe IMB-MT.exe