diff --git a/MpiApps/apps/hpl-2.3/Make.ICS.Linux.MKL-gcc b/MpiApps/apps/hpl-2.3/Make.ICS.Linux.MKL-gcc new file mode 100644 index 0000000..91085bb --- /dev/null +++ b/MpiApps/apps/hpl-2.3/Make.ICS.Linux.MKL-gcc @@ -0,0 +1,234 @@ +# # BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2024, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 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 +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# END_ICS_COPYRIGHT8 **************************************** +# +# -- High Performance Computing Linpack Benchmark (HPL) +# HPL - 2.2 - February 24, 2016 +# Antoine P. Petitet +# University of Tennessee, Knoxville +# Innovative Computing Laboratory +# (C) Copyright 2000-2008 All Rights Reserved +# +# -- Copyright notice and Licensing terms: +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions, and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# 3. All advertising materials mentioning features or use of this +# software must display the following acknowledgement: +# This product includes software developed at the University of +# Tennessee, Knoxville, Innovative Computing Laboratory. +# +# 4. The name of the University, the name of the Laboratory, or the +# names of its contributors may not be used to endorse or promote +# products derived from this software without specific written +# permission. +# +# -- Disclaimer: +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY +# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA OR PROFITS; OR BUSINESS INTERRUPTION) 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 +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# ###################################################################### +# +# ---------------------------------------------------------------------- +# - shell -------------------------------------------------------------- +# ---------------------------------------------------------------------- +# +SHELL = /bin/sh +# +CD = cd +CP = cp +LN_S = ln -sf +MKDIR = mkdir -p +RM = /bin/rm -f +TOUCH = touch +# +# ---------------------------------------------------------------------- +# - Platform identifier ------------------------------------------------ +# ---------------------------------------------------------------------- +# +ARCH = ICS.Linux.MKL-gcc +# +# ---------------------------------------------------------------------- +# - HPL Directory Structure / HPL library ------------------------------ +# ---------------------------------------------------------------------- +# +TOPdir = $(HPL_HOME_DIR) +INCdir = $(TOPdir)/include +BINdir = $(TOPdir)/bin/$(ARCH) +LIBdir = $(TOPdir)/lib/$(ARCH) +# +HPLlib = $(LIBdir)/libhpl.a +# +# ---------------------------------------------------------------------- +# - Message Passing library (MPI) -------------------------------------- +# ---------------------------------------------------------------------- +# MPinc tells the C compiler where to find the Message Passing library +# header files, MPlib is defined to be the name of the library to be +# used. The variable MPdir is only used for defining MPinc and MPlib. +# +MPdir = +MPinc = +MPlib = + +# +# ---------------------------------------------------------------------- +# - Linear Algebra library (BLAS or VSIPL) ----------------------------- +# ---------------------------------------------------------------------- +# LAinc tells the C compiler where to find the Linear Algebra library +# header files, LAlib is defined to be the name of the library to be +# used. The variable LAdir is only used for defining LAinc and LAlib. + +ifndef MKLROOT +MKLROOT = $(shell if [ -e /opt/intel/oneapi/mkl/latest/lib ]; then echo /opt/intel/oneapi/mkl/latest; else echo /opt/intel/mkl; fi) +endif +LAdir = $(MKLROOT) +ifndef LAinc +LAinc = -I$(LAdir)/include +endif +ifndef LAlib +ifneq (,$(wildcard $(LAdir)/lib/libmkl_core.a)) +# Flags generated using https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html +LAlib = -L$(LAdir)/lib \ + -Wl,--start-group \ + $(LAdir)/lib/libmkl_intel_lp64.a \ + $(LAdir)/lib/libmkl_gnu_thread.a \ + $(LAdir)/lib/libmkl_core.a \ + -Wl,--end-group -lgomp -lpthread -lm -ldl +else ifneq (,$(wildcard $(LAdir)/lib/intel64/libmkl_core.a)) +LAlib = -L$(LAdir)/lib/intel64 \ + -Wl,--start-group \ + $(LAdir)/lib/intel64/libmkl_intel_lp64.a \ + $(LAdir)/lib/intel64/libmkl_gnu_thread.a \ + $(LAdir)/lib/intel64/libmkl_core.a \ + -Wl,--end-group -lgomp -lpthread -lm -ldl +endif +endif + +# +# ---------------------------------------------------------------------- +# - F77 / C interface -------------------------------------------------- +# ---------------------------------------------------------------------- +# You can skip this section if and only if you are not planning to use +# a BLAS library featuring a Fortran 77 interface. Otherwise, it is +# necessary to fill out the F2CDEFS variable with the appropriate +# options. **One and only one** option should be chosen in **each** of +# the 3 following categories: +# +# 1) name space (How C calls a Fortran 77 routine) +# +# -DAdd_ : all lower case and a suffixed underscore (Suns, +# Intel, ...), [default] +# -DNoChange : all lower case (IBM RS6000), +# -DUpCase : all upper case (Cray), +# -DAdd__ : the FORTRAN compiler in use is f2c. +# +# 2) C and Fortran 77 integer mapping +# +# -DF77_INTEGER=int : Fortran 77 INTEGER is a C int, [default] +# -DF77_INTEGER=long : Fortran 77 INTEGER is a C long, +# -DF77_INTEGER=short : Fortran 77 INTEGER is a C short. +# +# 3) Fortran 77 string handling +# +# -DStringSunStyle : The string address is passed at the string loca- +# tion on the stack, and the string length is then +# passed as an F77_INTEGER after all explicit +# stack arguments, [default] +# -DStringStructPtr : The address of a structure is passed by a +# Fortran 77 string, and the structure is of the +# form: struct {char *cp; F77_INTEGER len;}, +# -DStringStructVal : A structure is passed by value for each Fortran +# 77 string, and the structure is of the form: +# struct {char *cp; F77_INTEGER len;}, +# -DStringCrayStyle : Special option for Cray machines, which uses +# Cray fcd (fortran character descriptor) for +# interoperation. +# +F2CDEFS = +# +# ---------------------------------------------------------------------- +# - HPL includes / libraries / specifics ------------------------------- +# ---------------------------------------------------------------------- +# +HPL_INCLUDES = -I$(INCdir) -I$(INCdir)/$(ARCH) $(LAinc) $(MPinc) +HPL_LIBS = $(HPLlib) $(LAlib) $(MPlib) + +# +# - Compile time options ----------------------------------------------- +# +# -DHPL_COPY_L force the copy of the panel L before bcast; +# -DHPL_CALL_CBLAS call the cblas interface; +# -DHPL_CALL_VSIPL call the vsip library; +# -DHPL_DETAILED_TIMING enable detailed timers; +# +# By default HPL will: +# *) not copy L before broadcast, +# *) call the BLAS Fortran 77 interface, +# *) not display detailed timing information. +# +# HPL_OPTS = + +# +# ---------------------------------------------------------------------- +# +HPL_DEFS = $(F2CDEFS) $(HPL_OPTS) $(HPL_INCLUDES) +# +# ---------------------------------------------------------------------- +# - Compilers / linkers - Optimization flags --------------------------- +# ---------------------------------------------------------------------- +# +CC = $(MPICC) +CCNOOPT = $(HPL_DEFS) +CCFLAGS = $(HPL_DEFS) -fomit-frame-pointer -O3 -funroll-loops -DMKL_ILP64 -m64 +# +LINKER = $(MPICC) +LINKFLAGS = $(CCFLAGS) +# +ARCHIVER = ar +ARFLAGS = r +RANLIB = echo +# +# ---------------------------------------------------------------------- diff --git a/MpiApps/apps/hpl-2.3/Make.ICS.Linux.MKL b/MpiApps/apps/hpl-2.3/Make.ICS.Linux.MKL-icc similarity index 93% rename from MpiApps/apps/hpl-2.3/Make.ICS.Linux.MKL rename to MpiApps/apps/hpl-2.3/Make.ICS.Linux.MKL-icc index f4791a7..0c81a3d 100644 --- a/MpiApps/apps/hpl-2.3/Make.ICS.Linux.MKL +++ b/MpiApps/apps/hpl-2.3/Make.ICS.Linux.MKL-icc @@ -1,6 +1,6 @@ # # BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2020, Intel Corporation +# Copyright (c) 2015-2024, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -89,7 +89,7 @@ TOUCH = touch # - Platform identifier ------------------------------------------------ # ---------------------------------------------------------------------- # -ARCH = ICS.Linux.MKL +ARCH = ICS.Linux.MKL-icc # # ---------------------------------------------------------------------- # - HPL Directory Structure / HPL library ------------------------------ @@ -122,19 +122,29 @@ MPlib = # used. The variable LAdir is only used for defining LAinc and LAlib. ifndef MKLROOT -MKLROOT = /opt/intel/mkl +MKLROOT = $(shell if [ -e /opt/intel/oneapi/mkl/latest/lib ]; then echo /opt/intel/oneapi/mkl/latest; else echo /opt/intel/mkl; fi) endif LAdir = $(MKLROOT) ifndef LAinc LAinc = -I$(LAdir)/include endif ifndef LAlib +ifneq (,$(wildcard $(LAdir)/lib/libmkl_core.a)) +# Flags generated using https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html +LAlib = -L$(LAdir)/lib \ + -Wl,--start-group \ + $(LAdir)/lib/libmkl_intel_lp64.a \ + $(LAdir)/lib/libmkl_intel_thread.a \ + $(LAdir)/lib/libmkl_core.a \ + -Wl,--end-group -liomp5 -lpthread -lm -ldl +else ifneq (,$(wildcard $(LAdir)/lib/intel64/libmkl_core.a)) LAlib = -L$(LAdir)/lib/intel64 \ -Wl,--start-group \ $(LAdir)/lib/intel64/libmkl_intel_lp64.a \ $(LAdir)/lib/intel64/libmkl_intel_thread.a \ $(LAdir)/lib/intel64/libmkl_core.a \ - -Wl,--end-group -lpthread -ldl + -Wl,--end-group -lpthread -lm -ldl +endif endif # diff --git a/MpiApps/apps/hpl-2.3/Make.ICS.Linux.MKL-icx b/MpiApps/apps/hpl-2.3/Make.ICS.Linux.MKL-icx new file mode 100644 index 0000000..7700594 --- /dev/null +++ b/MpiApps/apps/hpl-2.3/Make.ICS.Linux.MKL-icx @@ -0,0 +1,234 @@ +# # BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2024, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 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 +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# END_ICS_COPYRIGHT8 **************************************** +# +# -- High Performance Computing Linpack Benchmark (HPL) +# HPL - 2.2 - February 24, 2016 +# Antoine P. Petitet +# University of Tennessee, Knoxville +# Innovative Computing Laboratory +# (C) Copyright 2000-2008 All Rights Reserved +# +# -- Copyright notice and Licensing terms: +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions, and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# 3. All advertising materials mentioning features or use of this +# software must display the following acknowledgement: +# This product includes software developed at the University of +# Tennessee, Knoxville, Innovative Computing Laboratory. +# +# 4. The name of the University, the name of the Laboratory, or the +# names of its contributors may not be used to endorse or promote +# products derived from this software without specific written +# permission. +# +# -- Disclaimer: +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY +# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA OR PROFITS; OR BUSINESS INTERRUPTION) 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 +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# ###################################################################### +# +# ---------------------------------------------------------------------- +# - shell -------------------------------------------------------------- +# ---------------------------------------------------------------------- +# +SHELL = /bin/sh +# +CD = cd +CP = cp +LN_S = ln -sf +MKDIR = mkdir -p +RM = /bin/rm -f +TOUCH = touch +# +# ---------------------------------------------------------------------- +# - Platform identifier ------------------------------------------------ +# ---------------------------------------------------------------------- +# +ARCH = ICS.Linux.MKL-icx +# +# ---------------------------------------------------------------------- +# - HPL Directory Structure / HPL library ------------------------------ +# ---------------------------------------------------------------------- +# +TOPdir = $(HPL_HOME_DIR) +INCdir = $(TOPdir)/include +BINdir = $(TOPdir)/bin/$(ARCH) +LIBdir = $(TOPdir)/lib/$(ARCH) +# +HPLlib = $(LIBdir)/libhpl.a +# +# ---------------------------------------------------------------------- +# - Message Passing library (MPI) -------------------------------------- +# ---------------------------------------------------------------------- +# MPinc tells the C compiler where to find the Message Passing library +# header files, MPlib is defined to be the name of the library to be +# used. The variable MPdir is only used for defining MPinc and MPlib. +# +MPdir = +MPinc = +MPlib = + +# +# ---------------------------------------------------------------------- +# - Linear Algebra library (BLAS or VSIPL) ----------------------------- +# ---------------------------------------------------------------------- +# LAinc tells the C compiler where to find the Linear Algebra library +# header files, LAlib is defined to be the name of the library to be +# used. The variable LAdir is only used for defining LAinc and LAlib. + +ifndef MKLROOT +MKLROOT = $(shell if [ -e /opt/intel/oneapi/mkl/latest/lib ]; then echo /opt/intel/oneapi/mkl/latest; else echo /opt/intel/mkl; fi) +endif +LAdir = $(MKLROOT) +ifndef LAinc +LAinc = -I$(LAdir)/include +endif +ifndef LAlib +ifneq (,$(wildcard $(LAdir)/lib/libmkl_core.a)) +# Flags generated using https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html +LAlib = -L$(LAdir)/lib \ + -Wl,--start-group \ + $(LAdir)/lib/libmkl_intel_lp64.a \ + $(LAdir)/lib/libmkl_intel_thread.a \ + $(LAdir)/lib/libmkl_core.a \ + -Wl,--end-group -liomp5 -lpthread -lm -ldl +else ifneq (,$(wildcard $(LAdir)/lib/intel64/libmkl_core.a)) +LAlib = -L$(LAdir)/lib/intel64 \ + -Wl,--start-group \ + $(LAdir)/lib/intel64/libmkl_intel_lp64.a \ + $(LAdir)/lib/intel64/libmkl_intel_thread.a \ + $(LAdir)/lib/intel64/libmkl_core.a \ + -Wl,--end-group -liomp5 -lpthread -lm -ldl +endif +endif + +# +# ---------------------------------------------------------------------- +# - F77 / C interface -------------------------------------------------- +# ---------------------------------------------------------------------- +# You can skip this section if and only if you are not planning to use +# a BLAS library featuring a Fortran 77 interface. Otherwise, it is +# necessary to fill out the F2CDEFS variable with the appropriate +# options. **One and only one** option should be chosen in **each** of +# the 3 following categories: +# +# 1) name space (How C calls a Fortran 77 routine) +# +# -DAdd_ : all lower case and a suffixed underscore (Suns, +# Intel, ...), [default] +# -DNoChange : all lower case (IBM RS6000), +# -DUpCase : all upper case (Cray), +# -DAdd__ : the FORTRAN compiler in use is f2c. +# +# 2) C and Fortran 77 integer mapping +# +# -DF77_INTEGER=int : Fortran 77 INTEGER is a C int, [default] +# -DF77_INTEGER=long : Fortran 77 INTEGER is a C long, +# -DF77_INTEGER=short : Fortran 77 INTEGER is a C short. +# +# 3) Fortran 77 string handling +# +# -DStringSunStyle : The string address is passed at the string loca- +# tion on the stack, and the string length is then +# passed as an F77_INTEGER after all explicit +# stack arguments, [default] +# -DStringStructPtr : The address of a structure is passed by a +# Fortran 77 string, and the structure is of the +# form: struct {char *cp; F77_INTEGER len;}, +# -DStringStructVal : A structure is passed by value for each Fortran +# 77 string, and the structure is of the form: +# struct {char *cp; F77_INTEGER len;}, +# -DStringCrayStyle : Special option for Cray machines, which uses +# Cray fcd (fortran character descriptor) for +# interoperation. +# +F2CDEFS = +# +# ---------------------------------------------------------------------- +# - HPL includes / libraries / specifics ------------------------------- +# ---------------------------------------------------------------------- +# +HPL_INCLUDES = -I$(INCdir) -I$(INCdir)/$(ARCH) $(LAinc) $(MPinc) +HPL_LIBS = $(HPLlib) $(LAlib) $(MPlib) + +# +# - Compile time options ----------------------------------------------- +# +# -DHPL_COPY_L force the copy of the panel L before bcast; +# -DHPL_CALL_CBLAS call the cblas interface; +# -DHPL_CALL_VSIPL call the vsip library; +# -DHPL_DETAILED_TIMING enable detailed timers; +# +# By default HPL will: +# *) not copy L before broadcast, +# *) call the BLAS Fortran 77 interface, +# *) not display detailed timing information. +# +# HPL_OPTS = + +# +# ---------------------------------------------------------------------- +# +HPL_DEFS = $(F2CDEFS) $(HPL_OPTS) $(HPL_INCLUDES) +# +# ---------------------------------------------------------------------- +# - Compilers / linkers - Optimization flags --------------------------- +# ---------------------------------------------------------------------- +# +CC = $(MPICC) +CCNOOPT = $(HPL_DEFS) +CCFLAGS = $(HPL_DEFS) -fomit-frame-pointer -O3 -funroll-loops -DMKL_ILP64 -m64 -qmkl=cluster +# +LINKER = $(MPICC) +LINKFLAGS = $(CCFLAGS) +# +ARCHIVER = ar +ARFLAGS = r +RANLIB = echo +# +# ---------------------------------------------------------------------- diff --git a/MpiApps/apps/imb/Makefile b/MpiApps/apps/imb/Makefile index 50556bf..b44fbb9 100644 --- a/MpiApps/apps/imb/Makefile +++ b/MpiApps/apps/imb/Makefile @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/Makefile_win b/MpiApps/apps/imb/Makefile_win index 3fe5b24..e2f5cec 100644 --- a/MpiApps/apps/imb/Makefile_win +++ b/MpiApps/apps/imb/Makefile_win @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/README.md b/MpiApps/apps/imb/README.md index 5b9a935..33370a0 100644 --- a/MpiApps/apps/imb/README.md +++ b/MpiApps/apps/imb/README.md @@ -1,6 +1,6 @@ # Intel(R) MPI Benchmarks -[![Common Public License Version 1.0](https://img.shields.io/badge/license-Common%20Public%20License%20Version%201.0-green.svg)](license/license.txt) -![v2021.3](https://img.shields.io/badge/v.2021.3-Update-orange.svg) +[![3-Clause BSD License](https://img.shields.io/badge/license-3%20Clause%20BSD%20License-green.svg)](license/license.txt) +![v2021.7](https://img.shields.io/badge/v.2021.7-Update-orange.svg) -------------------------------------------------- -------- @@ -14,7 +14,7 @@ Contents - Building Instructions for Linux* OS - Building Instructions for Windows* OS - Copyright and License Information -- Legal Information +- Notices & Disclaimers ------------ Introduction @@ -26,7 +26,7 @@ command line using one executable file. Use command-line parameters to specify various settings, such as time measurement, message lengths, and selection of communicators. For details, see the Intel(R) MPI Benchmarks User's Guide located at: -https://software.intel.com/en-us/imb-user-guide. +https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html By default, Intel(R) MPI Benchmarks is installed at: - C:\Program Files (x86)\IntelSWTools\imb on Windows* OS @@ -63,6 +63,25 @@ files and folders appear on your system: ---------- What's New ---------- +New in Intel(R) MPI Benchmarks 2021.7 +---------------------------------------- +- IMB-MPI1-GPU benchmark. + Dynamically loading from LD_LIBRARY_PATH + cuda or level zero library. + +New in Intel(R) MPI Benchmarks 2021.6 +---------------------------------------- +- Bug fixes. + +New in Intel(R) MPI Benchmarks 2021.5 +---------------------------------------- +- License update +- Bug fixes. + +New in Intel(R) MPI Benchmarks 2021.4 +---------------------------------------- +- Bug fixes. + New in Intel(R) MPI Benchmarks 2021.3 ---------------------------------------- - Change default value for mem_alloc_type to device @@ -127,7 +146,7 @@ New in Intel(R) MPI Benchmarks 2019 using the OpenMP* paradigm. - New benchmarks infrastructure for easier benchmarks extension is implemented in C++ (See the guide: - https://software.intel.com/en-us/articles/creating-custom-benchmarks-for-imb-2019). + https://www.intel.com/content/www/us/en/developer/articles/technical/creating-custom-benchmarks-for-imb-2019.html?wapkw=creating-custom-benchmarks-for-imb-2019). The IMB-MPI1, IMB-RMA, IMB-NBC, IMB-EXT, IMB-IO, and IMB-MT implementation is now based on the new C++ infrastructure. The legacy infrastructure is preserved in the src_c subdirectory. @@ -154,7 +173,7 @@ New in Intel(R) MPI Benchmarks 2018 Update 1 New in Intel(R) MPI Benchmarks 2018 -------------------------------------------- - Product documentation is now available online only at: - https://software.intel.com/en-us/imb-user-guide + https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html - Removed support of the Intel(R) Xeon Phi(TM) coprocessors (formerly code named Knights Corner). @@ -243,7 +262,7 @@ Building Instructions for Linux* OS where is one of the make targets above. For details, refer to the Intel(R) MPI Benchmarks User's Guide at: - https://software.intel.com/en-us/imb-user-guide + https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html ----------------------------------------- Building Instructions for Windows* OS @@ -286,7 +305,7 @@ Building "x64" Executable Files 3) Use F7 or Build > Build Solution to create an executable. For details, refer to the Intel(R) MPI Benchmarks User's Guide at: - https://software.intel.com/en-us/imb-user-guide + https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html ---------------------- Copyright and Licenses @@ -295,28 +314,17 @@ Copyright and Licenses See the license files in the imb/license directory. -------------------------------- -Legal Information +Notices & Disclaimers -------------------------------- -No license (express or implied, by estoppel or otherwise) to any intellectual -property rights is granted by this document. +Intel technologies may require enabled hardware, software or service activation. -Intel disclaims all express and implied warranties, including without limitation, -the implied warranties of merchantability, fitness for a particular purpose, and -non-infringement, as well as any warranty arising from course of performance, -course of dealing, or usage in trade. +No product or component can be absolutely secure. -This document contains information on products, services and/or processes in -development. All information provided here is subject to change without notice. -Contact your Intel representative to obtain the latest forecast, schedule, -specifications and roadmaps. +Your costs and results may vary. -The products and services described may contain defects or errors known as -errata which may cause deviations from published specifications. Current -characterized errata are available on request. +© Intel Corporation. Intel, the Intel logo, and other Intel marks are trademarks of Intel Corporation or its subsidiaries. Other names and brands may be claimed as the property of others. -Intel, Intel Core, Xeon, Xeon Phi and the Intel logo are trademarks of Intel -Corporation in the U.S. and/or other countries. - -* Other names and brands may be claimed as the property of others. - -(C) Intel Corporation. +-------------------------------- +Security Policy +-------------------------------- +See [SECURITY](SECURITY.md) for more information. diff --git a/MpiApps/apps/imb/ReadMe_IMB.txt b/MpiApps/apps/imb/ReadMe_IMB.txt index 8c9bf15..d561937 100644 --- a/MpiApps/apps/imb/ReadMe_IMB.txt +++ b/MpiApps/apps/imb/ReadMe_IMB.txt @@ -1,5 +1,5 @@ -------------------------------------- -Intel(R) MPI Benchmarks 2021.3 +Intel(R) MPI Benchmarks 2021.7 README -------------------------------------- @@ -62,6 +62,24 @@ files and folders appear on your system: ---------- What's New ---------- +New in Intel(R) MPI Benchmarks 2021.7 +---------------------------------------- +- IMB-MPI1-GPU benchmarks support cuda. + Dynamically loading from LD_LIBRARY_PATH + cuda or level zero library. + +New in Intel(R) MPI Benchmarks 2021.6 +---------------------------------------- +- Bug fixes. + +New in Intel(R) MPI Benchmarks 2021.5 +---------------------------------------- +- License update +- Bug fixes. + +New in Intel(R) MPI Benchmarks 2021.4 +---------------------------------------- +- Bug fixes. New in Intel(R) MPI Benchmarks 2021.3 ---------------------------------------- @@ -81,24 +99,24 @@ New in Intel(R) MPI Benchmarks 2021.2 New in Intel(R) MPI Benchmarks 2021.1 ---------------------------------------- - Added -window_size option for IMB-MPI1 -- Added copyrights for *.exe - Bug fixes. -New in Intel(R) MPI Benchmarks 2019 Update 6 --------------------------------------------- -- New IMB-P2P Stencil2D and Stencil3D benchmarks. +New in Intel(R) MPI Benchmarks 2021.1-beta05 +---------------------------------------- +- Added copyrights for *.exe - Bug fixes. -New in Intel(R) MPI Benchmarks 2019 Update 5 +New in Intel(R) MPI Benchmarks 2021.1-beta02 ---------------------------------------- -- Added Visual Studio projects for IMB-P2P +- New IMB-P2P Stencil2D and Stencil3D benchmarks. - Bug fixes. -New in Intel(R) MPI Benchmarks 2019 Update 4 --------------------------------------------- +New in Intel(R) MPI Benchmarks 2021.1-beta01 +---------------------------------------- +- Added Visual Studio projects for IMB-P2P - Bug fixes. @@ -134,7 +152,7 @@ New in Intel(R) MPI Benchmarks 2019 The benchmarks implement the multi-threaded version of IMB-MPI1 benchmarks using the OpenMP* paradigm. - New benchmarks infrastructure for easier benchmarks extension is implemented in C++ - (See the guide: https://software.intel.com/en-us/articles/creating-custom-benchmarks-for-imb-2019). + (See the guide: https://www.intel.com/content/www/us/en/developer/articles/technical/creating-custom-benchmarks-for-imb-2019.html?wapkw=creating-custom-benchmarks-for-imb-2019). The IMB-MPI1, IMB-RMA, IMB-NBC, IMB-EXT, IMB-IO and IMB-MT implementation is now based on the new C++ infrastructure. The legacy infrastructure is preserved in the src_c subdirectory. @@ -161,7 +179,7 @@ New in Intel(R) MPI Benchmarks 2018 Update 1 New in Intel(R) MPI Benchmarks 2018 -------------------------------------------- - Product documentation is now available online only at: - https://software.intel.com/en-us/imb-user-guide + https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html - Removed support of the Intel(R) Xeon Phi(TM) coprocessors (formerly code named Knights Corner). @@ -245,7 +263,7 @@ Building Instructions for Linux* OS where is one of the make targets above. For details, refer to the Intel(R) MPI Benchmarks User's Guide at: - https://software.intel.com/en-us/imb-user-guide-2018-beta + https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html ----------------------------------------- Building Instructions for Windows* OS @@ -288,7 +306,7 @@ Building "x64" Executable Files 3) Use F7 or Build > Build Solution to create an executable. For details, refer to the Intel(R) MPI Benchmarks User's Guide at: - https://software.intel.com/en-us/imb-user-guide-2018-beta + https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html ---------------------- Copyright and Licenses diff --git a/MpiApps/apps/imb/SECURITY.md b/MpiApps/apps/imb/SECURITY.md new file mode 100644 index 0000000..373608b --- /dev/null +++ b/MpiApps/apps/imb/SECURITY.md @@ -0,0 +1,5 @@ +# Security Policy +Intel is committed to rapidly addressing security vulnerabilities affecting our customers and providing clear guidance on the solution, impact, severity and mitigation. + +## Reporting a Vulnerability +Please report any security vulnerabilities in this project utilizing the guidelines [here](https://www.intel.com/content/www/us/en/security-center/vulnerability-handling-guidelines.html). diff --git a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2013/IMB-EXT.rc b/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2013/IMB-EXT.rc deleted file mode 100644 index 3125e6e..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2013/IMB-EXT.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-EXT" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-EXT.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2013/IMB-EXT.sln b/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2013/IMB-EXT.sln deleted file mode 100644 index 0231a2b..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2013/IMB-EXT.sln +++ /dev/null @@ -1,19 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-EXT", "IMB-EXT.vcxproj", "{4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Debug|x64.ActiveCfg = Debug|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Debug|x64.Build.0 = Debug|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Release|x64.ActiveCfg = Release|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2013/IMB-EXT.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2013/IMB-EXT.vcxproj deleted file mode 100644 index 4307cbe..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2013/IMB-EXT.vcxproj +++ /dev/null @@ -1,159 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA} - IMBEXT - Win32Proj - - - - Application - MultiByte - true - v120 - - - Application - MultiByte - v120 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;EXT;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - false - - - Level1 - ProgramDatabase - %(ForcedIncludeFiles) - - - impi.lib;%(AdditionalDependencies) - true - Console - - - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;EXT;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - %(AdditionalIncludeDirectories) - - - - - - - - - - - - - - - - - - - - - - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2013/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2013/resource.h deleted file mode 100644 index c24e480..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2013/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-EXT.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2015/IMB-EXT.rc b/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2015/IMB-EXT.rc deleted file mode 100644 index 3125e6e..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2015/IMB-EXT.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-EXT" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-EXT.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2015/IMB-EXT.sln b/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2015/IMB-EXT.sln deleted file mode 100644 index 0231a2b..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2015/IMB-EXT.sln +++ /dev/null @@ -1,19 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-EXT", "IMB-EXT.vcxproj", "{4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Debug|x64.ActiveCfg = Debug|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Debug|x64.Build.0 = Debug|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Release|x64.ActiveCfg = Release|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2015/IMB-EXT.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2015/IMB-EXT.vcxproj deleted file mode 100644 index ba93510..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2015/IMB-EXT.vcxproj +++ /dev/null @@ -1,159 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA} - IMBEXT - Win32Proj - - - - Application - MultiByte - true - v140 - - - Application - MultiByte - v140 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;EXT;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - false - - - Level1 - ProgramDatabase - %(ForcedIncludeFiles) - - - impi.lib;%(AdditionalDependencies) - true - Console - - - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;EXT;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - %(AdditionalIncludeDirectories) - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2015/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2015/resource.h deleted file mode 100644 index c24e480..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2015/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-EXT.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2017/IMB-EXT.rc b/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2017/IMB-EXT.rc index 3125e6e..5e4bdd0 100644 --- a/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2017/IMB-EXT.rc +++ b/MpiApps/apps/imb/WINDOWS/IMB-EXT_VS_2017/IMB-EXT.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-EXT" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-EXT.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" @@ -99,4 +99,3 @@ END ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2013/IMB-IO.rc b/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2013/IMB-IO.rc deleted file mode 100644 index 7440fa0..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2013/IMB-IO.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-IO" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-IO.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2013/IMB-IO.sln b/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2013/IMB-IO.sln deleted file mode 100644 index 4374ecc..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2013/IMB-IO.sln +++ /dev/null @@ -1,19 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-IO", "IMB-IO.vcxproj", "{8FDAF9E9-C2F3-443A-B86C-FC0A04DB7713}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8FDAF9E9-C2F3-443A-B86C-FC0A04DB7713}.Debug|x64.ActiveCfg = Debug|x64 - {8FDAF9E9-C2F3-443A-B86C-FC0A04DB7713}.Debug|x64.Build.0 = Debug|x64 - {8FDAF9E9-C2F3-443A-B86C-FC0A04DB7713}.Release|x64.ActiveCfg = Release|x64 - {8FDAF9E9-C2F3-443A-B86C-FC0A04DB7713}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2013/IMB-IO.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2013/IMB-IO.vcxproj deleted file mode 100644 index 8ee4690..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2013/IMB-IO.vcxproj +++ /dev/null @@ -1,154 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {8FDAF9E9-C2F3-443A-B86C-FC0A04DB7713} - IMBIO - Win32Proj - - - - Application - MultiByte - true - v120 - - - Application - MultiByte - v120 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;MPIIO;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;MPIIO;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2013/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2013/resource.h deleted file mode 100644 index df36540..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2013/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-IO.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2015/IMB-IO.rc b/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2015/IMB-IO.rc deleted file mode 100644 index 7440fa0..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2015/IMB-IO.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-IO" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-IO.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2015/IMB-IO.sln b/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2015/IMB-IO.sln deleted file mode 100644 index 4374ecc..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2015/IMB-IO.sln +++ /dev/null @@ -1,19 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-IO", "IMB-IO.vcxproj", "{8FDAF9E9-C2F3-443A-B86C-FC0A04DB7713}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8FDAF9E9-C2F3-443A-B86C-FC0A04DB7713}.Debug|x64.ActiveCfg = Debug|x64 - {8FDAF9E9-C2F3-443A-B86C-FC0A04DB7713}.Debug|x64.Build.0 = Debug|x64 - {8FDAF9E9-C2F3-443A-B86C-FC0A04DB7713}.Release|x64.ActiveCfg = Release|x64 - {8FDAF9E9-C2F3-443A-B86C-FC0A04DB7713}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2015/IMB-IO.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2015/IMB-IO.vcxproj deleted file mode 100644 index bc7c215..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2015/IMB-IO.vcxproj +++ /dev/null @@ -1,154 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {8FDAF9E9-C2F3-443A-B86C-FC0A04DB7713} - IMBIO - Win32Proj - - - - Application - MultiByte - true - v140 - - - Application - MultiByte - v140 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;MPIIO;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;MPIIO;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2015/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2015/resource.h deleted file mode 100644 index df36540..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2015/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-IO.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2017/IMB-IO.rc b/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2017/IMB-IO.rc index 7440fa0..9976c08 100644 --- a/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2017/IMB-IO.rc +++ b/MpiApps/apps/imb/WINDOWS/IMB-IO_VS_2017/IMB-IO.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-IO" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-IO.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2013/IMB-MPI1.rc b/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2013/IMB-MPI1.rc deleted file mode 100644 index 539622e..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2013/IMB-MPI1.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-MPI1" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-MPI1.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2013/IMB-MPI1.sln b/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2013/IMB-MPI1.sln deleted file mode 100644 index 1355773..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2013/IMB-MPI1.sln +++ /dev/null @@ -1,19 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-MPI1", "IMB-MPI1.vcxproj", "{72B11209-BF5B-4AF0-B38D-744C2FD082C3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Debug|x64.ActiveCfg = Debug|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Debug|x64.Build.0 = Debug|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Release|x64.ActiveCfg = Release|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2013/IMB-MPI1.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2013/IMB-MPI1.vcxproj deleted file mode 100644 index 03ee152..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2013/IMB-MPI1.vcxproj +++ /dev/null @@ -1,170 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {72B11209-BF5B-4AF0-B38D-744C2FD082C3} - IMBMPI1 - Win32Proj - - - - Application - MultiByte - true - v120 - - - Application - MultiByte - v120 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;MPI1;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_cpp\helpers;$(ProjectDir)\..\..\src_c;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;MPI1;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2013/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2013/resource.h deleted file mode 100644 index acb6b91..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2013/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-MPI1.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2015/IMB-MPI1.rc b/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2015/IMB-MPI1.rc deleted file mode 100644 index 539622e..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2015/IMB-MPI1.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-MPI1" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-MPI1.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2015/IMB-MPI1.sln b/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2015/IMB-MPI1.sln deleted file mode 100644 index 1355773..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2015/IMB-MPI1.sln +++ /dev/null @@ -1,19 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-MPI1", "IMB-MPI1.vcxproj", "{72B11209-BF5B-4AF0-B38D-744C2FD082C3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Debug|x64.ActiveCfg = Debug|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Debug|x64.Build.0 = Debug|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Release|x64.ActiveCfg = Release|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2015/IMB-MPI1.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2015/IMB-MPI1.vcxproj deleted file mode 100644 index 09e8cfe..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2015/IMB-MPI1.vcxproj +++ /dev/null @@ -1,170 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {72B11209-BF5B-4AF0-B38D-744C2FD082C3} - IMBMPI1 - Win32Proj - - - - Application - MultiByte - true - v140 - - - Application - MultiByte - v140 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;MPI1;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_cpp\helpers;$(ProjectDir)\..\..\src_c;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;MPI1;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2015/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2015/resource.h deleted file mode 100644 index acb6b91..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2015/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-MPI1.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2017/IMB-MPI1.rc b/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2017/IMB-MPI1.rc index 539622e..eac8203 100644 --- a/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2017/IMB-MPI1.rc +++ b/MpiApps/apps/imb/WINDOWS/IMB-MPI1_VS_2017/IMB-MPI1.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-MPI1" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-MPI1.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2013/IMB-MT.rc b/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2013/IMB-MT.rc deleted file mode 100644 index 6cc0764..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2013/IMB-MT.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-MT" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-MT.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2013/IMB-MT.sln b/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2013/IMB-MT.sln deleted file mode 100644 index f86d77d..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2013/IMB-MT.sln +++ /dev/null @@ -1,19 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-MT", "IMB-MT.vcxproj", "{72B11209-BF5B-4AF0-B38D-744C2FD082C3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Debug|x64.ActiveCfg = Debug|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Debug|x64.Build.0 = Debug|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Release|x64.ActiveCfg = Release|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2013/IMB-MT.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2013/IMB-MT.vcxproj deleted file mode 100644 index 8a4b12d..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2013/IMB-MT.vcxproj +++ /dev/null @@ -1,132 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {72B11209-BF5B-4AF0-B38D-744C2FD082C3} - IMBMT - Win32Proj - - - - Application - MultiByte - true - v120 - - - Application - MultiByte - v120 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;MT;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;MT;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2013/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2013/resource.h deleted file mode 100644 index 8ba6e02..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2013/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-MT.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2015/IMB-MT.rc b/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2015/IMB-MT.rc deleted file mode 100644 index 6cc0764..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2015/IMB-MT.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-MT" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-MT.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2015/IMB-MT.sln b/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2015/IMB-MT.sln deleted file mode 100644 index f86d77d..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2015/IMB-MT.sln +++ /dev/null @@ -1,19 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-MT", "IMB-MT.vcxproj", "{72B11209-BF5B-4AF0-B38D-744C2FD082C3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Debug|x64.ActiveCfg = Debug|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Debug|x64.Build.0 = Debug|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Release|x64.ActiveCfg = Release|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2015/IMB-MT.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2015/IMB-MT.vcxproj deleted file mode 100644 index 09f214d..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2015/IMB-MT.vcxproj +++ /dev/null @@ -1,132 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {72B11209-BF5B-4AF0-B38D-744C2FD082C3} - IMBMT - Win32Proj - - - - Application - MultiByte - true - v140 - - - Application - MultiByte - v140 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;MT;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;MT;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2015/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2015/resource.h deleted file mode 100644 index 8ba6e02..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2015/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-MT.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2017/IMB-MT.rc b/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2017/IMB-MT.rc index 6cc0764..c25ff8c 100644 --- a/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2017/IMB-MT.rc +++ b/MpiApps/apps/imb/WINDOWS/IMB-MT_VS_2017/IMB-MT.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-MT" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-MT.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2013/IMB-NBC.rc b/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2013/IMB-NBC.rc deleted file mode 100644 index b7aa41a..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2013/IMB-NBC.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-NBC" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-NBC.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2013/IMB-NBC.sln b/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2013/IMB-NBC.sln deleted file mode 100644 index d535d62..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2013/IMB-NBC.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-NBC", "IMB-NBC.vcxproj", "{4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Debug|x64.ActiveCfg = Debug|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Debug|x64.Build.0 = Debug|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Release|x64.ActiveCfg = Release|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2013/IMB-NBC.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2013/IMB-NBC.vcxproj deleted file mode 100644 index abddcfc..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2013/IMB-NBC.vcxproj +++ /dev/null @@ -1,167 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA} - IMBNBC - Win32Proj - - - - Application - MultiByte - true - v120 - - - Application - MultiByte - v120 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;NBC;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - false - - - Level1 - ProgramDatabase - %(ForcedIncludeFiles) - - - impi.lib;%(AdditionalDependencies) - true - Console - - - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;NBC;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2013/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2013/resource.h deleted file mode 100644 index 5f3d32a..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2013/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-NBC.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2015/IMB-NBC.rc b/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2015/IMB-NBC.rc deleted file mode 100644 index b7aa41a..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2015/IMB-NBC.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-NBC" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-NBC.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2015/IMB-NBC.sln b/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2015/IMB-NBC.sln deleted file mode 100644 index d535d62..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2015/IMB-NBC.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-NBC", "IMB-NBC.vcxproj", "{4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Debug|x64.ActiveCfg = Debug|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Debug|x64.Build.0 = Debug|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Release|x64.ActiveCfg = Release|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2015/IMB-NBC.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2015/IMB-NBC.vcxproj deleted file mode 100644 index b8cba0b..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2015/IMB-NBC.vcxproj +++ /dev/null @@ -1,167 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA} - IMBNBC - Win32Proj - - - - Application - MultiByte - true - v140 - - - Application - MultiByte - v140 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;NBC;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - false - - - Level1 - ProgramDatabase - %(ForcedIncludeFiles) - - - impi.lib;%(AdditionalDependencies) - true - Console - - - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;NBC;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2015/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2015/resource.h deleted file mode 100644 index 5f3d32a..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2015/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-NBC.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2017/IMB-NBC.rc b/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2017/IMB-NBC.rc index b7aa41a..b1c1881 100644 --- a/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2017/IMB-NBC.rc +++ b/MpiApps/apps/imb/WINDOWS/IMB-NBC_VS_2017/IMB-NBC.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-NBC" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-NBC.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2013/IMB-P2P.rc b/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2013/IMB-P2P.rc deleted file mode 100644 index fa1d5a2..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2013/IMB-P2P.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-P2P" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-P2P.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2013/IMB-P2P.sln b/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2013/IMB-P2P.sln deleted file mode 100644 index 29055e7..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2013/IMB-P2P.sln +++ /dev/null @@ -1,19 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-P2P", "IMB-P2P.vcxproj", "{72B11209-BF5B-4AF0-B38D-744C2FD082C3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Debug|x64.ActiveCfg = Debug|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Debug|x64.Build.0 = Debug|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Release|x64.ActiveCfg = Release|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2013/IMB-P2P.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2013/IMB-P2P.vcxproj deleted file mode 100644 index 1ed93ef..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2013/IMB-P2P.vcxproj +++ /dev/null @@ -1,125 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {72B11209-BF5B-4AF0-B38D-744C2FD082C3} - IMBP2P - Win32Proj - - - - Application - MultiByte - true - v120 - - - Application - MultiByte - v120 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;$(ProjectDir)\..\..\src_c\P2P;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;P2P;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_cpp\helpers;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_c\P2P;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;P2P;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2013/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2013/resource.h deleted file mode 100644 index f0424b4..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2013/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-P2P.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2015/IMB-P2P.rc b/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2015/IMB-P2P.rc deleted file mode 100644 index fa1d5a2..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2015/IMB-P2P.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-P2P" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-P2P.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2015/IMB-P2P.sln b/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2015/IMB-P2P.sln deleted file mode 100644 index 29055e7..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2015/IMB-P2P.sln +++ /dev/null @@ -1,19 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-P2P", "IMB-P2P.vcxproj", "{72B11209-BF5B-4AF0-B38D-744C2FD082C3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Debug|x64.ActiveCfg = Debug|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Debug|x64.Build.0 = Debug|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Release|x64.ActiveCfg = Release|x64 - {72B11209-BF5B-4AF0-B38D-744C2FD082C3}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2015/IMB-P2P.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2015/IMB-P2P.vcxproj deleted file mode 100644 index 8dd9f26..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2015/IMB-P2P.vcxproj +++ /dev/null @@ -1,125 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {72B11209-BF5B-4AF0-B38D-744C2FD082C3} - IMBP2P - Win32Proj - - - - Application - MultiByte - true - v140 - - - Application - MultiByte - v140 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;$(ProjectDir)\..\..\src_c\P2P;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;P2P;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_cpp\helpers;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_c\P2P;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;P2P;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2015/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2015/resource.h deleted file mode 100644 index f0424b4..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2015/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-P2P.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2017/IMB-P2P.rc b/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2017/IMB-P2P.rc index 36295e8..49f4943 100644 --- a/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2017/IMB-P2P.rc +++ b/MpiApps/apps/imb/WINDOWS/IMB-P2P_VS_2017/IMB-P2P.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-P2P" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-P2P.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2013/IMB-RMA.rc b/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2013/IMB-RMA.rc deleted file mode 100644 index 1d65481..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2013/IMB-RMA.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-RMA" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-RMA.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2013/IMB-RMA.sln b/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2013/IMB-RMA.sln deleted file mode 100644 index ded4621..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2013/IMB-RMA.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-RMA", "IMB-RMA.vcxproj", "{4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Debug|x64.ActiveCfg = Debug|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Debug|x64.Build.0 = Debug|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Release|x64.ActiveCfg = Release|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2013/IMB-RMA.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2013/IMB-RMA.vcxproj deleted file mode 100644 index 0652daf..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2013/IMB-RMA.vcxproj +++ /dev/null @@ -1,157 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA} - IMBRMA - Win32Proj - - - - Application - MultiByte - true - v120 - - - Application - MultiByte - v120 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;RMA;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - false - - - Level1 - ProgramDatabase - %(ForcedIncludeFiles) - - - impi.lib;%(AdditionalDependencies) - true - Console - - - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_c;$(ProjectDir)\..\..\src_cpp\helpers;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;RMA;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2013/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2013/resource.h deleted file mode 100644 index 33daf1c..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2013/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-EXT.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2015/IMB-RMA.rc b/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2015/IMB-RMA.rc deleted file mode 100644 index 1d65481..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2015/IMB-RMA.rc +++ /dev/null @@ -1,102 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation" - VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" - VALUE "InternalName", "IMB-RMA" - VALUE "LegalCopyright", "Copyright Intel Corporation." - VALUE "OriginalFilename", "IMB-RMA.exe" - VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2015/IMB-RMA.sln b/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2015/IMB-RMA.sln deleted file mode 100644 index ded4621..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2015/IMB-RMA.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IMB-RMA", "IMB-RMA.vcxproj", "{4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Debug|x64.ActiveCfg = Debug|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Debug|x64.Build.0 = Debug|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Release|x64.ActiveCfg = Release|x64 - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2015/IMB-RMA.vcxproj b/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2015/IMB-RMA.vcxproj deleted file mode 100644 index 78e1376..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2015/IMB-RMA.vcxproj +++ /dev/null @@ -1,155 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {4219D5A9-6972-4B1C-9F07-EB97EEF4EDDA} - IMBRMA - Win32Proj - - - - Application - MultiByte - true - v140 - - - Application - MultiByte - v140 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - - - - X64 - - - Disabled - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_cpp\helpers;$(ProjectDir)\..\..\src_c;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;RMA;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - - - MachineX64 - %I_MPI_ROOT%\intel64\lib\debug;%I_MPI_ROOT%\lib\debug - - - - - X64 - - - MaxSpeed - true - %I_MPI_ROOT%\intel64\include;%I_MPI_ROOT%\include;$(ProjectDir)\..\..\src_cpp;$(ProjectDir)\..\..\src_cpp\helpers;$(ProjectDir)\..\..\src_c;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;WIN_IMB;_CRT_SECURE_NO_DEPRECATE;RMA;%(PreprocessorDefinitions) - MultiThreaded - true - - - Level1 - ProgramDatabase - - - impi.lib;%(AdditionalDependencies) - true - Console - true - true - MachineX64 - %I_MPI_ROOT%\intel64\lib\release;%I_MPI_ROOT%\lib\release - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2015/resource.h b/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2015/resource.h deleted file mode 100644 index 33daf1c..0000000 --- a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2015/resource.h +++ /dev/null @@ -1,14 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by IMB-EXT.rc - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2017/IMB-RMA.rc b/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2017/IMB-RMA.rc index 1d65481..6358bc2 100644 --- a/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2017/IMB-RMA.rc +++ b/MpiApps/apps/imb/WINDOWS/IMB-RMA_VS_2017/IMB-RMA.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,3,0,0 - PRODUCTVERSION 2021,3,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.3" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-RMA" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-RMA.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.3" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/MpiApps/apps/imb/WINDOWS/mkvsprojs.sh b/MpiApps/apps/imb/WINDOWS/mkvsprojs.sh index 00a1767..4ddda8a 100644 --- a/MpiApps/apps/imb/WINDOWS/mkvsprojs.sh +++ b/MpiApps/apps/imb/WINDOWS/mkvsprojs.sh @@ -2,22 +2,12 @@ #IMB-EXT_VS PROJ=$1 -if [ ! -d ${PROJ}_2013 ]; then echo "ERROR"; exit 1; fi -if [ -d ${PROJ}_2015 ]; then rm -rf ${PROJ}_2015; fi if [ -d ${PROJ}_2017 ]; then rm -rf ${PROJ}_2017; fi -cp -r ${PROJ}_2013 ${PROJ}_2015 cp -r ${PROJ}_2013 ${PROJ}_2017 -VCXPROJ=${PROJ}_2013/*.vcxproj -if [ ! -f $VCXPROJ ]; then echo "ERROR"; exit 1; fi - -VCXPROJ_2015=${PROJ}_2015/*.vcxproj VCXPROJ_2017=${PROJ}_2017/*.vcxproj -sed -i 's!ToolsVersion="12.0"!ToolsVersion="14.0"!' $VCXPROJ_2015 -sed -i 's!Toolset>v120v140Win32Proj!Win32Proj\n 10.0.15063.0!' $VCXPROJ_2017 sed -i 's!Toolset>v120v141 + +#include "IMB_declare.h" +#include "IMB_benchmark.h" +#include "IMB_cuda_api.h" + +static unsigned num_devices = 0; + +#define CUDA_CHKERR_EXPL_FINALLY(f, fin, a) { cudaError_t _cuda_chkerr_err; \ + if ((_cuda_chkerr_err=(f), (fin), _cuda_chkerr_err) != cudaSuccess) { \ + fprintf(stderr, "ERROR: 0x%x returned from %s\n", _cuda_chkerr_err, #f); \ + a; \ + } \ +} +#define CUDA_CHKERR_EXPL(f, a) CUDA_CHKERR_EXPL_FINALLY(f, 0, a) +#define CUDA_CHKERR_FINALLY(f, fin) CUDA_CHKERR_EXPL_FINALLY(f, fin, goto f_err) +#define CUDA_CHKERR(f) CUDA_CHKERR_EXPL(f, goto f_err) +#define CUDA_CHKERR_DO_NOT_FAIL(f) CUDA_CHKERR_EXPL_FINALLY(f, 0, (void)0) + +#define NZ_CHKERR_EXPL(f, a) if ((f) == 0) { \ + fprintf(stderr, "ERROR: %s failed\n", #f); \ + a; \ +} +#define NZ_CHKERR(f) NZ_CHKERR_EXPL(f, goto f_err) + +#define C_CHKERR_EXPL(f, a) if ((f) != 0) { \ + fprintf(stderr, "ERROR: %s failed\n", #f); \ + a; \ +} +#define C_CHKERR(f) C_CHKERR_EXPL(f, goto f_err) + +extern cudaStream_t cuda_stream; + +int cuda_initialize(char *dll_name); +void *cuda_alloc(size_t size, char *where, MEM_ALLOC_TYPE mem_alloc_type); +void cuda_free(void **B, MEM_ALLOC_TYPE mem_alloc_type); +void cuda_ass_buf(void *buf, int rank, size_t pos1, size_t pos2, int value); +int cuda_memcpy(void *dst, const void *src, size_t sz); + +#endif diff --git a/MpiApps/apps/imb/src_c/IMB_cuda_api.c b/MpiApps/apps/imb/src_c/IMB_cuda_api.c new file mode 100644 index 0000000..3da4c4f --- /dev/null +++ b/MpiApps/apps/imb/src_c/IMB_cuda_api.c @@ -0,0 +1,101 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ +#ifdef GPU_ENABLE +#include "IMB_cuda_api.h" + +cuda_functable_t cuda_proxy = { + NULL, +}; + +static const char *fn_names[] = { + "cudaMalloc", + "cudaMallocHost", + "cudaMallocManaged", + "cudaFree", + "cudaFreeHost", + "cudaMemcpyAsync", + "cudaGetDeviceCount", + "cudaStreamCreate", + "cudaStreamDestroy", + "cudaStreamSynchronize", +}; + +#define CUDA_FUNCTABLE_COUNT (sizeof(cuda_proxy) / sizeof(void *)) + +void cuda_init_functable_dll(const char *dll_name) +{ + void **sym_ptr = (void **)&cuda_proxy; + + void *handle = dlopen(dll_name, RTLD_LAZY | RTLD_GLOBAL); + + char *dl_error = dlerror(); + + if (dl_error) + { + printf("%s\n", dl_error); + exit(1); + } + + size_t i; + + for (i = 0; i < CUDA_FUNCTABLE_COUNT; i++) + { + sym_ptr[i] = dlsym(handle, fn_names[i]); + + dl_error = dlerror(); + + if (dl_error) + { + printf("%s\n", dl_error); + exit(1); + } + + if (sym_ptr[i] == NULL) + { + printf("Symbol %s is not available!\n", fn_names[i]); + exit(1); + } + } +} + +#endif // GPU_ENABLE diff --git a/MpiApps/apps/imb/src_c/IMB_cuda_api.h b/MpiApps/apps/imb/src_c/IMB_cuda_api.h new file mode 100644 index 0000000..1a96ad3 --- /dev/null +++ b/MpiApps/apps/imb/src_c/IMB_cuda_api.h @@ -0,0 +1,80 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ +#ifndef CUDA_API_H +#define CUDA_API_H + +#include "cuda_runtime_api.h" +#include "driver_types.h" +#include + +/* *INDENT-OFF* */ +/* The current function names are from CUDA 12.0 */ +typedef struct cuda_functable_t { + cudaError_t (*cudaMalloc)(void **, size_t); + cudaError_t (*cudaMallocHost)(void **, size_t); + cudaError_t (*cudaMallocManaged)(void **, size_t, unsigned int); + typeof(cudaFree) *cudaFree; + typeof(cudaFreeHost) *cudaFreeHost; + typeof(cudaMemcpyAsync) *cudaMemcpyAsync; + typeof(cudaGetDeviceCount) *cudaGetDeviceCount; + typeof(cudaStreamCreate) *cudaStreamCreate; + typeof(cudaStreamDestroy) *cudaStreamDestroy; + typeof(cudaStreamSynchronize) *cudaStreamSynchronize; +} cuda_functable_t; + +extern cuda_functable_t cuda_proxy; + +#define cudaMalloc cuda_proxy.cudaMalloc +#define cudaMallocHost cuda_proxy.cudaMallocHost +#define cudaMallocManaged cuda_proxy.cudaMallocManaged +#define cudaFree cuda_proxy.cudaFree +#define cudaFreeHost cuda_proxy.cudaFreeHost +#define cudaMemcpyAsync cuda_proxy.cudaMemcpyAsync +#define cudaGetDeviceCount cuda_proxy.cudaGetDeviceCount +#define cudaStreamCreate cuda_proxy.cudaStreamCreate +#define cudaStreamDestroy cuda_proxy.cudaStreamDestroy +#define cudaStreamSynchronize cuda_proxy.cudaStreamSynchronize + +void cuda_init_functable_dll(const char *dll_name); + +#endif /* CUDA_API_H */ diff --git a/MpiApps/apps/imb/src_c/IMB_declare.c b/MpiApps/apps/imb/src_c/IMB_declare.c index 08c1be1..46d23f0 100644 --- a/MpiApps/apps/imb/src_c/IMB_declare.c +++ b/MpiApps/apps/imb/src_c/IMB_declare.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_declare.h b/MpiApps/apps/imb/src_c/IMB_declare.h index 1ece4b1..a0f84e5 100644 --- a/MpiApps/apps/imb/src_c/IMB_declare.h +++ b/MpiApps/apps/imb/src_c/IMB_declare.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_err_check.h b/MpiApps/apps/imb/src_c/IMB_err_check.h index 952da17..5622616 100644 --- a/MpiApps/apps/imb/src_c/IMB_err_check.h +++ b/MpiApps/apps/imb/src_c/IMB_err_check.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_err_handler.c b/MpiApps/apps/imb/src_c/IMB_err_handler.c index 5630f95..dedbec8 100644 --- a/MpiApps/apps/imb/src_c/IMB_err_handler.c +++ b/MpiApps/apps/imb/src_c/IMB_err_handler.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_exchange.c b/MpiApps/apps/imb/src_c/IMB_exchange.c index 457bba5..8fcccad 100644 --- a/MpiApps/apps/imb/src_c/IMB_exchange.c +++ b/MpiApps/apps/imb/src_c/IMB_exchange.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_g_info.c b/MpiApps/apps/imb/src_c/IMB_g_info.c index dd11ff8..671a120 100644 --- a/MpiApps/apps/imb/src_c/IMB_g_info.c +++ b/MpiApps/apps/imb/src_c/IMB_g_info.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** @@ -72,7 +55,7 @@ For more documentation than found here, see #ifdef IMB2018 char* VERSION="2018"; #else -char* VERSION="2021.3"; +char* VERSION="2021.7"; #endif #include @@ -104,7 +87,7 @@ void IMB_general_info() { #ifdef MPI1 #ifdef GPU_ENABLE - fprintf(unit, "# Intel(R) MPI Benchmarks %s Technical Preview, MPI-1 part (GPU)\n", VERSION); + fprintf(unit, "# Intel(R) MPI Benchmarks %s, MPI-1 part (GPU)\n", VERSION); #else fprintf(unit, "# Intel(R) MPI Benchmarks %s, MPI-1 part\n", VERSION); #endif //GPU_ENABLE diff --git a/MpiApps/apps/imb/src_c/IMB_gather.c b/MpiApps/apps/imb/src_c/IMB_gather.c index 5e60063..795fb2f 100644 --- a/MpiApps/apps/imb/src_c/IMB_gather.c +++ b/MpiApps/apps/imb/src_c/IMB_gather.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_gatherv.c b/MpiApps/apps/imb/src_c/IMB_gatherv.c index 6f5ae8b..f71f49c 100644 --- a/MpiApps/apps/imb/src_c/IMB_gatherv.c +++ b/MpiApps/apps/imb/src_c/IMB_gatherv.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_gpu_common.c b/MpiApps/apps/imb/src_c/IMB_gpu_common.c new file mode 100644 index 0000000..593df13 --- /dev/null +++ b/MpiApps/apps/imb/src_c/IMB_gpu_common.c @@ -0,0 +1,84 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ +#ifdef GPU_ENABLE +#include "IMB_gpu_common.h" + +gpu_backend IMB_gpu_backend; + +void gpu_initialize() +{ + char dll_name_cuda[] = "libcudart.so"; + + char dll_name_ze[] = "libze_loader.so.1"; + + if (dlopen(dll_name_cuda, RTLD_LAZY | RTLD_GLOBAL)) { +#ifdef CUDA_INCLUDE_DIR + cuda_initialize(dll_name_cuda); + IMB_gpu_backend.IMB_gpu_backend_type = GPU_BACKEND_CUDA; + IMB_gpu_backend.IMB_gpu_alloc = cuda_alloc; + IMB_gpu_backend.IMB_gpu_free = cuda_free; + IMB_gpu_backend.IMB_gpu_ass_buf = cuda_ass_buf; + IMB_gpu_backend.IMB_gpu_memcpy = cuda_memcpy; +#endif + } else { + if (dlopen(dll_name_ze, RTLD_LAZY | RTLD_GLOBAL)) { +#ifdef ZE_INCLUDE_DIR + ze_initialize(dll_name_ze); + IMB_gpu_backend.IMB_gpu_backend_type = GPU_BACKEND_ZE; + IMB_gpu_backend.IMB_gpu_alloc = ze_alloc; + IMB_gpu_backend.IMB_gpu_free = ze_free; + IMB_gpu_backend.IMB_gpu_ass_buf = ze_ass_buf; + IMB_gpu_backend.IMB_gpu_memcpy = ze_memcpy; +#endif + } else { + fprintf(stderr,"Neither CUDA nor Level Zero is available! \nPlease put path to gpu library in LD_LIBRARY_PATH\n"); + exit(1); + } + } +} + +int gpu_memcpy(void *dst, const void *src, size_t sz) +{ + return IMB_gpu_backend.IMB_gpu_memcpy(dst, src, sz); +} +#endif //GPU_ENABLE diff --git a/MpiApps/apps/imb/src_c/IMB_gpu_common.h b/MpiApps/apps/imb/src_c/IMB_gpu_common.h new file mode 100644 index 0000000..a9d2eec --- /dev/null +++ b/MpiApps/apps/imb/src_c/IMB_gpu_common.h @@ -0,0 +1,76 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ +#ifndef IMB_GPU_COMMON_H +#define IMB_GPU_COMMON_H + +#include +#include +#include +#include "IMB_comm_info.h" +#ifdef ZE_INCLUDE_DIR +#include "IMB_ze.h" +#endif +#ifdef CUDA_INCLUDE_DIR +#include "IMB_cuda.h" +#endif + +typedef enum gpu_backend_type_t { + GPU_BACKEND_ZE = 0, + GPU_BACKEND_CUDA, +} gpu_backend_type_t; + +typedef struct gpu_backend { + gpu_backend_type_t IMB_gpu_backend_type; + void* (*IMB_gpu_alloc) (size_t, char*, MEM_ALLOC_TYPE); + void (*IMB_gpu_free) (void**,MEM_ALLOC_TYPE); + void (*IMB_gpu_ass_buf) (void*, int, size_t, size_t, int); + int (*IMB_gpu_memcpy) (void*, const void*, size_t); +} gpu_backend; + +extern gpu_backend IMB_gpu_backend; + +void gpu_initialize(); + +int gpu_memcpy(void *dst, const void *src, size_t sz); + +#endif //IMB_GPU_COMMON_H diff --git a/MpiApps/apps/imb/src_c/IMB_init.c b/MpiApps/apps/imb/src_c/IMB_init.c index 90a3969..222927e 100644 --- a/MpiApps/apps/imb/src_c/IMB_init.c +++ b/MpiApps/apps/imb/src_c/IMB_init.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_init_file.c b/MpiApps/apps/imb/src_c/IMB_init_file.c index 710bd26..d6de597 100644 --- a/MpiApps/apps/imb/src_c/IMB_init_file.c +++ b/MpiApps/apps/imb/src_c/IMB_init_file.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_init_transfer.c b/MpiApps/apps/imb/src_c/IMB_init_transfer.c index a7c4445..de7582b 100644 --- a/MpiApps/apps/imb/src_c/IMB_init_transfer.c +++ b/MpiApps/apps/imb/src_c/IMB_init_transfer.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_input.txt b/MpiApps/apps/imb/src_c/IMB_input.txt index fef0a8b..9b7da7f 100644 --- a/MpiApps/apps/imb/src_c/IMB_input.txt +++ b/MpiApps/apps/imb/src_c/IMB_input.txt @@ -1,3 +1,3 @@ pingping pingpong -Allgather +allgather diff --git a/MpiApps/apps/imb/src_c/IMB_l0.c b/MpiApps/apps/imb/src_c/IMB_l0.c deleted file mode 100644 index 4ce929e..0000000 --- a/MpiApps/apps/imb/src_c/IMB_l0.c +++ /dev/null @@ -1,225 +0,0 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** - -For more documentation than found here, see - -[1] doc/ReadMe_IMB.txt - -[2] Intel(R) MPI Benchmarks - Users Guide and Methodology Description - In - doc/IMB_Users_Guide.pdf - - ***************************************************************************/ -#ifdef GPU_ENABLE -#include -#include - -#include "IMB_declare.h" -#include "IMB_benchmark.h" -#include "IMB_prototypes.h" - -#include "IMB_l0.h" - -#define ZE_NULL_HANDLE NULL /* just for verbosity */ - -#define ZE_CHKERR_EXPL_FINALLY(f, fin, a) { ze_result_t _ze_chkerr_err; \ - if ((_ze_chkerr_err=(f), (fin), _ze_chkerr_err) != ZE_RESULT_SUCCESS) { \ - fprintf(stderr, "ERROR: 0x%x returned from %s\n", _ze_chkerr_err, #f); \ - a; \ - } \ -} -#define ZE_CHKERR_EXPL(f, a) ZE_CHKERR_EXPL_FINALLY(f, 0, a) -#define ZE_CHKERR_FINALLY(f, fin) ZE_CHKERR_EXPL_FINALLY(f, fin, goto f_err) -#define ZE_CHKERR(f) ZE_CHKERR_EXPL(f, goto f_err) -#define ZE_CHKERR_DO_NOT_FAIL(f) ZE_CHKERR_EXPL_FINALLY(f, 0, (void)0) - -#define C_CHKERR_EXPL(f, a) if ((f) != 0) { \ - fprintf(stderr, "ERROR: %s failed\n", #f); \ - a; \ -} -#define C_CHKERR(f) C_CHKERR_EXPL(f, goto f_err) - -static ze_context_handle_t l0_context = ZE_NULL_HANDLE; -static ze_driver_handle_t l0_driver = ZE_NULL_HANDLE; -static ze_device_handle_t l0_device = ZE_NULL_HANDLE; -static ze_command_queue_handle_t l0_cq = ZE_NULL_HANDLE; -static ze_command_list_handle_t l0_cl = ZE_NULL_HANDLE; - -static int l0_initialize(void) -{ - ZE_CHKERR(zeInit(0)); - - uint32_t ze_driver_count = 1, ze_device_count = 1; - ZE_CHKERR(zeDriverGet(&ze_driver_count, &l0_driver)); - ZE_CHKERR(zeDeviceGet(l0_driver, &ze_device_count, &l0_device)); - - ze_context_desc_t ctxtDesc = { ZE_STRUCTURE_TYPE_CONTEXT_DESC, NULL, 0 }; - ZE_CHKERR(zeContextCreate(l0_driver, &ctxtDesc, &l0_context)); - - ze_command_queue_desc_t l0_cq_desc = { - .flags = 0, - .mode = ZE_COMMAND_QUEUE_MODE_DEFAULT, - .priority = ZE_COMMAND_QUEUE_PRIORITY_NORMAL, - .ordinal = 0 /* this must be less than device_properties.numAsyncComputeEngines */ - }; - ZE_CHKERR(zeCommandQueueCreate(l0_context, l0_device, &l0_cq_desc, &l0_cq)); - - ze_command_list_desc_t l0_cl_desc = { .flags = 0 }; - ZE_CHKERR(zeCommandListCreate(l0_context, l0_device, &l0_cl_desc, &l0_cl)); - return 0; -f_err: - return 1; -} - -static int l0_memcpy(void *dst, const void *src, size_t sz) -{ - ZE_CHKERR(zeCommandListAppendMemoryCopy(l0_cl, dst, src, sz, ZE_NULL_HANDLE, 0, ZE_NULL_HANDLE)); - ZE_CHKERR(zeCommandListClose(l0_cl)); - ZE_CHKERR(zeCommandQueueExecuteCommandLists(l0_cq, 1, &l0_cl, ZE_NULL_HANDLE)); - ZE_CHKERR(zeCommandQueueSynchronize(l0_cq, UINT32_MAX)); - ZE_CHKERR(zeCommandListReset(l0_cl)); - return 0; -f_err: - return 1; -} - -void *IMB_l0_alloc(size_t size, char *where, MEM_ALLOC_TYPE mem_alloc_type) -{ - if (!l0_driver) { - C_CHKERR(l0_initialize()); - } - void *buf; - switch (mem_alloc_type) { - case MAT_DEVICE: - { - ze_device_mem_alloc_desc_t l0_device_mem_desc = { - .flags = 0, - .ordinal = 0 /* this must be less than count of zeDeviceGetMemoryProperties */ - }; - ZE_CHKERR(zeMemAllocDevice(l0_context, &l0_device_mem_desc, size, IMB_L0_MEM_ALIGNMENT, l0_device, &buf)); - break; - } - case MAT_HOST: - { - ze_host_mem_alloc_desc_t l0_host_mem_desc = { - .flags = 0, - }; - ZE_CHKERR(zeMemAllocHost(l0_context, &l0_host_mem_desc, size, IMB_L0_MEM_ALIGNMENT, &buf)); - break; - } - case MAT_SHARED: - { - ze_device_mem_alloc_desc_t l0_device_mem_desc = { - .flags = 0, - .ordinal = 0 /* this must be less than count of zeDeviceGetMemoryProperties */ - }; - ze_host_mem_alloc_desc_t l0_host_mem_desc = { - .flags = 0, - }; - ZE_CHKERR(zeMemAllocShared(l0_context, &l0_device_mem_desc, &l0_host_mem_desc, size, IMB_L0_MEM_ALIGNMENT, l0_device, &buf)); - break; - } - default: - { - printf("Error: Unknown buf type\n"); - exit(1); - } - } - - return buf; -f_err: - return NULL; -} - - -void IMB_l0_ass_buf(void *buf, int rank, size_t pos1, size_t pos2, int value) -{ -/* - - Assigns values to a buffer - -Input variables: - --rank (type int) - Rank of calling process - --pos1 (type int) --pos2 (type int) - Assignment between byte positions pos1, pos2 - --value (type int) - 1/0 for non-zero (defined in IMB_settings.h)/ zero value - -In/out variables: - --buf (type void*) - Values assigned within given positions -*/ - if (pos2 <= pos1) - return; - - static const int asize = (int) sizeof(assign_type); - - char *tmp_buf = malloc(pos2 + 1 - pos1); - l0_memcpy(tmp_buf, buf + pos1, pos2 - pos1); - IMB_ass_buf(tmp_buf, rank, pos1, pos2, value); - l0_memcpy(buf + pos1, tmp_buf, pos2 - pos1); - free(tmp_buf); -} - -void IMB_l0_free(void **B) -{ - if (B && *B) { - ZE_CHKERR_DO_NOT_FAIL(zeMemFree(l0_context, *B)); - *B = NULL; - } -} - -#endif //GPU_ENABLE diff --git a/MpiApps/apps/imb/src_c/IMB_l0.h b/MpiApps/apps/imb/src_c/IMB_l0.h deleted file mode 100644 index 5008963..0000000 --- a/MpiApps/apps/imb/src_c/IMB_l0.h +++ /dev/null @@ -1,75 +0,0 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** - -For more documentation than found here, see - -[1] doc/ReadMe_IMB.txt - -[2] Intel(R) MPI Benchmarks - Users Guide and Methodology Description - In - doc/IMB_Users_Guide.pdf - - ***************************************************************************/ - - - -#ifndef __l0_h__ -#define __l0_h__ - - -#include - -#define IMB_L0_MEM_ALIGNMENT 64 - -void *IMB_l0_alloc(size_t size, char *where, MEM_ALLOC_TYPE mem_alloc_type); -void IMB_l0_free(void **B); -void IMB_l0_ass_buf(void *buf, int rank, size_t pos1, size_t pos2, int value); - -#endif diff --git a/MpiApps/apps/imb/src_c/IMB_mem_info.h b/MpiApps/apps/imb/src_c/IMB_mem_info.h index b9612dd..f8d92ad 100644 --- a/MpiApps/apps/imb/src_c/IMB_mem_info.h +++ b/MpiApps/apps/imb/src_c/IMB_mem_info.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_mem_manager.c b/MpiApps/apps/imb/src_c/IMB_mem_manager.c index 81e2612..bd3a170 100644 --- a/MpiApps/apps/imb/src_c/IMB_mem_manager.c +++ b/MpiApps/apps/imb/src_c/IMB_mem_manager.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** @@ -78,50 +61,46 @@ For more documentation than found here, see ***************************************************************************/ - - #include "IMB_declare.h" #include "IMB_benchmark.h" #include "IMB_prototypes.h" + #include /* for INT_MAX declaration*/ #include - #if defined(GPU_ENABLE) && defined(MPI1) -#include "IMB_l0.h" - +#include "IMB_gpu_common.h" #define IMB_ALLOC(buff, size, where) \ do { \ if (c_info->mem_alloc_type != MAT_CPU) { \ - buff = IMB_l0_alloc(size, where, c_info->mem_alloc_type); \ + buff = IMB_gpu_backend.IMB_gpu_alloc(size, where, c_info->mem_alloc_type);\ } \ else { \ buff = IMB_v_alloc(size, where); \ } \ } while (0); -#define IMB_FREE(buff) \ - do { \ - if (c_info->mem_alloc_type != MAT_CPU) { \ - IMB_l0_free(buff); \ - } \ - else { \ - IMB_v_free(buff); \ - } \ +#define IMB_FREE(buff) \ + do { \ + if (c_info->mem_alloc_type != MAT_CPU) { \ + IMB_gpu_backend.IMB_gpu_free(buff, c_info->mem_alloc_type);\ + } \ + else { \ + IMB_v_free(buff); \ + } \ } while (0); #define IMB_ASSIGN(buf, rank, pos1, pos2, value) \ do { \ if (c_info->mem_alloc_type != MAT_CPU) { \ - IMB_l0_ass_buf(buf, rank, pos1, pos2, value); \ + IMB_gpu_backend.IMB_gpu_ass_buf(buf, rank, pos1, pos2, value);\ } \ else { \ IMB_ass_buf(buf, rank, pos1, pos2, value); \ } \ } while (0); - #else // !GPU_ENABLE or !MPI1 #define IMB_ALLOC(buff, size, where) \ do { \ @@ -645,25 +624,10 @@ In/out variables: /* the displ is declared as int by MPI1 standard If c_info->num_procs*init_size exceed INT_MAX value there is no way to run this sample */ - if ( -#ifdef MPI1 - !strcmp(Bmark->name, "Alltoallv") || - !strcmp(Bmark->name, "Allgatherv") || - !strcmp(Bmark->name, "Scatterv") || - !strcmp(Bmark->name, "Gatherv") -#elif defined NBC // MPI1 - !strcmp(Bmark->name, "Ialltoallv") || !strcmp(Bmark->name, "Ialltoallv_pure") || - !strcmp(Bmark->name, "Iallgatherv") || !strcmp(Bmark->name, "Iallgatherv_pure") || - !strcmp(Bmark->name, "Iscatterv") || !strcmp(Bmark->name, "Iscatterv_pure") || - !strcmp(Bmark->name, "Igatherv") || !strcmp(Bmark->name, "Igatherv_pure") -#else // NBC // MPI1 - 0 -#endif // NBC // MPI1 - ) { - if (s_len > INT_MAX || r_len > INT_MAX) { - Bmark->sample_failure = SAMPLE_FAILED_INT_OVERFLOW; - return; - } + + if (s_len > INT_MAX || r_len > INT_MAX) { + Bmark->sample_failure = SAMPLE_FAILED_INT_OVERFLOW; + return; } /*===============================================*/ @@ -984,4 +948,3 @@ In/out variables: } } - diff --git a/MpiApps/apps/imb/src_c/IMB_ones_accu.c b/MpiApps/apps/imb/src_c/IMB_ones_accu.c index 7af3fda..3f3c362 100644 --- a/MpiApps/apps/imb/src_c/IMB_ones_accu.c +++ b/MpiApps/apps/imb/src_c/IMB_ones_accu.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_ones_bidir.c b/MpiApps/apps/imb/src_c/IMB_ones_bidir.c index 922bfa5..9087821 100644 --- a/MpiApps/apps/imb/src_c/IMB_ones_bidir.c +++ b/MpiApps/apps/imb/src_c/IMB_ones_bidir.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_ones_unidir.c b/MpiApps/apps/imb/src_c/IMB_ones_unidir.c index 1850a62..4bbf8ce 100644 --- a/MpiApps/apps/imb/src_c/IMB_ones_unidir.c +++ b/MpiApps/apps/imb/src_c/IMB_ones_unidir.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_open_close.c b/MpiApps/apps/imb/src_c/IMB_open_close.c index 92a550f..14a2f2e 100644 --- a/MpiApps/apps/imb/src_c/IMB_open_close.c +++ b/MpiApps/apps/imb/src_c/IMB_open_close.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_output.c b/MpiApps/apps/imb/src_c/IMB_output.c index cff5fd8..93f95b4 100644 --- a/MpiApps/apps/imb/src_c/IMB_output.c +++ b/MpiApps/apps/imb/src_c/IMB_output.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_parse_name_ext.c b/MpiApps/apps/imb/src_c/IMB_parse_name_ext.c index 50a9431..8585ef3 100644 --- a/MpiApps/apps/imb/src_c/IMB_parse_name_ext.c +++ b/MpiApps/apps/imb/src_c/IMB_parse_name_ext.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_parse_name_io.c b/MpiApps/apps/imb/src_c/IMB_parse_name_io.c index d97b053..1cd21e0 100644 --- a/MpiApps/apps/imb/src_c/IMB_parse_name_io.c +++ b/MpiApps/apps/imb/src_c/IMB_parse_name_io.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_parse_name_mpi1.c b/MpiApps/apps/imb/src_c/IMB_parse_name_mpi1.c index adea615..110c1a1 100644 --- a/MpiApps/apps/imb/src_c/IMB_parse_name_mpi1.c +++ b/MpiApps/apps/imb/src_c/IMB_parse_name_mpi1.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_parse_name_nbc.c b/MpiApps/apps/imb/src_c/IMB_parse_name_nbc.c index 84a3c46..bc9acfa 100644 --- a/MpiApps/apps/imb/src_c/IMB_parse_name_nbc.c +++ b/MpiApps/apps/imb/src_c/IMB_parse_name_nbc.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_parse_name_rma.c b/MpiApps/apps/imb/src_c/IMB_parse_name_rma.c index b832f7d..542f05c 100644 --- a/MpiApps/apps/imb/src_c/IMB_parse_name_rma.c +++ b/MpiApps/apps/imb/src_c/IMB_parse_name_rma.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_pingping.c b/MpiApps/apps/imb/src_c/IMB_pingping.c index 4e55670..255d4bc 100644 --- a/MpiApps/apps/imb/src_c/IMB_pingping.c +++ b/MpiApps/apps/imb/src_c/IMB_pingping.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_pingpong.c b/MpiApps/apps/imb/src_c/IMB_pingpong.c index 067e905..54de9ab 100644 --- a/MpiApps/apps/imb/src_c/IMB_pingpong.c +++ b/MpiApps/apps/imb/src_c/IMB_pingpong.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_prototypes.h b/MpiApps/apps/imb/src_c/IMB_prototypes.h index 4e48fc8..5b35b25 100644 --- a/MpiApps/apps/imb/src_c/IMB_prototypes.h +++ b/MpiApps/apps/imb/src_c/IMB_prototypes.h @@ -1,54 +1,36 @@ -#ifndef IMB_PROTOTYPES_H -#define IMB_PROTOTYPES_H - -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ +#ifndef IMB_PROTOTYPES_H +#define IMB_PROTOTYPES_H #include "IMB_benchmark.h" @@ -559,6 +541,10 @@ void* IMB_v_alloc(size_t Len, char* where); /*void IMB_i_alloc(int** B, size_t Len, char* where ); ==> define macro*/ +void gpu_initialize(); + +int gpu_memcpy(void *dst, const void *src, size_t sz); + void IMB_alloc_buf(struct comm_info* c_info, char* where, size_t s_len, size_t r_len); diff --git a/MpiApps/apps/imb/src_c/IMB_read.c b/MpiApps/apps/imb/src_c/IMB_read.c index 86370fd..46b1ee4 100644 --- a/MpiApps/apps/imb/src_c/IMB_read.c +++ b/MpiApps/apps/imb/src_c/IMB_read.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_reduce.c b/MpiApps/apps/imb/src_c/IMB_reduce.c index e8d8ebf..5cbdf37 100644 --- a/MpiApps/apps/imb/src_c/IMB_reduce.c +++ b/MpiApps/apps/imb/src_c/IMB_reduce.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_reduce_local.c b/MpiApps/apps/imb/src_c/IMB_reduce_local.c index 400ea68..1b43cd3 100644 --- a/MpiApps/apps/imb/src_c/IMB_reduce_local.c +++ b/MpiApps/apps/imb/src_c/IMB_reduce_local.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_reduce_scatter.c b/MpiApps/apps/imb/src_c/IMB_reduce_scatter.c index 89bac8a..62eef1b 100644 --- a/MpiApps/apps/imb/src_c/IMB_reduce_scatter.c +++ b/MpiApps/apps/imb/src_c/IMB_reduce_scatter.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_reduce_scatter_block.c b/MpiApps/apps/imb/src_c/IMB_reduce_scatter_block.c index 5c40565..61078c3 100644 --- a/MpiApps/apps/imb/src_c/IMB_reduce_scatter_block.c +++ b/MpiApps/apps/imb/src_c/IMB_reduce_scatter_block.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_rma_atomic.c b/MpiApps/apps/imb/src_c/IMB_rma_atomic.c index 6848962..ca8a679 100644 --- a/MpiApps/apps/imb/src_c/IMB_rma_atomic.c +++ b/MpiApps/apps/imb/src_c/IMB_rma_atomic.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_rma_get.c b/MpiApps/apps/imb/src_c/IMB_rma_get.c index 05d9e33..808f512 100644 --- a/MpiApps/apps/imb/src_c/IMB_rma_get.c +++ b/MpiApps/apps/imb/src_c/IMB_rma_get.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_rma_put.c b/MpiApps/apps/imb/src_c/IMB_rma_put.c index 1cfb7aa..2161abb 100644 --- a/MpiApps/apps/imb/src_c/IMB_rma_put.c +++ b/MpiApps/apps/imb/src_c/IMB_rma_put.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_scatter.c b/MpiApps/apps/imb/src_c/IMB_scatter.c index 5c765f5..cb2fefc 100644 --- a/MpiApps/apps/imb/src_c/IMB_scatter.c +++ b/MpiApps/apps/imb/src_c/IMB_scatter.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_scatterv.c b/MpiApps/apps/imb/src_c/IMB_scatterv.c index de4ef1d..13eeba4 100644 --- a/MpiApps/apps/imb/src_c/IMB_scatterv.c +++ b/MpiApps/apps/imb/src_c/IMB_scatterv.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_sendrecv.c b/MpiApps/apps/imb/src_c/IMB_sendrecv.c index 98e3f6f..268c26c 100644 --- a/MpiApps/apps/imb/src_c/IMB_sendrecv.c +++ b/MpiApps/apps/imb/src_c/IMB_sendrecv.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_settings.h b/MpiApps/apps/imb/src_c/IMB_settings.h index 66ec0b2..5b87213 100644 --- a/MpiApps/apps/imb/src_c/IMB_settings.h +++ b/MpiApps/apps/imb/src_c/IMB_settings.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_settings_io.h b/MpiApps/apps/imb/src_c/IMB_settings_io.h index 7920289..d1f7a5e 100644 --- a/MpiApps/apps/imb/src_c/IMB_settings_io.h +++ b/MpiApps/apps/imb/src_c/IMB_settings_io.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_strgs.c b/MpiApps/apps/imb/src_c/IMB_strgs.c index b41fbbd..9951b81 100644 --- a/MpiApps/apps/imb/src_c/IMB_strgs.c +++ b/MpiApps/apps/imb/src_c/IMB_strgs.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_user_set_info.c b/MpiApps/apps/imb/src_c/IMB_user_set_info.c index 1ad4a79..3dbc8f4 100644 --- a/MpiApps/apps/imb/src_c/IMB_user_set_info.c +++ b/MpiApps/apps/imb/src_c/IMB_user_set_info.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_utils.c b/MpiApps/apps/imb/src_c/IMB_utils.c index 86c5d69..98145a5 100644 --- a/MpiApps/apps/imb/src_c/IMB_utils.c +++ b/MpiApps/apps/imb/src_c/IMB_utils.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_warm_up.c b/MpiApps/apps/imb/src_c/IMB_warm_up.c index 50e1765..6faf5de 100644 --- a/MpiApps/apps/imb/src_c/IMB_warm_up.c +++ b/MpiApps/apps/imb/src_c/IMB_warm_up.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_window.c b/MpiApps/apps/imb/src_c/IMB_window.c index 4d077e8..7ea0d9d 100644 --- a/MpiApps/apps/imb/src_c/IMB_window.c +++ b/MpiApps/apps/imb/src_c/IMB_window.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_write.c b/MpiApps/apps/imb/src_c/IMB_write.c index 94d1f51..4eed6d7 100644 --- a/MpiApps/apps/imb/src_c/IMB_write.c +++ b/MpiApps/apps/imb/src_c/IMB_write.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright 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. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/IMB_ze.c b/MpiApps/apps/imb/src_c/IMB_ze.c new file mode 100644 index 0000000..9af7b8f --- /dev/null +++ b/MpiApps/apps/imb/src_c/IMB_ze.c @@ -0,0 +1,184 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ + +#ifdef GPU_ENABLE +#include "IMB_ze.h" + +static ze_context_handle_t l0_context = ZE_NULL_HANDLE; +static ze_driver_handle_t l0_driver = ZE_NULL_HANDLE; +static ze_device_handle_t l0_device = ZE_NULL_HANDLE; +static ze_command_queue_handle_t l0_cq = ZE_NULL_HANDLE; +static ze_command_list_handle_t l0_cl = ZE_NULL_HANDLE; + +int ze_initialize(char *dll_name) +{ + level_zero_init_functable_dll(dll_name); + ZE_CHKERR(zeInit(0)); + + uint32_t ze_driver_count = 1, ze_device_count = 1; + ZE_CHKERR(zeDriverGet(&ze_driver_count, &l0_driver)); + ZE_CHKERR(zeDeviceGet(l0_driver, &ze_device_count, &l0_device)); + + ze_context_desc_t ctxtDesc = {ZE_STRUCTURE_TYPE_CONTEXT_DESC, NULL, 0}; + ZE_CHKERR(zeContextCreate(l0_driver, &ctxtDesc, &l0_context)); + + ze_command_queue_desc_t l0_cq_desc = { + .flags = 0, + .mode = ZE_COMMAND_QUEUE_MODE_DEFAULT, + .priority = ZE_COMMAND_QUEUE_PRIORITY_NORMAL, + .ordinal = 0 /* this must be less than device_properties.numAsyncComputeEngines */ + }; + ZE_CHKERR(zeCommandQueueCreate(l0_context, l0_device, &l0_cq_desc, &l0_cq)); + + ze_command_list_desc_t l0_cl_desc = {.flags = 0}; + ZE_CHKERR(zeCommandListCreate(l0_context, l0_device, &l0_cl_desc, &l0_cl)); + return 0; +f_err: + return 1; +} + +int ze_memcpy(void *dst, const void *src, size_t sz) +{ + ZE_CHKERR(zeCommandListAppendMemoryCopy(l0_cl, dst, src, sz, ZE_NULL_HANDLE, 0, ZE_NULL_HANDLE)); + ZE_CHKERR(zeCommandListClose(l0_cl)); + ZE_CHKERR(zeCommandQueueExecuteCommandLists(l0_cq, 1, &l0_cl, ZE_NULL_HANDLE)); + ZE_CHKERR(zeCommandQueueSynchronize(l0_cq, UINT32_MAX)); + ZE_CHKERR(zeCommandListReset(l0_cl)); + return 0; +f_err: + return 1; +} + +void *ze_alloc(size_t size, char *where, MEM_ALLOC_TYPE mem_alloc_type) +{ + void *buf; + switch (mem_alloc_type) + { + case MAT_DEVICE: + { + ze_device_mem_alloc_desc_t l0_device_mem_desc = { + .flags = 0, + .ordinal = 0 /* this must be less than count of zeDeviceGetMemoryProperties */ + }; + ZE_CHKERR(zeMemAllocDevice(l0_context, &l0_device_mem_desc, size, IMB_L0_MEM_ALIGNMENT, l0_device, &buf)); + break; + } + case MAT_HOST: + { + ze_host_mem_alloc_desc_t l0_host_mem_desc = { + .flags = 0, + }; + ZE_CHKERR(zeMemAllocHost(l0_context, &l0_host_mem_desc, size, IMB_L0_MEM_ALIGNMENT, &buf)); + break; + } + case MAT_SHARED: + { + ze_device_mem_alloc_desc_t l0_device_mem_desc = { + .flags = 0, + .ordinal = 0 /* this must be less than count of zeDeviceGetMemoryProperties */ + }; + ze_host_mem_alloc_desc_t l0_host_mem_desc = { + .flags = 0, + }; + ZE_CHKERR(zeMemAllocShared(l0_context, &l0_device_mem_desc, &l0_host_mem_desc, size, IMB_L0_MEM_ALIGNMENT, l0_device, &buf)); + break; + } + default: + { + printf("Error: Unknown buf type\n"); + exit(1); + } + } + + return buf; +f_err: + return NULL; +} + +void ze_ass_buf(void *buf, int rank, size_t pos1, size_t pos2, int value) +{ + /* + + Assigns values to a buffer + + Input variables: + + -rank (type int) + Rank of calling process + + -pos1 (type int) + -pos2 (type int) + Assignment between byte positions pos1, pos2 + + -value (type int) + 1/0 for non-zero (defined in IMB_settings.h)/ zero value + + In/out variables: + + -buf (type void*) + Values assigned within given positions + */ + if (pos2 <= pos1) + return; + + static const int asize = (int)sizeof(assign_type); + char *tmp_buf = malloc(pos2 + 1 - pos1); + ze_memcpy(tmp_buf, buf + pos1, pos2 - pos1); + IMB_ass_buf(tmp_buf, rank, pos1, pos2, value); + ze_memcpy(buf + pos1, tmp_buf, pos2 - pos1); + free(tmp_buf); +} + +void ze_free(void **B, MEM_ALLOC_TYPE mem_alloc_type) +{ + if (B && *B) + { + if (l0_driver) + { + ZE_CHKERR_DO_NOT_FAIL(zeMemFree(l0_context, *B)); + *B = NULL; + } + } +} + +#endif // GPU_ENABLE diff --git a/MpiApps/apps/imb/src_c/IMB_ze.h b/MpiApps/apps/imb/src_c/IMB_ze.h new file mode 100644 index 0000000..0776824 --- /dev/null +++ b/MpiApps/apps/imb/src_c/IMB_ze.h @@ -0,0 +1,87 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ + +#ifndef __ze_h__ +#define __ze_h__ + +#include +#include "stdbool.h" +#include + +#include "IMB_declare.h" +#include "IMB_benchmark.h" +#include "IMB_ze_api.h" + +#define IMB_L0_MEM_ALIGNMENT 64 +#define ZE_NULL_HANDLE NULL /* just for verbosity */ + +#define ZE_CHKERR_EXPL_FINALLY(f, fin, a) { ze_result_t _ze_chkerr_err; \ + if ((_ze_chkerr_err=(f), (fin), _ze_chkerr_err) != ZE_RESULT_SUCCESS) { \ + fprintf(stderr, "ERROR: 0x%x returned from %s\n", _ze_chkerr_err, #f); \ + a; \ + } \ +} +#define ZE_CHKERR_EXPL(f, a) ZE_CHKERR_EXPL_FINALLY(f, 0, a) +#define ZE_CHKERR_FINALLY(f, fin) ZE_CHKERR_EXPL_FINALLY(f, fin, goto f_err) +#define ZE_CHKERR(f) ZE_CHKERR_EXPL(f, goto f_err) +#define ZE_CHKERR_DO_NOT_FAIL(f) ZE_CHKERR_EXPL_FINALLY(f, 0, (void)0) + +#define NZ_CHKERR_EXPL(f, a) if ((f) == 0) { \ + fprintf(stderr, "ERROR: %s failed\n", #f); \ + a; \ +} +#define NZ_CHKERR(f) NZ_CHKERR_EXPL(f, goto f_err) + +#define C_CHKERR_EXPL(f, a) if ((f) != 0) { \ + fprintf(stderr, "ERROR: %s failed\n", #f); \ + a; \ +} +#define C_CHKERR(f) C_CHKERR_EXPL(f, goto f_err) + +int ze_initialize(char *dll_name); +void *ze_alloc(size_t size, char *where, MEM_ALLOC_TYPE mem_alloc_type); +void ze_free(void **B, MEM_ALLOC_TYPE mem_alloc_type); +void ze_ass_buf(void *buf, int rank, size_t pos1, size_t pos2, int value); +int ze_memcpy(void *dst, const void *src, size_t sz); + +#endif diff --git a/MpiApps/apps/imb/src_c/IMB_ze_api.c b/MpiApps/apps/imb/src_c/IMB_ze_api.c new file mode 100644 index 0000000..7bc76e1 --- /dev/null +++ b/MpiApps/apps/imb/src_c/IMB_ze_api.c @@ -0,0 +1,110 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ + +#ifdef GPU_ENABLE +#include "IMB_ze_api.h" +#include "IMB_gpu_common.h" + +level_zero_functable_t level_zero_proxy = { + NULL, /* zeInit */ + /* the rest is zeroed */ +}; + +static const char *fn_names[] = { + "zeInit", + "zeDriverGet", + "zeMemAllocDevice", + "zeMemAllocHost", + "zeMemAllocShared", + "zeMemFree", + "zeDeviceGet", + "zeCommandQueueCreate", + "zeCommandQueueExecuteCommandLists", + "zeCommandQueueSynchronize", + "zeCommandListCreate", + "zeCommandListCreateImmediate", + "zeCommandListAppendMemoryCopy", + "zeCommandListReset", + "zeCommandListClose", + "zeContextCreate", +}; + +#define LEVEL_ZERO_FUNCTABLE_COUNT (sizeof(level_zero_proxy) / sizeof(void *)) + +void level_zero_init_functable_dll(const char *dll_name) +{ + void **sym_ptr = (void **)&level_zero_proxy; + + void *handle = dlopen(dll_name, RTLD_LAZY | RTLD_GLOBAL); + + char *dl_error = dlerror(); + + if (dl_error) + { + printf("%s\n", dl_error); + exit(1); + } + + size_t i; + + for (i = 0; i < LEVEL_ZERO_FUNCTABLE_COUNT; i++) + { + sym_ptr[i] = dlsym(handle, fn_names[i]); + + dl_error = dlerror(); + if (dl_error) + { + printf("%s\n", dl_error); + exit(1); + } + + if (sym_ptr[i] == NULL) + { + printf("Symbol %s is not available!\n", fn_names[i]); + exit(1); + } + } + +} + +#endif //GPU_ENABLE diff --git a/MpiApps/apps/imb/src_c/IMB_ze_api.h b/MpiApps/apps/imb/src_c/IMB_ze_api.h new file mode 100644 index 0000000..052e8b9 --- /dev/null +++ b/MpiApps/apps/imb/src_c/IMB_ze_api.h @@ -0,0 +1,90 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ + +#ifndef IMB_ZE_API_H +#define IMB_ZE_API_H + +#include +#include "ze_api.h" + +typedef struct level_zero_functable_t { + typeof(zeInit) *zeInit; + typeof(zeDriverGet) *zeDriverGet; + typeof(zeMemAllocDevice) *zeMemAllocDevice; + typeof(zeMemAllocHost) *zeMemAllocHost; + typeof(zeMemAllocShared) *zeMemAllocShared; + typeof(zeMemFree) *zeMemFree; + typeof(zeDeviceGet) *zeDeviceGet; + typeof(zeCommandQueueCreate) *zeCommandQueueCreate; + typeof(zeCommandQueueExecuteCommandLists) *zeCommandQueueExecuteCommandLists; + typeof(zeCommandQueueSynchronize) *zeCommandQueueSynchronize; + typeof(zeCommandListCreate) *zeCommandListCreate; + typeof(zeCommandListCreateImmediate) *zeCommandListCreateImmediate; + typeof(zeCommandListAppendMemoryCopy) *zeCommandListAppendMemoryCopy; + typeof(zeCommandListReset) *zeCommandListReset; + typeof(zeCommandListClose) *zeCommandListClose; + typeof(zeContextCreate) *zeContextCreate; +} level_zero_functable_t; + +extern level_zero_functable_t level_zero_proxy; + +#define zeInit level_zero_proxy.zeInit +#define zeDriverGet level_zero_proxy.zeDriverGet +#define zeMemAllocDevice level_zero_proxy.zeMemAllocDevice +#define zeMemAllocHost level_zero_proxy.zeMemAllocHost +#define zeMemAllocShared level_zero_proxy.zeMemAllocShared +#define zeMemFree level_zero_proxy.zeMemFree +#define zeDeviceGet level_zero_proxy.zeDeviceGet +#define zeCommandQueueCreate level_zero_proxy.zeCommandQueueCreate +#define zeCommandQueueExecuteCommandLists level_zero_proxy.zeCommandQueueExecuteCommandLists +#define zeCommandQueueSynchronize level_zero_proxy.zeCommandQueueSynchronize +#define zeCommandListCreate level_zero_proxy.zeCommandListCreate +#define zeCommandListCreateImmediate level_zero_proxy.zeCommandListCreateImmediate +#define zeCommandListAppendMemoryCopy level_zero_proxy.zeCommandListAppendMemoryCopy +#define zeCommandListReset level_zero_proxy.zeCommandListReset +#define zeCommandListClose level_zero_proxy.zeCommandListClose +#define zeContextCreate level_zero_proxy.zeContextCreate + +void level_zero_init_functable_dll(const char *dll_name); + +#endif /* IMB_ZE_API_H */ diff --git a/MpiApps/apps/imb/src_c/Makefile b/MpiApps/apps/imb/src_c/Makefile index 2aa1ba5..5a13d3d 100644 --- a/MpiApps/apps/imb/src_c/Makefile +++ b/MpiApps/apps/imb/src_c/Makefile @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/Makefile_win b/MpiApps/apps/imb/src_c/Makefile_win index 7ba34f1..3786281 100644 --- a/MpiApps/apps/imb/src_c/Makefile_win +++ b/MpiApps/apps/imb/src_c/Makefile_win @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/P2P/Makefile b/MpiApps/apps/imb/src_c/P2P/Makefile index e9c93e0..9ac62f4 100644 --- a/MpiApps/apps/imb/src_c/P2P/Makefile +++ b/MpiApps/apps/imb/src_c/P2P/Makefile @@ -1,49 +1,32 @@ # ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_c/P2P/imb_p2p.c b/MpiApps/apps/imb/src_c/P2P/imb_p2p.c index 6c38a41..90c0fb1 100644 --- a/MpiApps/apps/imb/src_c/P2P/imb_p2p.c +++ b/MpiApps/apps/imb/src_c/P2P/imb_p2p.c @@ -1,51 +1,35 @@ -/* -***************************************************************************** + +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. -*/ + ***************************************************************************/ #include "imb_p2p.h" @@ -56,7 +40,7 @@ goods and services. #define INFO_BUFFER_SIZE 32767 #endif -static const char * VERSION = "2021.3"; +static const char * VERSION = "2021.7"; FILE* unit = NULL; imb_p2p_configuration_t imb_p2p_config = { 0 }; diff --git a/MpiApps/apps/imb/src_c/P2P/imb_p2p.h b/MpiApps/apps/imb/src_c/P2P/imb_p2p.h index 784ad95..6c3be8b 100644 --- a/MpiApps/apps/imb/src_c/P2P/imb_p2p.h +++ b/MpiApps/apps/imb/src_c/P2P/imb_p2p.h @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 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. -*/ +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #ifndef IMB_P2P_HEADER_INCLUDED #define IMB_P2P_HEADER_INCLUDED diff --git a/MpiApps/apps/imb/src_c/P2P/imb_p2p_birandom.c b/MpiApps/apps/imb/src_c/P2P/imb_p2p_birandom.c index 1552bfc..be309e8 100644 --- a/MpiApps/apps/imb/src_c/P2P/imb_p2p_birandom.c +++ b/MpiApps/apps/imb/src_c/P2P/imb_p2p_birandom.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/MpiApps/apps/imb/src_c/P2P/imb_p2p_corandom.c b/MpiApps/apps/imb/src_c/P2P/imb_p2p_corandom.c index 571e5cf..fbf94e6 100644 --- a/MpiApps/apps/imb/src_c/P2P/imb_p2p_corandom.c +++ b/MpiApps/apps/imb/src_c/P2P/imb_p2p_corandom.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/MpiApps/apps/imb/src_c/P2P/imb_p2p_pingping.c b/MpiApps/apps/imb/src_c/P2P/imb_p2p_pingping.c index e0d2e5a..acd99c9 100644 --- a/MpiApps/apps/imb/src_c/P2P/imb_p2p_pingping.c +++ b/MpiApps/apps/imb/src_c/P2P/imb_p2p_pingping.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/MpiApps/apps/imb/src_c/P2P/imb_p2p_pingpong.c b/MpiApps/apps/imb/src_c/P2P/imb_p2p_pingpong.c index 2fa0bfe..f6ae5fc 100644 --- a/MpiApps/apps/imb/src_c/P2P/imb_p2p_pingpong.c +++ b/MpiApps/apps/imb/src_c/P2P/imb_p2p_pingpong.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/MpiApps/apps/imb/src_c/P2P/imb_p2p_sendrecv_replace.c b/MpiApps/apps/imb/src_c/P2P/imb_p2p_sendrecv_replace.c index 6e7eaca..05b3409 100644 --- a/MpiApps/apps/imb/src_c/P2P/imb_p2p_sendrecv_replace.c +++ b/MpiApps/apps/imb/src_c/P2P/imb_p2p_sendrecv_replace.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/MpiApps/apps/imb/src_c/P2P/imb_p2p_stencil2d.c b/MpiApps/apps/imb/src_c/P2P/imb_p2p_stencil2d.c index 92f8385..008cf38 100644 --- a/MpiApps/apps/imb/src_c/P2P/imb_p2p_stencil2d.c +++ b/MpiApps/apps/imb/src_c/P2P/imb_p2p_stencil2d.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/MpiApps/apps/imb/src_c/P2P/imb_p2p_stencil3d.c b/MpiApps/apps/imb/src_c/P2P/imb_p2p_stencil3d.c index 019ff5d..0a1c43b 100644 --- a/MpiApps/apps/imb/src_c/P2P/imb_p2p_stencil3d.c +++ b/MpiApps/apps/imb/src_c/P2P/imb_p2p_stencil3d.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/MpiApps/apps/imb/src_c/P2P/imb_p2p_unirandom.c b/MpiApps/apps/imb/src_c/P2P/imb_p2p_unirandom.c index fc7b367..05eed32 100644 --- a/MpiApps/apps/imb/src_c/P2P/imb_p2p_unirandom.c +++ b/MpiApps/apps/imb/src_c/P2P/imb_p2p_unirandom.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/MpiApps/apps/imb/src_cpp/EXT/EXT_benchmark.cpp b/MpiApps/apps/imb/src_cpp/EXT/EXT_benchmark.cpp index b48f6d8..5e9c09f 100644 --- a/MpiApps/apps/imb/src_cpp/EXT/EXT_benchmark.cpp +++ b/MpiApps/apps/imb/src_cpp/EXT/EXT_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ****************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/EXT/EXT_suite.cpp b/MpiApps/apps/imb/src_cpp/EXT/EXT_suite.cpp index f9e0b83..1c848c5 100644 --- a/MpiApps/apps/imb/src_cpp/EXT/EXT_suite.cpp +++ b/MpiApps/apps/imb/src_cpp/EXT/EXT_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ****************************************************************************/ #if defined MPI1 || defined NBC || defined MPIIO || defined RMA #error Legacy benchmark components cannot be linked together diff --git a/MpiApps/apps/imb/src_cpp/EXT/Makefile.EXT.mk b/MpiApps/apps/imb/src_cpp/EXT/Makefile.EXT.mk index 9a690c4..9ed5a0b 100644 --- a/MpiApps/apps/imb/src_cpp/EXT/Makefile.EXT.mk +++ b/MpiApps/apps/imb/src_cpp/EXT/Makefile.EXT.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_cpp/EXT/Makefile_win.EXT.mk b/MpiApps/apps/imb/src_cpp/EXT/Makefile_win.EXT.mk index 93deb42..f8c109a 100644 --- a/MpiApps/apps/imb/src_cpp/EXT/Makefile_win.EXT.mk +++ b/MpiApps/apps/imb/src_cpp/EXT/Makefile_win.EXT.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_cpp/HALO/Makefile.HALO.mk b/MpiApps/apps/imb/src_cpp/HALO/Makefile.HALO.mk index d155890..0d72a50 100644 --- a/MpiApps/apps/imb/src_cpp/HALO/Makefile.HALO.mk +++ b/MpiApps/apps/imb/src_cpp/HALO/Makefile.HALO.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_cpp/HALO/halo_benchmark.cpp b/MpiApps/apps/imb/src_cpp/HALO/halo_benchmark.cpp index 125a731..f4594cf 100644 --- a/MpiApps/apps/imb/src_cpp/HALO/halo_benchmark.cpp +++ b/MpiApps/apps/imb/src_cpp/HALO/halo_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/HALO/halo_benchmark.h b/MpiApps/apps/imb/src_cpp/HALO/halo_benchmark.h index 40b07d6..ed607a3 100644 --- a/MpiApps/apps/imb/src_cpp/HALO/halo_benchmark.h +++ b/MpiApps/apps/imb/src_cpp/HALO/halo_benchmark.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once #include diff --git a/MpiApps/apps/imb/src_cpp/HALO/halo_suite.cpp b/MpiApps/apps/imb/src_cpp/HALO/halo_suite.cpp index f314f96..0622fb6 100644 --- a/MpiApps/apps/imb/src_cpp/HALO/halo_suite.cpp +++ b/MpiApps/apps/imb/src_cpp/HALO/halo_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/IO/IO_benchmark.cpp b/MpiApps/apps/imb/src_cpp/IO/IO_benchmark.cpp index 41a5273..056f432 100644 --- a/MpiApps/apps/imb/src_cpp/IO/IO_benchmark.cpp +++ b/MpiApps/apps/imb/src_cpp/IO/IO_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/IO/IO_suite.cpp b/MpiApps/apps/imb/src_cpp/IO/IO_suite.cpp index f8d26da..90d4bb0 100644 --- a/MpiApps/apps/imb/src_cpp/IO/IO_suite.cpp +++ b/MpiApps/apps/imb/src_cpp/IO/IO_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #if defined MPI1 || defined NBC || defined RMA || defined EXT #error Legacy benchmark components cannot be linked together diff --git a/MpiApps/apps/imb/src_cpp/IO/Makefile.IO.mk b/MpiApps/apps/imb/src_cpp/IO/Makefile.IO.mk index 21fc3b8..7fcd342 100644 --- a/MpiApps/apps/imb/src_cpp/IO/Makefile.IO.mk +++ b/MpiApps/apps/imb/src_cpp/IO/Makefile.IO.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_cpp/IO/Makefile_win.IO.mk b/MpiApps/apps/imb/src_cpp/IO/Makefile_win.IO.mk index 238a189..8dd2580 100644 --- a/MpiApps/apps/imb/src_cpp/IO/Makefile_win.IO.mk +++ b/MpiApps/apps/imb/src_cpp/IO/Makefile_win.IO.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_cpp/MPI1/MPI1_benchmark.cpp b/MpiApps/apps/imb/src_cpp/MPI1/MPI1_benchmark.cpp index 3969f7e..fbe4263 100644 --- a/MpiApps/apps/imb/src_cpp/MPI1/MPI1_benchmark.cpp +++ b/MpiApps/apps/imb/src_cpp/MPI1/MPI1_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/MPI1/MPI1_suite.cpp b/MpiApps/apps/imb/src_cpp/MPI1/MPI1_suite.cpp index 1f1a554..be046dd 100644 --- a/MpiApps/apps/imb/src_cpp/MPI1/MPI1_suite.cpp +++ b/MpiApps/apps/imb/src_cpp/MPI1/MPI1_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #if defined RMA || defined NBC || defined MPIIO || defined EXT #error Legacy benchmark components cannot be linked together @@ -711,6 +693,7 @@ template <> bool BenchmarkSuite::prepare(const args_parser &parser, con } #ifdef GPU_ENABLE + gpu_initialize(); // mem_alloc_type string mem_alloc_type = parser.get("mem_alloc_type"); if (mem_alloc_type == "cpu") { diff --git a/MpiApps/apps/imb/src_cpp/MPI1/Makefile.MPI1.mk b/MpiApps/apps/imb/src_cpp/MPI1/Makefile.MPI1.mk index de81a4b..9bdb9dd 100644 --- a/MpiApps/apps/imb/src_cpp/MPI1/Makefile.MPI1.mk +++ b/MpiApps/apps/imb/src_cpp/MPI1/Makefile.MPI1.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** @@ -88,9 +71,25 @@ $(C_SRC_DIR)/IMB_strgs.c \ $(C_SRC_DIR)/IMB_utils.c \ $(C_SRC_DIR)/IMB_warm_up.c ifdef GPU_ENABLE -override C_SRC += $(C_SRC_DIR)/IMB_l0.c -override LDFLAGS += -lze_loader -override CPPFLAGS += -DGPU_ENABLE +override C_SRC += $(C_SRC_DIR)/IMB_gpu_common.c +override CPPFLAGS += -DGPU_ENABLE -ldl +ifdef CUDA_INCLUDE_DIR +override C_SRC += $(C_SRC_DIR)/IMB_cuda.c \ +$(C_SRC_DIR)/IMB_cuda_api.c +override CPPFLAGS += -I${CUDA_INCLUDE_DIR} -DCUDA_INCLUDE_DIR +endif +ifdef ZE_INCLUDE_DIR +override C_SRC += $(C_SRC_DIR)/IMB_ze.c \ +$(C_SRC_DIR)/IMB_ze_api.c +override CPPFLAGS += -I${ZE_INCLUDE_DIR} -DZE_INCLUDE_DIR +endif +ifndef CUDA_INCLUDE_DIR +ifndef ZE_INCLUDE_DIR +ifneq (clean,$(filter clean,$(MAKECMDGOALS))) +$(error CUDA_INCLUDE_DIR and ZE_INCLUDE_DIR are not set) +endif +endif +endif SUBDIR:=GPU else SUBDIR:=CPU @@ -108,4 +107,4 @@ MPI1/$(SUBDIR)/%.o: MPI1/%.cpp $(SUBDIR) $(CXX) $(CPPFLAGS) $(CXXFLAGS) -DMPI1 -c -o $@ $< ${SUBDIR}: - mkdir -p MPI1/${SUBDIR} \ No newline at end of file + mkdir -p MPI1/${SUBDIR} diff --git a/MpiApps/apps/imb/src_cpp/MPI1/Makefile_win.MPI1.mk b/MpiApps/apps/imb/src_cpp/MPI1/Makefile_win.MPI1.mk index b5f6fd8..3a1b2e8 100644 --- a/MpiApps/apps/imb/src_cpp/MPI1/Makefile_win.MPI1.mk +++ b/MpiApps/apps/imb/src_cpp/MPI1/Makefile_win.MPI1.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_cpp/MT/MT_benchmark.cpp b/MpiApps/apps/imb/src_cpp/MT/MT_benchmark.cpp index 5fa859b..3288bea 100644 --- a/MpiApps/apps/imb/src_cpp/MT/MT_benchmark.cpp +++ b/MpiApps/apps/imb/src_cpp/MT/MT_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/MT/MT_benchmark.h b/MpiApps/apps/imb/src_cpp/MT/MT_benchmark.h index 0d3874c..911eb18 100644 --- a/MpiApps/apps/imb/src_cpp/MT/MT_benchmark.h +++ b/MpiApps/apps/imb/src_cpp/MT/MT_benchmark.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #pragma once #include diff --git a/MpiApps/apps/imb/src_cpp/MT/MT_suite.cpp b/MpiApps/apps/imb/src_cpp/MT/MT_suite.cpp index 1fdfbad..ea968af 100644 --- a/MpiApps/apps/imb/src_cpp/MT/MT_suite.cpp +++ b/MpiApps/apps/imb/src_cpp/MT/MT_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include @@ -196,7 +178,7 @@ template <> bool BenchmarkSuite::prepare(const args_parser &parser, MPI_Comm_rank(MPI_COMM_WORLD, &rank); if (rank == 0 && !noheader) { output << "#------------------------------------------------------------------" << std::endl; - output << "# Intel(R) MPI Benchmarks " << "2021.3" << ", MT part " << std::endl; + output << "# Intel(R) MPI Benchmarks " << "2021.7" << ", MT part " << std::endl; output << "#------------------------------------------------------------------" << std::endl; output << "#" << std::endl; } diff --git a/MpiApps/apps/imb/src_cpp/MT/MT_types.h b/MpiApps/apps/imb/src_cpp/MT/MT_types.h index 08cee96..6de96d3 100644 --- a/MpiApps/apps/imb/src_cpp/MT/MT_types.h +++ b/MpiApps/apps/imb/src_cpp/MT/MT_types.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once diff --git a/MpiApps/apps/imb/src_cpp/MT/Makefile.MT.mk b/MpiApps/apps/imb/src_cpp/MT/Makefile.MT.mk index db0f172..b2b4627 100644 --- a/MpiApps/apps/imb/src_cpp/MT/Makefile.MT.mk +++ b/MpiApps/apps/imb/src_cpp/MT/Makefile.MT.mk @@ -1,53 +1,35 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** - override CPPFLAGS += -DMT override CPPFLAGS += -IMT diff --git a/MpiApps/apps/imb/src_cpp/MT/Makefile_win.MT.mk b/MpiApps/apps/imb/src_cpp/MT/Makefile_win.MT.mk index c5165e2..df0cf13 100644 --- a/MpiApps/apps/imb/src_cpp/MT/Makefile_win.MT.mk +++ b/MpiApps/apps/imb/src_cpp/MT/Makefile_win.MT.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_cpp/Makefile b/MpiApps/apps/imb/src_cpp/Makefile index 7967203..aceb9d6 100644 --- a/MpiApps/apps/imb/src_cpp/Makefile +++ b/MpiApps/apps/imb/src_cpp/Makefile @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** @@ -79,6 +62,9 @@ endif override CPPFLAGS += -I. override CFLAGS += -g -O0 -Wall -Wno-long-long override CXXFLAGS += -g -O0 -Wall -Wextra -pedantic -Wno-long-long +ifeq "$(CC)" "icx" +CFLAGS += -std=c++11 +endif ifdef WITH_OPENMP override CFLAGS += -fopenmp override CXXFLAGS += -fopenmp diff --git a/MpiApps/apps/imb/src_cpp/Makefile_win b/MpiApps/apps/imb/src_cpp/Makefile_win index 1f02765..e88b000 100644 --- a/MpiApps/apps/imb/src_cpp/Makefile_win +++ b/MpiApps/apps/imb/src_cpp/Makefile_win @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_cpp/NBC/Makefile.NBC.mk b/MpiApps/apps/imb/src_cpp/NBC/Makefile.NBC.mk index 103aa33..ab7aee8 100644 --- a/MpiApps/apps/imb/src_cpp/NBC/Makefile.NBC.mk +++ b/MpiApps/apps/imb/src_cpp/NBC/Makefile.NBC.mk @@ -1,53 +1,34 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. -# -# *************************************************************************** +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# *************************************************************************** include helpers/Makefile.*.mk diff --git a/MpiApps/apps/imb/src_cpp/NBC/Makefile_win.NBC.mk b/MpiApps/apps/imb/src_cpp/NBC/Makefile_win.NBC.mk index ebfadf3..544b227 100644 --- a/MpiApps/apps/imb/src_cpp/NBC/Makefile_win.NBC.mk +++ b/MpiApps/apps/imb/src_cpp/NBC/Makefile_win.NBC.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_cpp/NBC/NBC_benchmark.cpp b/MpiApps/apps/imb/src_cpp/NBC/NBC_benchmark.cpp index 9c2c6b5..7e23471 100644 --- a/MpiApps/apps/imb/src_cpp/NBC/NBC_benchmark.cpp +++ b/MpiApps/apps/imb/src_cpp/NBC/NBC_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/NBC/NBC_suite.cpp b/MpiApps/apps/imb/src_cpp/NBC/NBC_suite.cpp index 8aa053b..e09fd4c 100644 --- a/MpiApps/apps/imb/src_cpp/NBC/NBC_suite.cpp +++ b/MpiApps/apps/imb/src_cpp/NBC/NBC_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #if defined MPI1 || defined RMA || defined MPIIO || defined EXT #error Legacy benchmark components cannot be linked together diff --git a/MpiApps/apps/imb/src_cpp/RMA/Makefile.RMA.mk b/MpiApps/apps/imb/src_cpp/RMA/Makefile.RMA.mk index 666a262..8fb7a28 100644 --- a/MpiApps/apps/imb/src_cpp/RMA/Makefile.RMA.mk +++ b/MpiApps/apps/imb/src_cpp/RMA/Makefile.RMA.mk @@ -1,53 +1,35 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** - include helpers/Makefile.*.mk override CPPFLAGS += -DRMA diff --git a/MpiApps/apps/imb/src_cpp/RMA/Makefile_win.RMA.mk b/MpiApps/apps/imb/src_cpp/RMA/Makefile_win.RMA.mk index 4307950..a23473b 100644 --- a/MpiApps/apps/imb/src_cpp/RMA/Makefile_win.RMA.mk +++ b/MpiApps/apps/imb/src_cpp/RMA/Makefile_win.RMA.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_cpp/RMA/RMA_benchmark.cpp b/MpiApps/apps/imb/src_cpp/RMA/RMA_benchmark.cpp index 76bd501..2100fbf 100644 --- a/MpiApps/apps/imb/src_cpp/RMA/RMA_benchmark.cpp +++ b/MpiApps/apps/imb/src_cpp/RMA/RMA_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/RMA/RMA_suite.cpp b/MpiApps/apps/imb/src_cpp/RMA/RMA_suite.cpp index 0fcc2b8..7b71871 100644 --- a/MpiApps/apps/imb/src_cpp/RMA/RMA_suite.cpp +++ b/MpiApps/apps/imb/src_cpp/RMA/RMA_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #if defined MPI1 || defined NBC || defined MPIIO || defined EXT #error Legacy benchmark components cannot be linked together diff --git a/MpiApps/apps/imb/src_cpp/any.h b/MpiApps/apps/imb/src_cpp/any.h index 67ce9c2..455ba26 100644 --- a/MpiApps/apps/imb/src_cpp/any.h +++ b/MpiApps/apps/imb/src_cpp/any.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once #include diff --git a/MpiApps/apps/imb/src_cpp/args_parser.cpp b/MpiApps/apps/imb/src_cpp/args_parser.cpp index e8ec5cd..b234920 100644 --- a/MpiApps/apps/imb/src_cpp/args_parser.cpp +++ b/MpiApps/apps/imb/src_cpp/args_parser.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include "args_parser.h" #ifdef WITH_YAML_CPP diff --git a/MpiApps/apps/imb/src_cpp/args_parser.h b/MpiApps/apps/imb/src_cpp/args_parser.h index cc62d51..e40a7a2 100644 --- a/MpiApps/apps/imb/src_cpp/args_parser.h +++ b/MpiApps/apps/imb/src_cpp/args_parser.h @@ -1,50 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #pragma once diff --git a/MpiApps/apps/imb/src_cpp/args_parser_utests.cpp b/MpiApps/apps/imb/src_cpp/args_parser_utests.cpp index 60ed2c1..871dae7 100644 --- a/MpiApps/apps/imb/src_cpp/args_parser_utests.cpp +++ b/MpiApps/apps/imb/src_cpp/args_parser_utests.cpp @@ -1,50 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. -*/ + ***************************************************************************/ #include "args_parser.h" #ifdef WITH_YAML_CPP diff --git a/MpiApps/apps/imb/src_cpp/benchmark.h b/MpiApps/apps/imb/src_cpp/benchmark.h index f8bfe08..257c05b 100644 --- a/MpiApps/apps/imb/src_cpp/benchmark.h +++ b/MpiApps/apps/imb/src_cpp/benchmark.h @@ -1,50 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. -*/ + ***************************************************************************/ #pragma once #include "smart_ptr.h" diff --git a/MpiApps/apps/imb/src_cpp/benchmark_suite.h b/MpiApps/apps/imb/src_cpp/benchmark_suite.h index 7bf4605..4738f3b 100644 --- a/MpiApps/apps/imb/src_cpp/benchmark_suite.h +++ b/MpiApps/apps/imb/src_cpp/benchmark_suite.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once diff --git a/MpiApps/apps/imb/src_cpp/benchmark_suite_base.h b/MpiApps/apps/imb/src_cpp/benchmark_suite_base.h index 7359e49..5b3d773 100644 --- a/MpiApps/apps/imb/src_cpp/benchmark_suite_base.h +++ b/MpiApps/apps/imb/src_cpp/benchmark_suite_base.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #pragma once diff --git a/MpiApps/apps/imb/src_cpp/benchmark_suites_collection.cpp b/MpiApps/apps/imb/src_cpp/benchmark_suites_collection.cpp index f1a0243..805fc2f 100644 --- a/MpiApps/apps/imb/src_cpp/benchmark_suites_collection.cpp +++ b/MpiApps/apps/imb/src_cpp/benchmark_suites_collection.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/benchmark_suites_collection.h b/MpiApps/apps/imb/src_cpp/benchmark_suites_collection.h index 738cc69..31cf1c2 100644 --- a/MpiApps/apps/imb/src_cpp/benchmark_suites_collection.h +++ b/MpiApps/apps/imb/src_cpp/benchmark_suites_collection.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once diff --git a/MpiApps/apps/imb/src_cpp/example/Makefile.example.mk b/MpiApps/apps/imb/src_cpp/example/Makefile.example.mk index 96a1c2d..2ff4e03 100644 --- a/MpiApps/apps/imb/src_cpp/example/Makefile.example.mk +++ b/MpiApps/apps/imb/src_cpp/example/Makefile.example.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/MpiApps/apps/imb/src_cpp/example/example_benchmark1.cpp b/MpiApps/apps/imb/src_cpp/example/example_benchmark1.cpp index 40b06f1..14a5bb4 100644 --- a/MpiApps/apps/imb/src_cpp/example/example_benchmark1.cpp +++ b/MpiApps/apps/imb/src_cpp/example/example_benchmark1.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. - - *************************************************************************** -*/ + ****************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/example/example_benchmark2.cpp b/MpiApps/apps/imb/src_cpp/example/example_benchmark2.cpp index b1d24a9..66c81f2 100644 --- a/MpiApps/apps/imb/src_cpp/example/example_benchmark2.cpp +++ b/MpiApps/apps/imb/src_cpp/example/example_benchmark2.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. - - *************************************************************************** -*/ + ****************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/example/example_benchmark3.cpp b/MpiApps/apps/imb/src_cpp/example/example_benchmark3.cpp index e6b2727..6212c10 100644 --- a/MpiApps/apps/imb/src_cpp/example/example_benchmark3.cpp +++ b/MpiApps/apps/imb/src_cpp/example/example_benchmark3.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. - - *************************************************************************** -*/ + ****************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/example/example_benchmark4.cpp b/MpiApps/apps/imb/src_cpp/example/example_benchmark4.cpp index a9f3af5..f1a60e1 100644 --- a/MpiApps/apps/imb/src_cpp/example/example_benchmark4.cpp +++ b/MpiApps/apps/imb/src_cpp/example/example_benchmark4.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ****************************************************************************/ #include #include diff --git a/MpiApps/apps/imb/src_cpp/example/example_benchmark5.cpp b/MpiApps/apps/imb/src_cpp/example/example_benchmark5.cpp index 4bce318..d5ea57d 100644 --- a/MpiApps/apps/imb/src_cpp/example/example_benchmark5.cpp +++ b/MpiApps/apps/imb/src_cpp/example/example_benchmark5.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. - - *************************************************************************** -*/ + ****************************************************************************/ #include diff --git a/MpiApps/apps/imb/src_cpp/helpers/Makefile.helpers.mk b/MpiApps/apps/imb/src_cpp/helpers/Makefile.helpers.mk index 15dc95a..bae737c 100644 --- a/MpiApps/apps/imb/src_cpp/helpers/Makefile.helpers.mk +++ b/MpiApps/apps/imb/src_cpp/helpers/Makefile.helpers.mk @@ -1,53 +1,35 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** - C_SRC_DIR=../src_c override CPPFLAGS += -Ihelpers override CPPFLAGS += -I$(C_SRC_DIR) diff --git a/MpiApps/apps/imb/src_cpp/helpers/Makefile_win.helpers.mk b/MpiApps/apps/imb/src_cpp/helpers/Makefile_win.helpers.mk index 9df280a..fedae59 100644 --- a/MpiApps/apps/imb/src_cpp/helpers/Makefile_win.helpers.mk +++ b/MpiApps/apps/imb/src_cpp/helpers/Makefile_win.helpers.mk @@ -1,53 +1,34 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 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. -# -# *************************************************************************** +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# *************************************************************************** C_SRC_DIR= ../src_c diff --git a/MpiApps/apps/imb/src_cpp/helpers/helper_IMB_functions.h b/MpiApps/apps/imb/src_cpp/helpers/helper_IMB_functions.h index d462b48..e90b04c 100644 --- a/MpiApps/apps/imb/src_cpp/helpers/helper_IMB_functions.h +++ b/MpiApps/apps/imb/src_cpp/helpers/helper_IMB_functions.h @@ -1,56 +1,39 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #pragma once #include +#include #ifdef MPIIO static int do_nonblocking_; @@ -484,7 +467,26 @@ struct Bmark_descr { if (!result) { throw std::logic_error("wrong recv or send buffer requirement description on a benchmark"); } -// printf(">> s_len=%ld, r_len=%ld\n", s_len, r_len); + if (flags.count(REDUCTION)) { + int red_size_dt; + MPI_Type_size(c_info->red_data_type, &red_size_dt); + + if (s_len / red_size_dt > INT_MAX || r_len / red_size_dt > INT_MAX) { + Bmark->sample_failure = SAMPLE_FAILED_INT_OVERFLOW; + return; + } + } + else { + int s_size_dt, + r_size_dt; + MPI_Type_size(c_info->s_data_type, &s_size_dt); + MPI_Type_size(c_info->r_data_type, &r_size_dt); + + if (s_len / s_size_dt > INT_MAX || r_len / r_size_dt > INT_MAX) { + Bmark->sample_failure = SAMPLE_FAILED_INT_OVERFLOW; + return; + } + } //--------------------------------------------------------------------------------------------------- // --- STEP 3: set s_alloc and r_alloc AND all these ITERATIONS->s_offs,r_offs,... //--------------------------------------------------------------------------------------------------- @@ -587,11 +589,10 @@ struct Bmark_descr { // /* Determine #iterations if dynamic adaptation requested */ if ((ITERATIONS->iter_policy == imode_dynamic) || (ITERATIONS->iter_policy == imode_auto && !root_based)) { - double time[MAX_TIME_ID]; + double time[MAX_TIME_ID] = {0}; int acc_rep_test, t_sample; int selected_n_sample = ITERATIONS->n_sample; - memset(time, 0, MAX_TIME_ID); if (iter == 0 || BMODE->type == Sync) { ITERATIONS->n_sample_prev = ITERATIONS->msgspersample; if (c_info->n_lens > 0) { diff --git a/MpiApps/apps/imb/src_cpp/helpers/original_benchmark.h b/MpiApps/apps/imb/src_cpp/helpers/original_benchmark.h index bcfe6b3..700b78c 100644 --- a/MpiApps/apps/imb/src_cpp/helpers/original_benchmark.h +++ b/MpiApps/apps/imb/src_cpp/helpers/original_benchmark.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #pragma once #include diff --git a/MpiApps/apps/imb/src_cpp/imb.cpp b/MpiApps/apps/imb/src_cpp/imb.cpp index c093f3e..3f4302e 100644 --- a/MpiApps/apps/imb/src_cpp/imb.cpp +++ b/MpiApps/apps/imb/src_cpp/imb.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include @@ -70,7 +52,7 @@ int main(int argc, char * *argv) bool no_mpi_init_flag = true; int return_value = 0; int rank = 0, size = 0; - const char *program_name = "Intel(R) MPI Benchmarks 2021.3"; + const char *program_name = "Intel(R) MPI Benchmarks 2021.7"; std::ostringstream output; // Some unit tests for args parser diff --git a/MpiApps/apps/imb/src_cpp/scope.cpp b/MpiApps/apps/imb/src_cpp/scope.cpp index 226489e..0873740 100644 --- a/MpiApps/apps/imb/src_cpp/scope.cpp +++ b/MpiApps/apps/imb/src_cpp/scope.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include "scope.h" diff --git a/MpiApps/apps/imb/src_cpp/scope.h b/MpiApps/apps/imb/src_cpp/scope.h index 2ac3bde..d3938cb 100644 --- a/MpiApps/apps/imb/src_cpp/scope.h +++ b/MpiApps/apps/imb/src_cpp/scope.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright 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. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #pragma once diff --git a/MpiApps/apps/imb/src_cpp/smart_ptr.h b/MpiApps/apps/imb/src_cpp/smart_ptr.h index 63babab..73600cc 100644 --- a/MpiApps/apps/imb/src_cpp/smart_ptr.h +++ b/MpiApps/apps/imb/src_cpp/smart_ptr.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once diff --git a/MpiApps/apps/imb/src_cpp/utils.h b/MpiApps/apps/imb/src_cpp/utils.h index df4b449..42dc253 100644 --- a/MpiApps/apps/imb/src_cpp/utils.h +++ b/MpiApps/apps/imb/src_cpp/utils.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 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. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -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. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -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. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once diff --git a/MpiApps/apps/mpi_stress/mpi_stress.c b/MpiApps/apps/mpi_stress/mpi_stress.c index 66d97d4..427adae 100644 --- a/MpiApps/apps/mpi_stress/mpi_stress.c +++ b/MpiApps/apps/mpi_stress/mpi_stress.c @@ -74,6 +74,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. struct ze_dev_ctxt { ze_device_handle_t dev; + int dev_inx; /* Index in ze_devices[] */ uint32_t ordinal; /* CmdQGrp ordinal for the 1st copy_only engine */ uint32_t index; /* Cmdqueue index within the CmdQGrp */ uint32_t num_queues; /* Number of queues in the CmdQGrp */ @@ -86,8 +87,8 @@ static ze_driver_handle_t ze_driver = NULL; static ze_device_handle_t devices[MAX_ZE_DEVICES]; static struct ze_dev_ctxt ze_devices[MAX_ZE_DEVICES]; static struct ze_dev_ctxt *cur_ze_dev = NULL; -static ze_command_queue_handle_t ze_cq = NULL; -static ze_command_list_handle_t ze_cl = NULL; +static uint32_t ze_dev_cnt = 0; +static int ze_use_multi_dev = 0; #define MPI_STRESS_ONEAPI_ZE_CALL(func, args...) do { \ ze_result_t result; \ @@ -194,12 +195,16 @@ static void oneapi_ze_malloc(void **pptr, size_t size) MPI_STRESS_ONEAPI_ZE_CALL(zeMemAllocDevice, ze_context, &dev_desc, size, alignment, cur_ze_dev->dev, pptr); } -static void oneapi_ze_memcpy(void *dstptr, const void *srcptr, size_t size) { - MPI_STRESS_ONEAPI_ZE_CALL(zeCommandListAppendMemoryCopy, ze_cl, dstptr, srcptr, size, NULL, 0, NULL); - MPI_STRESS_ONEAPI_ZE_CALL(zeCommandListClose, ze_cl); - MPI_STRESS_ONEAPI_ZE_CALL(zeCommandQueueExecuteCommandLists, ze_cq, 1, &ze_cl, NULL); - MPI_STRESS_ONEAPI_ZE_CALL(zeCommandQueueSynchronize, ze_cq, UINT32_MAX); - MPI_STRESS_ONEAPI_ZE_CALL(zeCommandListReset, ze_cl); +static void oneapi_ze_memcpy(void *dstptr, const void *srcptr, size_t size, + struct ze_dev_ctxt *ctxt) +{ + MPI_STRESS_ONEAPI_ZE_CALL(zeCommandListAppendMemoryCopy, ctxt->cl, dstptr, + srcptr, size, NULL, 0, NULL); + MPI_STRESS_ONEAPI_ZE_CALL(zeCommandListClose, ctxt->cl); + MPI_STRESS_ONEAPI_ZE_CALL(zeCommandQueueExecuteCommandLists, ctxt->cq, 1, + &ctxt->cl, NULL); + MPI_STRESS_ONEAPI_ZE_CALL(zeCommandQueueSynchronize, ctxt->cq, UINT32_MAX); + MPI_STRESS_ONEAPI_ZE_CALL(zeCommandListReset, ctxt->cl); } static void oneapi_ze_cmd_create(ze_device_handle_t dev, struct ze_dev_ctxt *ctxt) @@ -387,6 +392,9 @@ typedef struct msg_state uint8_t *buf; #if defined(MPI_STRESS_CUDA) || defined(MPI_STRESS_ONEAPI) uint8_t *gpubuf; +#ifdef MPI_STRESS_ONEAPI + struct ze_dev_ctxt *dev_ctxt; +#endif #endif MPI_Request req; @@ -429,6 +437,7 @@ typedef struct params int uni_grid; int use_random_length; int use_small_messages; + int use_multi_devices; uint32_t repeats; uint32_t runtime_mins; uint32_t min_msg_size; @@ -862,10 +871,18 @@ static void alloc_msg_array (msg_array_t *array, uint32_t count, array->msgs[i].gpubuf = NULL; #endif #ifdef MPI_STRESS_ONEAPI - if (use_gpubuf) + if (use_gpubuf) { oneapi_ze_malloc((void **) &array->msgs[i].gpubuf, size); - else + array->msgs[i].dev_ctxt = cur_ze_dev; + if (ze_use_multi_dev) { + int next; + + next = (cur_ze_dev->dev_inx + 1) % ze_dev_cnt; + cur_ze_dev = &ze_devices[next]; + } + } else { array->msgs[i].gpubuf = NULL; + } #endif array->msgs[i].req = MPI_REQUEST_NULL; array->msgs[i].poison_seed = 0; @@ -911,7 +928,7 @@ static void preinit_msg (local_state_t *local, msg_state_t *msg, #endif #ifdef MPI_STRESS_ONEAPI if (gpubuf) - oneapi_ze_memcpy(gpubuf, buf, data_len + sizeof(msg_hdr_t)); + oneapi_ze_memcpy(gpubuf, buf, data_len + sizeof(msg_hdr_t), msg->dev_ctxt); #endif } @@ -973,7 +990,8 @@ static void preinit_msg_array (local_state_t *local, msg_array_t *array, #ifdef MPI_STRESS_ONEAPI for (i = 0; i < array->count; i++) { if (array->msgs[i].gpubuf) { - oneapi_ze_memcpy(array->msgs[i].gpubuf, array->msgs[i].buf, array->size); + oneapi_ze_memcpy(array->msgs[i].gpubuf, array->msgs[i].buf, array->size, + array->msgs[i].dev_ctxt); } } #endif @@ -1063,6 +1081,9 @@ static int send_one_msg (local_state_t *local, msg_array_t *send_array, uint8_t *gpubuf = send_array->msgs[index].gpubuf; msg_hdr_t *gpuhdr = (msg_hdr_t *) gpubuf; uint8_t *gpudata = (uint8_t *) (gpuhdr + 1); +#ifdef MPI_STRESS_ONEAPI + struct ze_dev_ctxt *ctxt = send_array->msgs[index].dev_ctxt; +#endif #endif uint32_t dst; uint32_t tag; @@ -1088,7 +1109,7 @@ static int send_one_msg (local_state_t *local, msg_array_t *send_array, #endif #ifdef MPI_STRESS_ONEAPI if (local->params.use_gpu_send) - oneapi_ze_memcpy(gpubuf, buf, sizeof(msg_hdr_t)); + oneapi_ze_memcpy(gpubuf, buf, sizeof(msg_hdr_t), ctxt); #endif } else { tag = 1; @@ -1100,7 +1121,7 @@ static int send_one_msg (local_state_t *local, msg_array_t *send_array, #endif #ifdef MPI_STRESS_ONEAPI if (local->params.use_gpu_send) - oneapi_ze_memcpy(gpubuf, buf, size); + oneapi_ze_memcpy(gpubuf, buf, size, ctxt); #endif } @@ -1145,6 +1166,9 @@ static int poll_for_msgs (local_state_t *local, msg_array_t *recv_array, uint8_t *gpubuf = msg->gpubuf; msg_hdr_t *gpuhdr = (msg_hdr_t *) gpubuf; uint8_t *gpudata = (uint8_t *) (gpuhdr + 1); +#ifdef MPI_STRESS_ONEAPI + struct ze_dev_ctxt *ctxt = msg->dev_ctxt; +#endif #endif MPI_Request *recv_req = &msg->req; MPI_Status recv_status; @@ -1186,7 +1210,7 @@ static int poll_for_msgs (local_state_t *local, msg_array_t *recv_array, #endif #ifdef MPI_STRESS_ONEAPI if (local->params.use_gpu_recv) - oneapi_ze_memcpy(buf, gpubuf, irecv_size); + oneapi_ze_memcpy(buf, gpubuf, irecv_size, ctxt); #endif errors += validate_msg(stdout, local, msg, hdr, src, tag, count, data); @@ -1991,6 +2015,9 @@ static void get_help (int argc, char **argv) printf(" -m INT : set max msg size (default %d)\n", DEFAULT_MAX_MSG_SIZE); printf(" -M INT : set max msg count (default %d)\n", DEFAULT_MAX_MSGS); printf(" -n INT : number of times to repeat (default %d)\n", DEFAULT_REPS); +#ifdef MPI_STRESS_ONEAPI + printf(" -N : Allocate buffers from multiple devices\n"); +#endif printf(" -O : show options and parameters used for the run.\n"); printf(" -p : show progress\n"); printf(" -P : poison receive buffers at init and after each receive\n"); @@ -2010,6 +2037,13 @@ static void get_help (int argc, char **argv) printf(" -z : enable typical options for data integrity (-drx)\n"); printf(" : (for stronger integrity checking try using -drc instead)\n"); printf(" -Z : zero receive buffers at init and after each receive\n"); + printf(" SEND_DEVICE : Source buffer location for send.\n"); + printf(" H will use CPU. D will use GPU. When built for GPU,\n"); + printf(" default is D. When built for CPU, only H is allowed.\n"); + printf(" RECV_DEVICE : Destination buffer location for receive.\n"); + printf(" H will use CPU. D will use GPU. When built for GPU,\n"); + printf(" default is D. When built for CPU, only H is allowed.\n"); + printf("\n"); printf("This an an MPI stress test program designed to load up an MPI\n" "interconnect with point-to-point messages while optionally\n" "checking for data integrity. By default, it runs with all-to-all\n" @@ -2032,7 +2066,7 @@ static void get_params (int argc, char **argv, int option; int result = EXIT_SUCCESS; int run = 1; - const char *optlist = "a:Ab:cdD:eE:g:G:hiI:l:L:m:M:n:OpPqrRsSt:uvw:W:xyzZ"; + const char *optlist = "a:Ab:cdD:eE:g:G:hiI:l:L:m:M:n:NOpPqrRsSt:uvw:W:xyzZ"; /* set default parameters */ params->verbose = 0; /* -v */ @@ -2070,6 +2104,7 @@ static void get_params (int argc, char **argv, params->wait_on_start = 0; /* -W %d */ params->wait_on_exit = 0; /* -W %d */ params->use_small_messages = 0; /* -y */ + params->use_multi_devices = 0; /* -N */ #if defined(MPI_STRESS_CUDA) || defined(MPI_STRESS_ONEAPI) params->use_gpu_send = 1; /* D D */ params->use_gpu_recv = 1; @@ -2162,6 +2197,12 @@ static void get_params (int argc, char **argv, params->repeats = mystrtoul(optarg, NULL, 0); break; } +#ifdef MPI_STRESS_ONEAPI + case 'N' : { + params->use_multi_devices = 1; + break; + } +#endif case 'O' : { params->show_options = 1; break; @@ -2363,6 +2404,7 @@ static void get_params (int argc, char **argv, printf("Option align = %u\n", (unsigned) params->align); printf("Option mpi_send_fn_name = %s\n", params->mpi_send_fn_name); printf("Option max_errors = %d\n", params->max_errors); + printf("Option use_multi_devices = %d\n", params->use_multi_devices); } if (!run) { done: @@ -2379,22 +2421,27 @@ int main (int argc, char **argv) uint32_t r; int running; double start, end, now; + int rank = 0; + char * rank_str; DEFAULT_MIN_MSG_SIZE = ceilpow2(sizeof(msg_hdr_t)); + if ((rank_str = getenv("OMPI_COMM_WORLD_LOCAL_RANK")) != NULL) + rank = atoi(rank_str); + else if ((rank_str = getenv("MV2_COMM_WORLD_LOCAL_RANK")) != NULL) + rank = atoi(rank_str); + else if ((rank_str = getenv("MPI_LOCALRANKID")) != NULL) + rank = atoi(rank_str); + else if ((rank_str = getenv("PMI_RANK")) != NULL) + rank = atoi(rank_str); + #ifdef MPI_STRESS_CUDA - int rank, num_devices, dev_id; - char * rank_str; + int num_devices, dev_id; struct cudaDeviceProp dev_prop; CUresult curesult = CUDA_SUCCESS; CUdevice cuDevice; CUcontext cuContext; - if ((rank_str = getenv("OMPI_COMM_WORLD_LOCAL_RANK")) != NULL) - rank = atoi(rank_str); - else if ((rank_str = getenv("MV2_COMM_WORLD_LOCAL_RANK")) != NULL) - rank = atoi(rank_str); - /* CUDA INIALIZATION */ CUDA_CALL(cudaGetDeviceCount, &num_devices); if (num_devices < 1) { @@ -2450,38 +2497,27 @@ int main (int argc, char **argv) int i; int devCnt; - int rank = 0; - char *rank_str; - uint32_t ze_driver_count = 1, ze_device_count = 1; - - if ((rank_str = getenv("OMPI_COMM_WORLD_LOCAL_RANK")) != NULL) - rank = atoi(rank_str); - else if ((rank_str = getenv("MV2_COMM_WORLD_LOCAL_RANK")) != NULL) - rank = atoi(rank_str); - else if ((rank_str = getenv("MPI_LOCALRANKID")) != NULL) - rank = atoi(rank_str); - else if ((rank_str = getenv("PMI_RANK")) != NULL) - rank = atoi(rank_str); + uint32_t ze_driver_count = 1, ze_device_count = 0; MPI_STRESS_ONEAPI_ZE_CALL(zeDriverGet, &ze_driver_count, &ze_driver); ze_context_desc_t ctxtDesc = { ZE_STRUCTURE_TYPE_CONTEXT_DESC, NULL, 0 }; MPI_STRESS_ONEAPI_ZE_CALL(zeContextCreate, ze_driver, &ctxtDesc, &ze_context); - ze_device_count = 0; MPI_STRESS_ONEAPI_ZE_CALL(zeDeviceGet, ze_driver, &ze_device_count, NULL); if (ze_device_count > MAX_ZE_DEVICES) ze_device_count = MAX_ZE_DEVICES; MPI_STRESS_ONEAPI_ZE_CALL(zeDeviceGet, ze_driver, &ze_device_count, devices); - for (i = 0; i < ze_device_count; i++) + for (i = 0; i < ze_device_count; i++) { oneapi_ze_cmd_create(devices[i], &ze_devices[i]); + ze_devices[i].dev_inx = i; + } devCnt = ze_device_count; i = rank % devCnt; /* Get device id based on rank and number of suitable devices */ cur_ze_dev = &ze_devices[i]; - ze_cq = cur_ze_dev->cq; - ze_cl = cur_ze_dev->cl; + ze_dev_cnt = ze_device_count; #endif MPI_Init(&argc, &argv); @@ -2497,6 +2533,10 @@ int main (int argc, char **argv) printf("Rank %d: Using OneAPI Device %d (%d total)\n", comm_rank, i, devCnt); #endif +#ifdef MPI_STRESS_ONEAPI + if (devCnt > 1 && params.use_multi_devices) + ze_use_multi_dev = 1; +#endif if (params.wait_on_start) { if (comm_rank == 0) { printf("Wait for %d seconds at start\n", params.wait_on_start); @@ -2569,8 +2609,10 @@ int main (int argc, char **argv) } #endif #ifdef MPI_STRESS_ONEAPI - MPI_STRESS_ONEAPI_ZE_CALL(zeCommandListDestroy, ze_cl); - MPI_STRESS_ONEAPI_ZE_CALL(zeCommandQueueDestroy, ze_cq); + for (i = 0; i < ze_device_count; i++) { + MPI_STRESS_ONEAPI_ZE_CALL(zeCommandListDestroy, ze_devices[i].cl); + MPI_STRESS_ONEAPI_ZE_CALL(zeCommandQueueDestroy, ze_devices[i].cq); + } MPI_STRESS_ONEAPI_ZE_CALL(zeContextDestroy, ze_context); #endif diff --git a/debian/changelog b/debian/changelog index 53ac601..6729415 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -eth-mpi-apps (11.5.0.0-172) unstable; urgency=medium +eth-mpi-apps (11.7.0.0-110) unstable; urgency=medium * Initial release