impi-devel 2021.16.0__py2.py3-none-manylinux_2_28_x86_64.whl → 2021.17.0__py2.py3-none-manylinux_2_28_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of impi-devel might be problematic. Click here for more details.
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpif77 +1 -1
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpif90 +61 -98
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpigcc +29 -7
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpigxx +31 -6
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpiicpx +1 -1
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpiicx +26 -5
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpiifx +1 -1
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/10.2.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/10.2.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/10.2.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/10.2.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/10.2.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/11.1.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/11.1.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/11.1.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/11.1.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/11.1.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/12.4.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/12.4.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/12.4.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/12.4.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/12.4.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/13.3.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/13.3.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/13.3.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/13.3.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/13.3.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/14.2.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/14.2.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/14.2.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/14.2.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/14.2.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/15.1.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/15.1.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/15.1.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/15.1.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/15.1.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/7.1.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/7.1.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/7.1.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/7.1.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/7.1.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/8.2.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/8.2.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/8.2.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/8.2.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/8.2.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/9.1.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/9.1.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/9.1.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/9.1.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/gfortran/9.1.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/10.2.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/10.2.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/10.2.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/10.2.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/10.2.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/11.1.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/11.1.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/11.1.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/11.1.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/11.1.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/12.4.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/12.4.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/12.4.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/12.4.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/12.4.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/13.3.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/13.3.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/13.3.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/13.3.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/13.3.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/14.2.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/14.2.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/14.2.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/14.2.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/14.2.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/15.1.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/15.1.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/15.1.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/15.1.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/15.1.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/7.1.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/7.1.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/7.1.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/7.1.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/7.1.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/8.2.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/8.2.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/8.2.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/8.2.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/8.2.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/9.1.0/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/9.1.0/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/9.1.0/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/9.1.0/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/gfortran/9.1.0/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/ilp64/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/mpi.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/mpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/mpi_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/mpi_f08.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/mpi_f08_callbacks.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/mpi_f08_compile_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/mpi_f08_link_constants.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/mpi_f08_types.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/mpi_sizeofs.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/pmpi_base.mod +0 -0
- impi_devel-2021.17.0.data/data/include/mpi/pmpi_f08.mod +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/include/mpi.h +1205 -736
- impi_devel-2021.17.0.data/data/include/mpi_abi.h +2057 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/include/mpif.h +14 -2
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/include/mpio.h +4 -2
- impi_devel-2021.17.0.data/data/include/mpiof.h +113 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/share/doc/mpi/licensing/third-party-programs.txt +1 -1
- {impi_devel-2021.16.0.dist-info → impi_devel-2021.17.0.dist-info}/METADATA +2 -2
- impi_devel-2021.17.0.dist-info/RECORD +133 -0
- impi_devel-2021.16.0.dist-info/RECORD +0 -25
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpicc +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpicxx +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpifc +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpiicc +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpiicpc +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/bin/mpiifort +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/include/mpicxx.h +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/opt/mpi/bin/mpiptx +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/share/doc/mpi/licensing/license.txt +0 -0
- {impi_devel-2021.16.0.dist-info → impi_devel-2021.17.0.dist-info}/LICENSE.txt +0 -0
- {impi_devel-2021.16.0.dist-info → impi_devel-2021.17.0.dist-info}/WHEEL +0 -0
- {impi_devel-2021.16.0.dist-info → impi_devel-2021.17.0.dist-info}/top_level.txt +0 -0
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
# Directory locations: Fixed for any MPI implementation.
|
|
97
97
|
# Set from the directory arguments to configure (e.g., --prefix=/usr/local)
|
|
98
98
|
prefix=I_MPI_SUBSTITUTE_INSTALLDIR
|
|
99
|
-
# The environment variable I_MPI_ROOT may be used to override installation folder path
|
|
99
|
+
# The environment variable I_MPI_ROOT may be used to override installation folder path
|
|
100
100
|
if [ -n "${I_MPI_ROOT}" ] ; then
|
|
101
101
|
prefix="${I_MPI_ROOT}";
|
|
102
102
|
fi
|
|
@@ -140,7 +140,7 @@ FCMODINCSPEC=""
|
|
|
140
140
|
FCEXT="f90"
|
|
141
141
|
MPICH_VERSION="3.4a2"
|
|
142
142
|
FCFLAGS=""
|
|
143
|
-
MPIVERSION="2021.
|
|
143
|
+
MPIVERSION="2021.17"
|
|
144
144
|
MPILIBNAME="mpi"
|
|
145
145
|
enable_wrapper_rpath="@enable_wrapper_rpath@"
|
|
146
146
|
|
|
@@ -221,7 +221,7 @@ if [ -n "$I_MPI_FCFLAGS" ] ; then
|
|
|
221
221
|
FCFLAGS=" "$I_MPI_FCFLAGS
|
|
222
222
|
fi
|
|
223
223
|
if [ -n "$I_MPI_LDFLAGS" ] ; then
|
|
224
|
-
LDFLAGS=" -ldl "$I_MPI_LDFLAGS
|
|
224
|
+
LDFLAGS=" -ldl "$I_MPI_LDFLAGS
|
|
225
225
|
fi
|
|
226
226
|
if [ -n "$I_MPI_F90" ] ; then
|
|
227
227
|
FC="$I_MPI_F90"
|
|
@@ -235,7 +235,7 @@ else
|
|
|
235
235
|
FC="$MPICH_FC"
|
|
236
236
|
FCname=`echo $FC | sed 's/ /-/g'`
|
|
237
237
|
if [ -s $sysconfdir/mpifort-$FCname.conf ] ; then
|
|
238
|
-
. $sysconfdir/mpifort-$FCname.conf
|
|
238
|
+
. $sysconfdir/mpifort-$FCname.conf
|
|
239
239
|
fi
|
|
240
240
|
fi
|
|
241
241
|
fi
|
|
@@ -301,7 +301,7 @@ for arg in "$@" ; do
|
|
|
301
301
|
executable=$arg
|
|
302
302
|
handle_executable=
|
|
303
303
|
fi
|
|
304
|
-
case "$arg" in
|
|
304
|
+
case "$arg" in
|
|
305
305
|
# ----------------------------------------------------------------
|
|
306
306
|
# Compiler options that affect whether we are linking or no
|
|
307
307
|
-c|-S|-E|-M|-MM)
|
|
@@ -391,13 +391,13 @@ for arg in "$@" ; do
|
|
|
391
391
|
# Print mini-help if started without parameters
|
|
392
392
|
echo "Simple script to compile and/or link MPI programs."
|
|
393
393
|
echo "Usage: `basename $0` [options] <files>"
|
|
394
|
-
echo "----------------------------------------------------------------------------"
|
|
394
|
+
echo "----------------------------------------------------------------------------"
|
|
395
395
|
echo "The following options are supported:"
|
|
396
396
|
echo " -fc=<name> | -f90=<name>"
|
|
397
397
|
echo " specify a FORTRAN compiler name: i.e. -fc=gfortran"
|
|
398
398
|
echo " -echo print the scripts during their execution"
|
|
399
399
|
echo " -show show command lines without real calling"
|
|
400
|
-
echo " -config=<name> specify a configuration file: i.e. -config=gfortran for mpif90-gfortran.conf file"
|
|
400
|
+
echo " -config=<name> specify a configuration file: i.e. -config=gfortran for mpif90-gfortran.conf file"
|
|
401
401
|
echo " -v print version info of $(basename $0) and its native compiler"
|
|
402
402
|
echo " -profile=<name> specify a profile configuration file (an MPI profiling"
|
|
403
403
|
echo " library): i.e. -profile=myprofile for the myprofile.cfg file."
|
|
@@ -422,14 +422,14 @@ for arg in "$@" ; do
|
|
|
422
422
|
echo " i.e -link_mpi=opt|opt_mt|dbg|dbg_mt"
|
|
423
423
|
echo " -norpath disable rpath for compiler wrapper of the Intel(R) MPI Library"
|
|
424
424
|
echo "All other options will be passed to the compiler without changing."
|
|
425
|
-
echo "----------------------------------------------------------------------------"
|
|
425
|
+
echo "----------------------------------------------------------------------------"
|
|
426
426
|
echo "The following environment variables are used:"
|
|
427
|
-
echo " I_MPI_ROOT the Intel(R) MPI Library installation directory path"
|
|
428
|
-
echo " I_MPI_F90 or MPICH_F90"
|
|
427
|
+
echo " I_MPI_ROOT the Intel(R) MPI Library installation directory path"
|
|
428
|
+
echo " I_MPI_F90 or MPICH_F90"
|
|
429
429
|
echo " the path/name of the underlying compiler to be used"
|
|
430
|
-
echo " I_MPI_FC_PROFILE or I_MPI_F90_PROFILE or MPIF90_PROFILE"
|
|
431
|
-
echo " the name of profile file (without extension)"
|
|
432
|
-
echo " I_MPI_COMPILER_CONFIG_DIR"
|
|
430
|
+
echo " I_MPI_FC_PROFILE or I_MPI_F90_PROFILE or MPIF90_PROFILE"
|
|
431
|
+
echo " the name of profile file (without extension)"
|
|
432
|
+
echo " I_MPI_COMPILER_CONFIG_DIR"
|
|
433
433
|
echo " the folder which contains configuration files *.conf"
|
|
434
434
|
echo " I_MPI_TRACE_PROFILE"
|
|
435
435
|
echo " specify a default profile for the -trace option"
|
|
@@ -441,8 +441,8 @@ for arg in "$@" ; do
|
|
|
441
441
|
echo " I_MPI_FCFLAGS"
|
|
442
442
|
echo " special flags needed for compilation"
|
|
443
443
|
echo " I_MPI_LDFLAGS "
|
|
444
|
-
echo " special flags needed for linking"
|
|
445
|
-
echo "----------------------------------------------------------------------------"
|
|
444
|
+
echo " special flags needed for linking"
|
|
445
|
+
echo "----------------------------------------------------------------------------"
|
|
446
446
|
exit 0
|
|
447
447
|
;;
|
|
448
448
|
-nolinkage)
|
|
@@ -491,39 +491,39 @@ for arg in "$@" ; do
|
|
|
491
491
|
;;
|
|
492
492
|
-check_mpi)
|
|
493
493
|
if [ -z "$profConf" ]; then
|
|
494
|
-
if [ -z "$I_MPI_CHECK_PROFILE" ]; then
|
|
495
|
-
profConf="vtmc"
|
|
496
|
-
else
|
|
497
|
-
profConf="$I_MPI_CHECK_PROFILE"
|
|
494
|
+
if [ -z "$I_MPI_CHECK_PROFILE" ]; then
|
|
495
|
+
profConf="vtmc"
|
|
496
|
+
else
|
|
497
|
+
profConf="$I_MPI_CHECK_PROFILE"
|
|
498
498
|
fi
|
|
499
499
|
else
|
|
500
500
|
echo "Warning: the -check_mpi option will be ignored because the profile was set."
|
|
501
|
-
fi
|
|
502
|
-
addarg=no
|
|
503
|
-
;;
|
|
501
|
+
fi
|
|
502
|
+
addarg=no
|
|
503
|
+
;;
|
|
504
504
|
-nativelinking)
|
|
505
505
|
# Internal option to use native compiler for linking without MPI libraries
|
|
506
506
|
nativelinking=yes
|
|
507
507
|
addarg=no
|
|
508
508
|
;;
|
|
509
|
-
-trace-imbalance)
|
|
509
|
+
-trace-imbalance)
|
|
510
510
|
if [ -z "$profConf" ]; then
|
|
511
|
-
profConf="vtim"
|
|
511
|
+
profConf="vtim"
|
|
512
512
|
else
|
|
513
|
-
echo "Warning: the -trace-imbalance option will be ignored because the profile was set."
|
|
514
|
-
fi
|
|
515
|
-
addarg=no
|
|
513
|
+
echo "Warning: the -trace-imbalance option will be ignored because the profile was set."
|
|
514
|
+
fi
|
|
515
|
+
addarg=no
|
|
516
516
|
;;
|
|
517
|
-
-t | -trace | -t=* | -trace=* )
|
|
517
|
+
-t | -trace | -t=* | -trace=* )
|
|
518
518
|
if [ -z "$profConf" ]; then
|
|
519
|
-
if [ -z "$I_MPI_TRACE_PROFILE" ]; then
|
|
520
|
-
profConf="vt"
|
|
521
|
-
else
|
|
522
|
-
profConf="$I_MPI_TRACE_PROFILE"
|
|
523
|
-
fi
|
|
519
|
+
if [ -z "$I_MPI_TRACE_PROFILE" ]; then
|
|
520
|
+
profConf="vt"
|
|
521
|
+
else
|
|
522
|
+
profConf="$I_MPI_TRACE_PROFILE"
|
|
523
|
+
fi
|
|
524
524
|
else
|
|
525
525
|
echo "Warning: the -trace option will be ignored because the profile was set."
|
|
526
|
-
fi
|
|
526
|
+
fi
|
|
527
527
|
addarg=no
|
|
528
528
|
;;
|
|
529
529
|
-fc=*)
|
|
@@ -547,20 +547,20 @@ for arg in "$@" ; do
|
|
|
547
547
|
no_rpath=yes
|
|
548
548
|
addarg=no
|
|
549
549
|
;;
|
|
550
|
-
# Other arguments. We are careful to handle arguments with
|
|
551
|
-
# quotes (we try to quote all arguments in case they include
|
|
550
|
+
# Other arguments. We are careful to handle arguments with
|
|
551
|
+
# quotes (we try to quote all arguments in case they include
|
|
552
552
|
# any spaces)
|
|
553
|
-
*\"*)
|
|
553
|
+
*\"*)
|
|
554
554
|
qarg="'"$arg"'"
|
|
555
|
-
case $arg in
|
|
555
|
+
case $arg in
|
|
556
556
|
-D*)
|
|
557
557
|
cppflags="$cppflags $qarg"
|
|
558
558
|
;;
|
|
559
559
|
esac
|
|
560
560
|
;;
|
|
561
|
-
*\'*)
|
|
561
|
+
*\'*)
|
|
562
562
|
qarg=`echo \"$arg\"`
|
|
563
|
-
case $arg in
|
|
563
|
+
case $arg in
|
|
564
564
|
-D*)
|
|
565
565
|
cppflags="$cppflags $qarg"
|
|
566
566
|
;;
|
|
@@ -578,14 +578,14 @@ for arg in "$@" ; do
|
|
|
578
578
|
;;
|
|
579
579
|
*.F|*.F90|.fpp|.FPP)
|
|
580
580
|
# If FCCPP is not empty, then we need to do the following:
|
|
581
|
-
# If any input files have the .F or .F90 extension, then
|
|
581
|
+
# If any input files have the .F or .F90 extension, then
|
|
582
582
|
# If FCCPP = false, then
|
|
583
583
|
# generate an error message and exit
|
|
584
|
-
# Use FCCPP to convert the file from .F to .f, using
|
|
584
|
+
# Use FCCPP to convert the file from .F to .f, using
|
|
585
585
|
# $TMPDIR/f$$-$count.f as the output file name
|
|
586
586
|
# Replace the input file with this name in the args
|
|
587
587
|
# This is needed only for very broken systems
|
|
588
|
-
#
|
|
588
|
+
#
|
|
589
589
|
if [ -n "$FCCPP" ] ; then
|
|
590
590
|
if [ "$FCCPP" = "false" ] ; then
|
|
591
591
|
echo "This Fortran compiler does not accept .F or .F90 files"
|
|
@@ -595,7 +595,7 @@ for arg in "$@" ; do
|
|
|
595
595
|
# Remove and directory names and extension
|
|
596
596
|
$ext=`expr "$arg" : '.*\(\..*\)'`
|
|
597
597
|
bfile=`basename $arg $ext`
|
|
598
|
-
#
|
|
598
|
+
#
|
|
599
599
|
TMPDIR=${TMPDIR:-/tmp}
|
|
600
600
|
# Make sure that we use a valid extension for the temp file.
|
|
601
601
|
tmpfile=$TMPDIR/f$$-$bfile.$FCEXT
|
|
@@ -632,7 +632,7 @@ fi
|
|
|
632
632
|
|
|
633
633
|
if [ -n "$mpilib_override" ] ; then
|
|
634
634
|
case "$mpilib_override" in
|
|
635
|
-
opt )
|
|
635
|
+
opt )
|
|
636
636
|
MPILIBDIR=${release_lib_dir}
|
|
637
637
|
;;
|
|
638
638
|
opt_mt )
|
|
@@ -656,49 +656,9 @@ gfort_ver=`$FC --version | head -n 1 | cut -d '(' -f1,2 | sed -e 's/\[.*//' | se
|
|
|
656
656
|
if [ -n "$gfort_ver" ]; then
|
|
657
657
|
#gfort_ver=`echo $gfort_ver | sed -e 's/gcc version //' | awk '{print $1}'`
|
|
658
658
|
major=`echo $gfort_ver | awk -F. '{print $1}'`
|
|
659
|
-
mid=`echo $gfort_ver | awk -F. '{print $2}'`
|
|
660
|
-
low=`echo $gfort_ver | awk -F. '{print $3}'`
|
|
659
|
+
mid=`echo $gfort_ver | awk -F. '{print $2}'`
|
|
660
|
+
low=`echo $gfort_ver | awk -F. '{print $3}'`
|
|
661
661
|
case "$major" in
|
|
662
|
-
4 )
|
|
663
|
-
case "$mid" in
|
|
664
|
-
0 )
|
|
665
|
-
if [ $low -eq 0 -o $low -eq 1 ]; then
|
|
666
|
-
gver="/4.0.0"
|
|
667
|
-
else
|
|
668
|
-
gver="/4.0.2"
|
|
669
|
-
fi
|
|
670
|
-
;;
|
|
671
|
-
8 )
|
|
672
|
-
gver="/4.8.0"
|
|
673
|
-
;;
|
|
674
|
-
9 )
|
|
675
|
-
gver="/4.9.0"
|
|
676
|
-
;;
|
|
677
|
-
* )
|
|
678
|
-
gver="/4.9.0"
|
|
679
|
-
;;
|
|
680
|
-
esac
|
|
681
|
-
;;
|
|
682
|
-
5 )
|
|
683
|
-
case "$mid" in
|
|
684
|
-
1 )
|
|
685
|
-
gver="/5.1.0"
|
|
686
|
-
;;
|
|
687
|
-
* )
|
|
688
|
-
gver="/5.1.0"
|
|
689
|
-
;;
|
|
690
|
-
esac
|
|
691
|
-
;;
|
|
692
|
-
6 )
|
|
693
|
-
case "$mid" in
|
|
694
|
-
1 )
|
|
695
|
-
gver="/6.1.0"
|
|
696
|
-
;;
|
|
697
|
-
* )
|
|
698
|
-
gver="/6.1.0"
|
|
699
|
-
;;
|
|
700
|
-
esac
|
|
701
|
-
;;
|
|
702
662
|
7 )
|
|
703
663
|
case "$mid" in
|
|
704
664
|
1 )
|
|
@@ -748,16 +708,19 @@ if [ -n "$gfort_ver" ]; then
|
|
|
748
708
|
gver="/11.1.0"
|
|
749
709
|
;;
|
|
750
710
|
esac
|
|
751
|
-
;;
|
|
711
|
+
;;
|
|
752
712
|
12 )
|
|
753
713
|
gver="/12.4.0"
|
|
754
|
-
;;
|
|
714
|
+
;;
|
|
755
715
|
13 )
|
|
756
716
|
gver="/13.3.0"
|
|
757
|
-
;;
|
|
717
|
+
;;
|
|
758
718
|
14 )
|
|
759
719
|
gver="/14.2.0"
|
|
760
|
-
;;
|
|
720
|
+
;;
|
|
721
|
+
15 )
|
|
722
|
+
gver="/15.1.0"
|
|
723
|
+
;;
|
|
761
724
|
* )
|
|
762
725
|
gver=""
|
|
763
726
|
;;
|
|
@@ -807,7 +770,7 @@ if [ -n "$profConf" ] ; then
|
|
|
807
770
|
profConffile=
|
|
808
771
|
if [ -s "$libdir/lib$profConf.a" -o -s "$libdir/lib$profConf.so" ] ; then
|
|
809
772
|
PROFILE_FOO="-l$profConf"
|
|
810
|
-
mpilibs="-l$profConf $mpilibs"
|
|
773
|
+
mpilibs="-l$profConf $mpilibs"
|
|
811
774
|
elif [ -s "$sysconfdir/$profConf.conf" ] ; then
|
|
812
775
|
profConffile="$sysconfdir/$profConf.conf"
|
|
813
776
|
elif [ -s "$profConf.conf" ] ; then
|
|
@@ -817,11 +780,11 @@ if [ -n "$profConf" ] ; then
|
|
|
817
780
|
fi
|
|
818
781
|
if [ -n "$profConffile" -a -s "$profConffile" ] ; then
|
|
819
782
|
. $profConffile
|
|
820
|
-
if [ -n "$PROFILE_INCPATHS" ] ; then
|
|
821
|
-
CFLAGS="$PROFILE_INCPATHS $CFLAGS"
|
|
822
|
-
fi
|
|
823
|
-
if [ -n "$PROFILE_PRELIB" ] ; then
|
|
824
|
-
mpilibs="$PROFILE_PRELIB $mpilibs"
|
|
783
|
+
if [ -n "$PROFILE_INCPATHS" ] ; then
|
|
784
|
+
CFLAGS="$PROFILE_INCPATHS $CFLAGS"
|
|
785
|
+
fi
|
|
786
|
+
if [ -n "$PROFILE_PRELIB" ] ; then
|
|
787
|
+
mpilibs="$PROFILE_PRELIB $mpilibs"
|
|
825
788
|
fi
|
|
826
789
|
if [ -n "$PROFILE_POSTLIB" ] ; then
|
|
827
790
|
mpilibs="$mpilibs $PROFILE_POSTLIB"
|
|
@@ -910,7 +873,7 @@ if [ -n "$rmfiles" ] ; then
|
|
|
910
873
|
for file in $rmfiles ; do
|
|
911
874
|
objfile=`basename $file .f`
|
|
912
875
|
if [ -s "${objfile}.o" ] ; then
|
|
913
|
-
# Rename
|
|
876
|
+
# Rename
|
|
914
877
|
destfile=`echo $objfile | sed -e "s/.*$$-//"`
|
|
915
878
|
mv -f ${objfile}.o ${destfile}.o
|
|
916
879
|
fi
|
|
@@ -126,7 +126,7 @@ CC="gcc"
|
|
|
126
126
|
MPICH_VERSION="3.4a2"
|
|
127
127
|
CFLAGS=""
|
|
128
128
|
CPPFLAGS=""
|
|
129
|
-
MPIVERSION="2021.
|
|
129
|
+
MPIVERSION="2021.17"
|
|
130
130
|
MPILIBNAME="mpi"
|
|
131
131
|
|
|
132
132
|
|
|
@@ -173,6 +173,7 @@ static_log=yes
|
|
|
173
173
|
ilp64=no
|
|
174
174
|
trace_opt=no
|
|
175
175
|
no_rpath=no
|
|
176
|
+
mpi_abi=no
|
|
176
177
|
# Attempt to construct dynamic loading info, based on the user
|
|
177
178
|
# preference of rpath, runpath or none and on the detected libdir
|
|
178
179
|
# flags.
|
|
@@ -355,6 +356,10 @@ for arg in "$@" ; do
|
|
|
355
356
|
addarg=no
|
|
356
357
|
# Loading the profConf file is handled below
|
|
357
358
|
;;
|
|
359
|
+
-mpi-abi|-mpi_abi)
|
|
360
|
+
mpi_abi=yes
|
|
361
|
+
addarg=no
|
|
362
|
+
;;
|
|
358
363
|
-help)
|
|
359
364
|
# Print mini-help if started without parameters
|
|
360
365
|
echo "Simple script to compile and/or link MPI programs."
|
|
@@ -389,6 +394,7 @@ for arg in "$@" ; do
|
|
|
389
394
|
echo " link against the specified version of the Intel(R) MPI Library"
|
|
390
395
|
echo " i.e -link_mpi=opt|opt_mt|dbg|dbg_mt"
|
|
391
396
|
echo " -norpath disable rpath for compiler wrapper of the Intel(R) MPI Library"
|
|
397
|
+
echo " -mpi-abi Compile and link using the standard MPI-5.0 ABI."
|
|
392
398
|
echo "All other options will be passed to the compiler without changing."
|
|
393
399
|
echo "----------------------------------------------------------------------------"
|
|
394
400
|
echo "The following environment variables are used:"
|
|
@@ -538,6 +544,22 @@ if [ -n "$mpilib_override" ] ; then
|
|
|
538
544
|
fi
|
|
539
545
|
# -----------------------------------------------------------------------
|
|
540
546
|
|
|
547
|
+
abi_cflags=
|
|
548
|
+
if [ "$mpi_abi" = yes ] ; then
|
|
549
|
+
abi_cflags="-DMPI_ABI"
|
|
550
|
+
MPILIBNAME=mpi_abi
|
|
551
|
+
fortran_binding=no
|
|
552
|
+
|
|
553
|
+
if [ "$static_mpi" = yes ] ; then
|
|
554
|
+
echo "Error: the -mpi_abi option is not supported for static build."
|
|
555
|
+
exit 1
|
|
556
|
+
fi
|
|
557
|
+
if [ "$ilp64" = yes ]; then
|
|
558
|
+
echo "Error: the -mpi_abi option is not supported for ILP64 build."
|
|
559
|
+
exit 1
|
|
560
|
+
fi
|
|
561
|
+
fi
|
|
562
|
+
|
|
541
563
|
if [ "$static_mpi" = yes ] ; then
|
|
542
564
|
if [ "x$fortran_binding" = "x" ]; then
|
|
543
565
|
mpilibs="${libdir}/libmpifort.a ${libdir}${MPILIBDIR}/lib${MPILIBNAME}.a"
|
|
@@ -546,10 +568,10 @@ if [ "$static_mpi" = yes ] ; then
|
|
|
546
568
|
fi
|
|
547
569
|
I_MPI_OTHERLIBS=" -lrt -lpthread "
|
|
548
570
|
if [ "$ilp64" = yes ]; then
|
|
549
|
-
|
|
571
|
+
mpilibs="$libdir/libmpi_ilp64.a $mpilibs"
|
|
550
572
|
fi
|
|
551
573
|
if [ "x$strip_debug_info" = "x" ] ; then
|
|
552
|
-
|
|
574
|
+
strip_debug_info=yes
|
|
553
575
|
fi
|
|
554
576
|
else
|
|
555
577
|
if [ "x$fortran_binding" = "x" ]; then
|
|
@@ -559,7 +581,7 @@ else
|
|
|
559
581
|
fi
|
|
560
582
|
I_MPI_OTHERLIBS=" -lrt -lpthread "
|
|
561
583
|
if [ "$ilp64" = yes ]; then
|
|
562
|
-
|
|
584
|
+
mpilibs="-lmpi_ilp64 $mpilibs"
|
|
563
585
|
fi
|
|
564
586
|
fi
|
|
565
587
|
|
|
@@ -599,7 +621,7 @@ final_cflags=" "
|
|
|
599
621
|
if [ "${static_mpi}" = "yes" ] ; then
|
|
600
622
|
final_cflags=" -Xlinker --export-dynamic "
|
|
601
623
|
else
|
|
602
|
-
final_cflags="
|
|
624
|
+
final_cflags=" ${abi_cflags}"
|
|
603
625
|
fi
|
|
604
626
|
final_cppflags=" "
|
|
605
627
|
final_ldflags=" -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Xlinker --enable-new-dtags -ldl "
|
|
@@ -628,7 +650,7 @@ if [ "$linking" = yes ] ; then
|
|
|
628
650
|
$Show $CC ${final_cppflags} $PROFILE_INCPATHS ${final_cflags} ${final_ldflags} $allargs -I\"${includedir}\"
|
|
629
651
|
rc=$?
|
|
630
652
|
else
|
|
631
|
-
$Show $CC $CPPFLAGS $CFLAGS $allargs -I\"${includedir}\" -L\"${libdir}${MPILIBDIR}\" -L\"${libdir}\" $rpath_opt $mpilibs $I_MPI_OTHERLIBS ${final_ldflags}
|
|
653
|
+
$Show $CC $CPPFLAGS $CFLAGS ${abi_cflags} $allargs -I\"${includedir}\" -L\"${libdir}${MPILIBDIR}\" -L\"${libdir}\" $rpath_opt $mpilibs $I_MPI_OTHERLIBS ${final_ldflags}
|
|
632
654
|
rc=$?
|
|
633
655
|
|
|
634
656
|
if [ $rc -eq 0 -a "x$strip_debug_info" = "xyes" ] ; then
|
|
@@ -649,7 +671,7 @@ if [ "$linking" = yes ] ; then
|
|
|
649
671
|
# fi
|
|
650
672
|
fi
|
|
651
673
|
else
|
|
652
|
-
cmd_line="$CC $CPPFLAGS $CFLAGS $allargs -I\"${includedir}\""
|
|
674
|
+
cmd_line="$CC $CPPFLAGS $CFLAGS ${abi_cflags} $allargs -I\"${includedir}\""
|
|
653
675
|
if [ "$Show" = echo ] ; then
|
|
654
676
|
echo $cmd_line
|
|
655
677
|
else
|
|
@@ -123,7 +123,7 @@ fi
|
|
|
123
123
|
CXX="g++"
|
|
124
124
|
MPICH_VERSION="3.4a2"
|
|
125
125
|
CXXFLAGS=""
|
|
126
|
-
MPIVERSION="2021.
|
|
126
|
+
MPIVERSION="2021.17"
|
|
127
127
|
MPILIBNAME="mpi"
|
|
128
128
|
MPICXXLIBNAME="mpicxx"
|
|
129
129
|
|
|
@@ -171,6 +171,7 @@ static_log=yes
|
|
|
171
171
|
ilp64=no
|
|
172
172
|
trace_opt=no
|
|
173
173
|
no_rpath=no
|
|
174
|
+
mpi_abi=no
|
|
174
175
|
# Attempt to construct dynamic loading info, based on the user
|
|
175
176
|
# preference of rpath, runpath or none and on the detected libdir
|
|
176
177
|
# flags.
|
|
@@ -357,6 +358,10 @@ for arg in "$@" ; do
|
|
|
357
358
|
addarg=no
|
|
358
359
|
# Loading the profConf file is handled below
|
|
359
360
|
;;
|
|
361
|
+
-mpi-abi|-mpi_abi)
|
|
362
|
+
mpi_abi=yes
|
|
363
|
+
addarg=no
|
|
364
|
+
;;
|
|
360
365
|
-help)
|
|
361
366
|
# Print mini-help if started without parameters
|
|
362
367
|
echo "Simple script to compile and/or link MPI programs."
|
|
@@ -391,6 +396,7 @@ for arg in "$@" ; do
|
|
|
391
396
|
echo " link against the specified version of the Intel(R) MPI Library"
|
|
392
397
|
echo " i.e -link_mpi=opt|opt_mt|dbg|dbg_mt"
|
|
393
398
|
echo " -norpath disable rpath for compiler wrapper of the Intel(R) MPI Library"
|
|
399
|
+
echo " -mpi-abi Compile and link using the standard MPI-5.0 ABI."
|
|
394
400
|
echo "All other options will be passed to the compiler without changing."
|
|
395
401
|
echo "----------------------------------------------------------------------------"
|
|
396
402
|
echo "The following environment variables are used:"
|
|
@@ -539,6 +545,22 @@ if [ -n "$mpilib_override" ] ; then
|
|
|
539
545
|
esac
|
|
540
546
|
fi
|
|
541
547
|
# -----------------------------------------------------------------------
|
|
548
|
+
abi_cflags=
|
|
549
|
+
if [ "$mpi_abi" = yes ] ; then
|
|
550
|
+
abi_cflags="-DMPI_ABI"
|
|
551
|
+
MPILIBNAME=mpi_abi
|
|
552
|
+
fortran_binding=no
|
|
553
|
+
|
|
554
|
+
if [ "$static_mpi" = yes ] ; then
|
|
555
|
+
echo "Error: the -mpi_abi option is not supported for static build."
|
|
556
|
+
exit 1
|
|
557
|
+
fi
|
|
558
|
+
if [ "$ilp64" = yes ]; then
|
|
559
|
+
echo "Error: the -mpi_abi option is not supported for ILP64 build."
|
|
560
|
+
exit 1
|
|
561
|
+
fi
|
|
562
|
+
fi
|
|
563
|
+
|
|
542
564
|
if [ "$static_mpi" = yes ] ; then
|
|
543
565
|
if [ "x$fortran_binding" = "x" ]; then
|
|
544
566
|
mpilibs="${libdir}/libmpifort.a ${libdir}${MPILIBDIR}/lib${MPILIBNAME}.a"
|
|
@@ -561,9 +583,12 @@ else
|
|
|
561
583
|
fi
|
|
562
584
|
I_MPI_OTHERLIBS=" -lrt -lpthread "
|
|
563
585
|
if [ "$ilp64" = yes ]; then
|
|
564
|
-
|
|
586
|
+
mpilibs="-lmpi_ilp64 $mpilibs"
|
|
565
587
|
fi
|
|
566
|
-
|
|
588
|
+
# MPI-2.0 CXX bindings are not supported with MPI-5.0 ABI
|
|
589
|
+
if [ "$mpi_abi" = no ] ; then
|
|
590
|
+
CXX_BIND_LIB="-lmpicxx"
|
|
591
|
+
fi
|
|
567
592
|
fi
|
|
568
593
|
# Derived variables. These are assembled from variables set from the
|
|
569
594
|
# default, environment, configuration file (if any) and command-line
|
|
@@ -608,7 +633,7 @@ fi
|
|
|
608
633
|
if [ "${static_mpi}" = "yes" ] ; then
|
|
609
634
|
final_cxxflags=" -Xlinker --export-dynamic "
|
|
610
635
|
else
|
|
611
|
-
final_cxxflags="
|
|
636
|
+
final_cxxflags=" ${abi_cflags}"
|
|
612
637
|
fi
|
|
613
638
|
|
|
614
639
|
final_cppflags=" "
|
|
@@ -629,7 +654,7 @@ if [ "$linking" = yes ] ; then
|
|
|
629
654
|
$Show $CXX ${final_cppflags} $PROFILE_INCPATHS ${final_cxxflags} ${final_ldflags} $allargs -I\"${includedir}\"
|
|
630
655
|
rc=$?
|
|
631
656
|
else
|
|
632
|
-
$Show $CXX $CXXFLAGS $allargs -I\"${includedir}\" -L\"${libdir}${MPILIBDIR}\" -L\"${libdir}\" $rpath_opt $shllibpath $cxxlibs $mpilibs $I_MPI_OTHERLIBS ${final_ldflags}
|
|
657
|
+
$Show $CXX $CXXFLAGS ${abi_cflags} $allargs -I\"${includedir}\" -L\"${libdir}${MPILIBDIR}\" -L\"${libdir}\" $rpath_opt $shllibpath $cxxlibs $mpilibs $I_MPI_OTHERLIBS ${final_ldflags}
|
|
633
658
|
rc=$?
|
|
634
659
|
if [ $rc -eq 0 -a "x$strip_debug_info" = "xyes" ] ; then
|
|
635
660
|
$Show objcopy --only-keep-debug ${executable} ${executable}.dbg
|
|
@@ -650,7 +675,7 @@ if [ "$linking" = yes ] ; then
|
|
|
650
675
|
# fi
|
|
651
676
|
# fi
|
|
652
677
|
else
|
|
653
|
-
cmd_line="$CXX ${
|
|
678
|
+
cmd_line="$CXX $CXXFLAGS ${abi_cflags} $PROFILE_INCPATHS ${final_cxxflags} $allargs -I\"${includedir}\""
|
|
654
679
|
if [ "$Show" = echo ] ; then
|
|
655
680
|
echo $cmd_line
|
|
656
681
|
else
|
|
@@ -129,7 +129,7 @@ MPILIBNAME="mpi"
|
|
|
129
129
|
MPICXXLIBNAME="mpicxx"
|
|
130
130
|
|
|
131
131
|
# MPIVERSION is the version of the Intel(R) MPI Library that mpiicpc is intended for
|
|
132
|
-
MPIVERSION="2021.
|
|
132
|
+
MPIVERSION="2021.17"
|
|
133
133
|
|
|
134
134
|
# Internal variables
|
|
135
135
|
# Show is set to echo to cause the compilation command to be echoed instead
|
|
@@ -131,7 +131,7 @@ LDFLAGS="-ldl"
|
|
|
131
131
|
MPILIBNAME="mpi"
|
|
132
132
|
|
|
133
133
|
# MPIVERSION is the version of the MPICH2 library that mpicc is intended for
|
|
134
|
-
MPIVERSION="2021.
|
|
134
|
+
MPIVERSION="2021.17"
|
|
135
135
|
#
|
|
136
136
|
# Internal variables
|
|
137
137
|
# Show is set to echo to cause the compilation command to be echoed instead
|
|
@@ -144,6 +144,7 @@ executable=a.out
|
|
|
144
144
|
ilp64=no
|
|
145
145
|
no_rpath=no
|
|
146
146
|
verbose=no
|
|
147
|
+
use_mpi_abi=no
|
|
147
148
|
#
|
|
148
149
|
# End of initialization of variables
|
|
149
150
|
#---------------------------------------------------------------------
|
|
@@ -319,6 +320,7 @@ for arg in "$@" ; do
|
|
|
319
320
|
echo " link against the specified version of the Intel(R) MPI Library"
|
|
320
321
|
echo " i.e -link_mpi=opt|opt_mt|dbg|dbg_mt"
|
|
321
322
|
echo " -norpath disable rpath for compiler wrapper of the Intel(R) MPI Library"
|
|
323
|
+
echo " -mpi-abi Compile and link using the standard MPI ABI."
|
|
322
324
|
echo "All other options will be passed to the compiler without changing."
|
|
323
325
|
echo "----------------------------------------------------------------------------"
|
|
324
326
|
echo "The following environment variables are used:"
|
|
@@ -415,6 +417,10 @@ for arg in "$@" ; do
|
|
|
415
417
|
no_rpath=yes
|
|
416
418
|
addarg=no
|
|
417
419
|
;;
|
|
420
|
+
-mpi-abi|-mpi_abi)
|
|
421
|
+
use_mpi_abi=yes
|
|
422
|
+
addarg=no
|
|
423
|
+
;;
|
|
418
424
|
# Other arguments. We are careful to handle arguments with
|
|
419
425
|
# quotes (we try to quote all arguments in case they include
|
|
420
426
|
# any spaces)
|
|
@@ -461,6 +467,10 @@ fi
|
|
|
461
467
|
# -----------------------------------------------------------------------
|
|
462
468
|
|
|
463
469
|
if [ "$static_mpi" = yes ] ; then
|
|
470
|
+
if [ "$ilp64" = yes ]; then
|
|
471
|
+
echo "Error: the -mpi-abi option is not supported for static builds."
|
|
472
|
+
exit 1
|
|
473
|
+
fi
|
|
464
474
|
mpilibs="${libdir}/libmpifort.a ${libdir}${MPILIBDIR}/lib${MPILIBNAME}.a"
|
|
465
475
|
I_MPI_OTHERLIBS=""
|
|
466
476
|
MPI_OTHERLIBS=" -lrt -lpthread "
|
|
@@ -471,12 +481,23 @@ if [ "$static_mpi" = yes ] ; then
|
|
|
471
481
|
strip_debug_info=yes
|
|
472
482
|
fi
|
|
473
483
|
else
|
|
474
|
-
|
|
484
|
+
if [ "$use_mpi_abi" = yes ]; then
|
|
485
|
+
mpilibs="-lmpi_abi"
|
|
486
|
+
CFLAGS="-DMPI_ABI $CFLAGS"
|
|
487
|
+
if [ "$ilp64" = yes ]; then
|
|
488
|
+
echo "Error: the -mpi-abi option is not supported for ILP64 builds."
|
|
489
|
+
exit 1
|
|
490
|
+
fi
|
|
491
|
+
else
|
|
492
|
+
mpilibs="-lmpifort -l$MPILIBNAME"
|
|
493
|
+
if [ "$ilp64" = yes ]; then
|
|
494
|
+
mpilibs="-lmpi_ilp64 $mpilibs"
|
|
495
|
+
fi
|
|
496
|
+
fi
|
|
497
|
+
|
|
475
498
|
I_MPI_OTHERLIBS=""
|
|
476
499
|
MPI_OTHERLIBS=" -lrt -lpthread "
|
|
477
|
-
|
|
478
|
-
mpilibs="-lmpi_ilp64 $mpilibs"
|
|
479
|
-
fi
|
|
500
|
+
|
|
480
501
|
fi
|
|
481
502
|
# Derived variables. These are assembled from variables set from the
|
|
482
503
|
# default, environment, configuration file (if any) and command-line
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|