impi-devel 2021.10.0__py2.py3-none-manylinux1_x86_64.whl → 2021.12.0__py2.py3-none-manylinux1_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.10.0.data → impi_devel-2021.12.0.data}/data/bin/mpicc +31 -19
- {impi_devel-2021.10.0.data → impi_devel-2021.12.0.data}/data/bin/mpicxx +31 -19
- {impi_devel-2021.10.0.data → impi_devel-2021.12.0.data}/data/bin/mpif77 +34 -39
- {impi_devel-2021.10.0.data → impi_devel-2021.12.0.data}/data/bin/mpif90 +34 -38
- {impi_devel-2021.10.0.data → impi_devel-2021.12.0.data}/data/bin/mpifc +31 -19
- {impi_devel-2021.10.0.data → impi_devel-2021.12.0.data}/data/bin/mpigcc +29 -32
- {impi_devel-2021.10.0.data → impi_devel-2021.12.0.data}/data/bin/mpigxx +28 -33
- impi_devel-2021.10.0.data/data/bin/mpiicx → impi_devel-2021.12.0.data/data/bin/mpiicc +14 -8
- impi_devel-2021.10.0.data/data/bin/mpiicpx → impi_devel-2021.12.0.data/data/bin/mpiicpc +14 -8
- impi_devel-2021.10.0.data/data/bin/mpiicpc → impi_devel-2021.12.0.data/data/bin/mpiicpx +41 -40
- impi_devel-2021.10.0.data/data/bin/mpiicc → impi_devel-2021.12.0.data/data/bin/mpiicx +28 -30
- impi_devel-2021.10.0.data/data/bin/mpiifx → impi_devel-2021.12.0.data/data/bin/mpiifort +18 -8
- impi_devel-2021.10.0.data/data/bin/mpiifort → impi_devel-2021.12.0.data/data/bin/mpiifx +36 -36
- {impi_devel-2021.10.0.data → impi_devel-2021.12.0.data}/data/include/mpi.h +1069 -434
- {impi_devel-2021.10.0.data → impi_devel-2021.12.0.data}/data/include/mpicxx.h +35 -35
- {impi_devel-2021.10.0.data → impi_devel-2021.12.0.data}/data/include/mpio.h +149 -0
- {impi_devel-2021.10.0.dist-info → impi_devel-2021.12.0.dist-info}/METADATA +2 -2
- impi_devel-2021.12.0.dist-info/RECORD +21 -0
- impi_devel-2021.10.0.dist-info/RECORD +0 -21
- {impi_devel-2021.10.0.dist-info → impi_devel-2021.12.0.dist-info}/LICENSE.txt +0 -0
- {impi_devel-2021.10.0.dist-info → impi_devel-2021.12.0.dist-info}/WHEEL +0 -0
- {impi_devel-2021.10.0.dist-info → impi_devel-2021.12.0.dist-info}/top_level.txt +0 -0
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
# License.
|
|
14
14
|
#
|
|
15
15
|
|
|
16
|
-
COMPILER="
|
|
17
|
-
TARGET_WRAPPER="
|
|
16
|
+
COMPILER="icc"
|
|
17
|
+
TARGET_WRAPPER="mpiicx"
|
|
18
|
+
user_set_compiler=0
|
|
18
19
|
|
|
19
20
|
if [ -z "$1" ] ; then
|
|
20
21
|
${TARGET_WRAPPER} -help
|
|
@@ -24,13 +25,18 @@ fi
|
|
|
24
25
|
for arg in "$@" ; do
|
|
25
26
|
case $arg in
|
|
26
27
|
-cc=*)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
echo "You should use ${TARGET_WRAPPER}"
|
|
30
|
-
echo "ex. ${TARGET_WRAPPER} -cc=${compiler_name}"
|
|
31
|
-
exit 1
|
|
28
|
+
COMPILER=$(echo $arg | sed -e 's/-cc=//g')
|
|
29
|
+
user_set_compiler=1
|
|
32
30
|
;;
|
|
33
31
|
esac
|
|
34
32
|
done
|
|
35
33
|
|
|
36
|
-
|
|
34
|
+
if [ -n "$I_MPI_CC" ] || [ -n "$MPICH_CC" ]; then
|
|
35
|
+
user_set_compiler=1
|
|
36
|
+
fi
|
|
37
|
+
|
|
38
|
+
if [ $user_set_compiler -eq 1 ] ; then
|
|
39
|
+
${TARGET_WRAPPER} "$@"
|
|
40
|
+
else
|
|
41
|
+
${TARGET_WRAPPER} -cc="${COMPILER}" "$@"
|
|
42
|
+
fi
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
# License.
|
|
14
14
|
#
|
|
15
15
|
|
|
16
|
-
COMPILER="
|
|
17
|
-
TARGET_WRAPPER="
|
|
16
|
+
COMPILER="icpc"
|
|
17
|
+
TARGET_WRAPPER="mpiicpx"
|
|
18
|
+
user_set_compiler=0
|
|
18
19
|
|
|
19
20
|
if [ -z "$1" ] ; then
|
|
20
21
|
${TARGET_WRAPPER} -help
|
|
@@ -24,13 +25,18 @@ fi
|
|
|
24
25
|
for arg in "$@" ; do
|
|
25
26
|
case $arg in
|
|
26
27
|
-cxx=*)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
echo "You should use ${TARGET_WRAPPER}"
|
|
30
|
-
echo "ex. ${TARGET_WRAPPER} -cxx=${compiler_name}"
|
|
31
|
-
exit 1
|
|
28
|
+
COMPILER=$(echo $arg | sed -e 's/-cxx=//g')
|
|
29
|
+
user_set_compiler=1
|
|
32
30
|
;;
|
|
33
31
|
esac
|
|
34
32
|
done
|
|
35
33
|
|
|
36
|
-
$
|
|
34
|
+
if [ -n "$I_MPI_CXX" ] || [ -n "$MPICH_CXX" ]; then
|
|
35
|
+
user_set_compiler=1
|
|
36
|
+
fi
|
|
37
|
+
|
|
38
|
+
if [ $user_set_compiler -eq 1 ] ; then
|
|
39
|
+
${TARGET_WRAPPER} "$@"
|
|
40
|
+
else
|
|
41
|
+
${TARGET_WRAPPER} -cxx="${COMPILER}" "$@"
|
|
42
|
+
fi
|
|
@@ -102,8 +102,18 @@ if [ -n "${I_MPI_ROOT}" ] ; then
|
|
|
102
102
|
prefix="${I_MPI_ROOT}";
|
|
103
103
|
fi
|
|
104
104
|
|
|
105
|
-
PLATFORM=""
|
|
106
105
|
sysconfdir=${prefix}/etc
|
|
106
|
+
includedir=${prefix}/include
|
|
107
|
+
libdir=${prefix}/lib
|
|
108
|
+
if [ ! -f "${I_MPI_ROOT}/lib/mpi/debug/libmpi.so" ]; then
|
|
109
|
+
release_lib_dir="/release"
|
|
110
|
+
debug_lib_dir="/debug"
|
|
111
|
+
else
|
|
112
|
+
sysconfdir=${prefix}/opt/mpi/etc
|
|
113
|
+
release_lib_dir=""
|
|
114
|
+
debug_lib_dir="/mpi/debug"
|
|
115
|
+
fi
|
|
116
|
+
MPILIBDIR=${release_lib_dir}
|
|
107
117
|
|
|
108
118
|
# The environment variable I_MPI_COMPILER_CONFIG_DIR may be used to override
|
|
109
119
|
# folder where *.conf files are placed
|
|
@@ -111,18 +121,15 @@ if [ -n "$I_MPI_COMPILER_CONFIG_DIR" ] ; then
|
|
|
111
121
|
sysconfdir=$I_MPI_COMPILER_CONFIG_DIR;
|
|
112
122
|
fi
|
|
113
123
|
|
|
114
|
-
includedir=${prefix}/include
|
|
115
|
-
libdir=${prefix}/lib
|
|
116
|
-
|
|
117
124
|
# Default settings for compiler, flags, and libraries
|
|
118
|
-
CXX="
|
|
125
|
+
CXX="icpx"
|
|
119
126
|
CXXFLAGS=""
|
|
120
127
|
LDFLAGS="-ldl"
|
|
121
128
|
MPILIBNAME="mpi"
|
|
122
129
|
MPICXXLIBNAME="mpicxx"
|
|
123
130
|
|
|
124
131
|
# MPIVERSION is the version of the Intel(R) MPI Library that mpiicpc is intended for
|
|
125
|
-
MPIVERSION="
|
|
132
|
+
MPIVERSION="@IMPI_OFFICIALVERSION@"
|
|
126
133
|
|
|
127
134
|
# Internal variables
|
|
128
135
|
# Show is set to echo to cause the compilation command to be echoed instead
|
|
@@ -225,11 +232,21 @@ for arg in "$@" ; do
|
|
|
225
232
|
;;
|
|
226
233
|
-cxx=*)
|
|
227
234
|
CXX=$(echo A$arg | sed -e 's/A-cxx=//g')
|
|
235
|
+
if [ "$#" -eq "1" ] ; then
|
|
236
|
+
echo "Error: extra arguments required"
|
|
237
|
+
echo "usage: $(basename $0) -cxx=<name> -v"
|
|
238
|
+
exit 1
|
|
239
|
+
fi
|
|
228
240
|
addarg=no
|
|
229
241
|
;;
|
|
230
242
|
# Backwards compatibility for MPICH1 - scripts
|
|
231
243
|
-CC=*)
|
|
232
244
|
CXX=$(echo A$arg | sed -e 's/A-CC=//g')
|
|
245
|
+
if [ "$#" -eq "1" ] ; then
|
|
246
|
+
echo "Error: extra arguments required"
|
|
247
|
+
echo "usage: $(basename $0) -CC=<name> -v"
|
|
248
|
+
exit 1
|
|
249
|
+
fi
|
|
233
250
|
addarg=no
|
|
234
251
|
;;
|
|
235
252
|
-show)
|
|
@@ -262,16 +279,11 @@ for arg in "$@" ; do
|
|
|
262
279
|
# Pass this argument to the compiler as well.
|
|
263
280
|
echo "$(basename $0) for the Intel(R) MPI Library $MPIVERSION for Linux*"
|
|
264
281
|
echo "Copyright Intel Corporation."
|
|
265
|
-
|
|
266
|
-
if [ "$#" -eq "1" ] ; then
|
|
267
|
-
linking=no
|
|
268
|
-
fi
|
|
282
|
+
linking=no
|
|
269
283
|
;;
|
|
270
284
|
-V)
|
|
271
285
|
# Pass this argument to the compiler to query the compiler version.
|
|
272
|
-
|
|
273
|
-
linking=no
|
|
274
|
-
fi
|
|
286
|
+
linking=no
|
|
275
287
|
;;
|
|
276
288
|
-profile=*)
|
|
277
289
|
# Pass the name of a profiling configuration. As
|
|
@@ -341,7 +353,7 @@ for arg in "$@" ; do
|
|
|
341
353
|
addarg=no
|
|
342
354
|
;;
|
|
343
355
|
-g)
|
|
344
|
-
MPILIBDIR
|
|
356
|
+
MPILIBDIR=${release_lib_dir}
|
|
345
357
|
;;
|
|
346
358
|
-static_mpi)
|
|
347
359
|
static_mpi=yes
|
|
@@ -437,35 +449,24 @@ fi
|
|
|
437
449
|
|
|
438
450
|
if [ -n "$mpilib_override" ] ; then
|
|
439
451
|
case "$mpilib_override" in
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
echo "Warning: incorrect library version specified. Automatically selected library will be used."
|
|
456
|
-
;;
|
|
452
|
+
opt )
|
|
453
|
+
MPILIBDIR=${release_lib_dir}
|
|
454
|
+
;;
|
|
455
|
+
opt_mt )
|
|
456
|
+
MPILIBDIR=${release_lib_dir}
|
|
457
|
+
;;
|
|
458
|
+
dbg )
|
|
459
|
+
MPILIBDIR=${debug_lib_dir}
|
|
460
|
+
;;
|
|
461
|
+
dbg_mt )
|
|
462
|
+
MPILIBDIR=${debug_lib_dir}
|
|
463
|
+
;;
|
|
464
|
+
* )
|
|
465
|
+
echo "Warning: incorrect library version specified. Automatically selected library will be used."
|
|
466
|
+
;;
|
|
457
467
|
esac
|
|
458
468
|
fi
|
|
459
469
|
|
|
460
|
-
# -----------------------------------------------------------------------
|
|
461
|
-
case "$MPILIBDIR" in
|
|
462
|
-
release | /release | debug | /debug)
|
|
463
|
-
if [ -n "$MPILIBDIR_MT" ]; then
|
|
464
|
-
MPILIBDIR=${MPILIBDIR}_${MPILIBDIR_MT}
|
|
465
|
-
fi
|
|
466
|
-
;;
|
|
467
|
-
"" ) MPILIBDIR="/release" ;;
|
|
468
|
-
esac
|
|
469
470
|
if [ "$static_mpi" = yes ] ; then
|
|
470
471
|
mpilibs="${libdir}/libmpifort.a ${libdir}${MPILIBDIR}/lib${MPILIBNAME}.a"
|
|
471
472
|
I_MPI_OTHERLIBS=""
|
|
@@ -102,26 +102,36 @@ if [ -n "${I_MPI_ROOT}" ] ; then
|
|
|
102
102
|
prefix="${I_MPI_ROOT}";
|
|
103
103
|
fi
|
|
104
104
|
|
|
105
|
-
PLATFORM=""
|
|
106
105
|
sysconfdir=${prefix}/etc
|
|
106
|
+
includedir=${prefix}/include
|
|
107
|
+
libdir=${prefix}/lib
|
|
108
|
+
if [ ! -f "${I_MPI_ROOT}/lib/mpi/debug/libmpi.so" ]; then
|
|
109
|
+
release_lib_dir="/release"
|
|
110
|
+
debug_lib_dir="/debug"
|
|
111
|
+
else
|
|
112
|
+
sysconfdir=${prefix}/opt/mpi/etc
|
|
113
|
+
release_lib_dir=""
|
|
114
|
+
debug_lib_dir="/mpi/debug"
|
|
115
|
+
fi
|
|
116
|
+
MPILIBDIR=${release_lib_dir}
|
|
117
|
+
|
|
107
118
|
# The environment variable I_MPI_COMPILER_CONFIG_DIR may be used to override
|
|
108
119
|
# folder where *.conf files are placed
|
|
109
120
|
if [ -n "$I_MPI_COMPILER_CONFIG_DIR" ] ; then
|
|
110
121
|
sysconfdir=$I_MPI_COMPILER_CONFIG_DIR;
|
|
111
122
|
fi
|
|
112
|
-
|
|
113
|
-
libdir=${prefix}/lib
|
|
123
|
+
|
|
114
124
|
#
|
|
115
125
|
# Default settings for compiler, flags, and libraries.
|
|
116
126
|
# Determined by a combination of environment variables and tests within
|
|
117
127
|
# configure (e.g., determining whehter -lsocket is needee)
|
|
118
|
-
CC="
|
|
128
|
+
CC="icx"
|
|
119
129
|
CFLAGS=""
|
|
120
130
|
LDFLAGS="-ldl"
|
|
121
131
|
MPILIBNAME="mpi"
|
|
122
132
|
|
|
123
133
|
# MPIVERSION is the version of the MPICH2 library that mpicc is intended for
|
|
124
|
-
MPIVERSION="
|
|
134
|
+
MPIVERSION="@IMPI_OFFICIALVERSION@"
|
|
125
135
|
#
|
|
126
136
|
# Internal variables
|
|
127
137
|
# Show is set to echo to cause the compilation command to be echoed instead
|
|
@@ -223,6 +233,11 @@ for arg in "$@" ; do
|
|
|
223
233
|
;;
|
|
224
234
|
-cc=*)
|
|
225
235
|
CC=$(echo A$arg | sed -e 's/A-cc=//g')
|
|
236
|
+
if [ "$#" -eq "1" ] ; then
|
|
237
|
+
echo "Error: extra arguments required"
|
|
238
|
+
echo "usage: $(basename $0) -cc=<name> -v"
|
|
239
|
+
exit 1
|
|
240
|
+
fi
|
|
226
241
|
addarg=no
|
|
227
242
|
;;
|
|
228
243
|
-show)
|
|
@@ -255,16 +270,11 @@ for arg in "$@" ; do
|
|
|
255
270
|
# Pass this argument to the compiler as well.
|
|
256
271
|
echo "$(basename $0) for the Intel(R) MPI Library $MPIVERSION for Linux*"
|
|
257
272
|
echo "Copyright Intel Corporation."
|
|
258
|
-
|
|
259
|
-
if [ "$#" -eq "1" ] ; then
|
|
260
|
-
linking=no
|
|
261
|
-
fi
|
|
273
|
+
linking=no
|
|
262
274
|
;;
|
|
263
275
|
-V)
|
|
264
276
|
# Pass this argument to the compiler to query the compiler version.
|
|
265
|
-
|
|
266
|
-
linking=no
|
|
267
|
-
fi
|
|
277
|
+
linking=no
|
|
268
278
|
;;
|
|
269
279
|
-profile=*)
|
|
270
280
|
# Pass the name of a profiling configuration. As
|
|
@@ -334,7 +344,7 @@ for arg in "$@" ; do
|
|
|
334
344
|
addarg=no
|
|
335
345
|
;;
|
|
336
346
|
-g)
|
|
337
|
-
MPILIBDIR
|
|
347
|
+
MPILIBDIR=${release_lib_dir}
|
|
338
348
|
;;
|
|
339
349
|
-static_mpi)
|
|
340
350
|
static_mpi=yes
|
|
@@ -431,36 +441,24 @@ fi
|
|
|
431
441
|
if [ -n "$mpilib_override" ] ; then
|
|
432
442
|
case "$mpilib_override" in
|
|
433
443
|
opt )
|
|
434
|
-
MPILIBDIR
|
|
444
|
+
MPILIBDIR=${release_lib_dir}
|
|
435
445
|
;;
|
|
436
446
|
opt_mt )
|
|
437
|
-
MPILIBDIR
|
|
438
|
-
MPILIBDIR_MT="mt"
|
|
447
|
+
MPILIBDIR=${release_lib_dir}
|
|
439
448
|
;;
|
|
440
449
|
dbg )
|
|
441
|
-
MPILIBDIR
|
|
450
|
+
MPILIBDIR=${debug_lib_dir}
|
|
442
451
|
;;
|
|
443
452
|
dbg_mt )
|
|
444
|
-
MPILIBDIR
|
|
445
|
-
MPILIBDIR_MT="mt"
|
|
453
|
+
MPILIBDIR=${debug_lib_dir}
|
|
446
454
|
;;
|
|
447
455
|
* )
|
|
448
456
|
echo "Warning: incorrect library version specified. Automatically selected library will be used."
|
|
449
457
|
;;
|
|
450
458
|
esac
|
|
451
459
|
fi
|
|
452
|
-
|
|
453
460
|
# -----------------------------------------------------------------------
|
|
454
|
-
|
|
455
|
-
release | /release | debug | /debug)
|
|
456
|
-
if [ -n "$MPILIBDIR_MT" ]; then
|
|
457
|
-
MPILIBDIR=${MPILIBDIR}_${MPILIBDIR_MT}
|
|
458
|
-
fi
|
|
459
|
-
;;
|
|
460
|
-
"" )
|
|
461
|
-
MPILIBDIR="/release"
|
|
462
|
-
;;
|
|
463
|
-
esac
|
|
461
|
+
|
|
464
462
|
if [ "$static_mpi" = yes ] ; then
|
|
465
463
|
mpilibs="${libdir}/libmpifort.a ${libdir}${MPILIBDIR}/lib${MPILIBNAME}.a"
|
|
466
464
|
I_MPI_OTHERLIBS=""
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
# License.
|
|
14
14
|
#
|
|
15
15
|
|
|
16
|
-
COMPILER="
|
|
17
|
-
TARGET_WRAPPER="
|
|
16
|
+
COMPILER="ifort"
|
|
17
|
+
TARGET_WRAPPER="mpiifx"
|
|
18
|
+
user_set_compiler=0
|
|
18
19
|
|
|
19
20
|
if [ -z "$1" ] ; then
|
|
20
21
|
${TARGET_WRAPPER} -help
|
|
@@ -24,13 +25,22 @@ fi
|
|
|
24
25
|
for arg in "$@" ; do
|
|
25
26
|
case $arg in
|
|
26
27
|
-fc=*)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
COMPILER=$(echo $arg | sed -e 's/-fc=//g')
|
|
29
|
+
user_set_compiler=1
|
|
30
|
+
;;
|
|
31
|
+
-f90=*)
|
|
32
|
+
COMPILER=$(echo $arg | sed -e 's/-f90=//g')
|
|
33
|
+
user_set_compiler=1
|
|
32
34
|
;;
|
|
33
35
|
esac
|
|
34
36
|
done
|
|
35
37
|
|
|
36
|
-
$
|
|
38
|
+
if [ -n "$I_MPI_F90" ] || [ -n "$MPICH_F90" ]; then
|
|
39
|
+
user_set_compiler=1
|
|
40
|
+
fi
|
|
41
|
+
|
|
42
|
+
if [ $user_set_compiler -eq 1 ] ; then
|
|
43
|
+
${TARGET_WRAPPER} "$@"
|
|
44
|
+
else
|
|
45
|
+
${TARGET_WRAPPER} -fc="${COMPILER}" "$@"
|
|
46
|
+
fi
|
|
@@ -103,21 +103,31 @@ if [ -n "${I_MPI_ROOT}" ] ; then
|
|
|
103
103
|
prefix="${I_MPI_ROOT}";
|
|
104
104
|
fi
|
|
105
105
|
|
|
106
|
-
PLATFORM=""
|
|
107
106
|
sysconfdir=${prefix}/etc
|
|
107
|
+
includedir=${prefix}/include
|
|
108
|
+
libdir=${prefix}/lib
|
|
109
|
+
if [ ! -f "${I_MPI_ROOT}/lib/mpi/debug/libmpi.so" ]; then
|
|
110
|
+
release_lib_dir="/release"
|
|
111
|
+
debug_lib_dir="/debug"
|
|
112
|
+
modincdir="${prefix}/include"
|
|
113
|
+
else
|
|
114
|
+
release_lib_dir=""
|
|
115
|
+
debug_lib_dir="/mpi/debug"
|
|
116
|
+
sysconfdir=${prefix}/opt/mpi/etc
|
|
117
|
+
modincdir="${prefix}/include/mpi"
|
|
118
|
+
fi
|
|
119
|
+
MPILIBDIR=${release_lib_dir}
|
|
120
|
+
|
|
108
121
|
# The environment variable I_MPI_COMPILER_CONFIG_DIR may be used to override
|
|
109
122
|
# folder where *.conf files are place
|
|
110
123
|
if [ -n "$I_MPI_COMPILER_CONFIG_DIR" ] ; then
|
|
111
124
|
sysconfdir=$I_MPI_COMPILER_CONFIG_DIR;
|
|
112
125
|
fi
|
|
113
|
-
includedir=${prefix}/include
|
|
114
|
-
modincdir=${prefix}/${PLATFORM}/include
|
|
115
|
-
libdir=${prefix}/lib
|
|
116
126
|
#
|
|
117
127
|
# Default settings for compiler, flags, and libraries
|
|
118
128
|
# Determined by a combination of environment variables and tests within
|
|
119
129
|
# configure (e.g., determining whehter -lsocket is needee)
|
|
120
|
-
FC="
|
|
130
|
+
FC="ifx"
|
|
121
131
|
FCCPP=""
|
|
122
132
|
#
|
|
123
133
|
# Fortran 90 Compiler characteristics
|
|
@@ -137,7 +147,7 @@ LDFLAGS="-ldl"
|
|
|
137
147
|
MPILIBNAME="mpi"
|
|
138
148
|
|
|
139
149
|
# MPIVERSION is the version of the Intel(R) MPI Library for which mpiifort is intended
|
|
140
|
-
MPIVERSION="
|
|
150
|
+
MPIVERSION="@IMPI_OFFICIALVERSION@"
|
|
141
151
|
#
|
|
142
152
|
#
|
|
143
153
|
# Internal variables
|
|
@@ -252,7 +262,7 @@ for arg in "$@" ; do
|
|
|
252
262
|
FC=$(echo A$arg | sed -e 's/A-f90=//g')
|
|
253
263
|
if [ "$#" -eq "1" ] ; then
|
|
254
264
|
echo "Error: extra arguments required"
|
|
255
|
-
echo "usage:
|
|
265
|
+
echo "usage: $(basename $0) -f90=<name> -v"
|
|
256
266
|
exit 1
|
|
257
267
|
fi
|
|
258
268
|
addarg=no
|
|
@@ -363,7 +373,7 @@ for arg in "$@" ; do
|
|
|
363
373
|
addarg=no
|
|
364
374
|
;;
|
|
365
375
|
-g)
|
|
366
|
-
MPILIBDIR
|
|
376
|
+
MPILIBDIR=${release_lib_dir}
|
|
367
377
|
;;
|
|
368
378
|
-static_mpi)
|
|
369
379
|
static_mpi=yes
|
|
@@ -449,7 +459,7 @@ for arg in "$@" ; do
|
|
|
449
459
|
FC=$(echo A$arg | sed -e 's/A-fc=//g')
|
|
450
460
|
if [ "$#" -eq "1" ] ; then
|
|
451
461
|
echo "Error: extra arguments required"
|
|
452
|
-
echo "usage:
|
|
462
|
+
echo "usage: $(basename $0) -fc=<name> -v"
|
|
453
463
|
exit 1
|
|
454
464
|
fi
|
|
455
465
|
addarg=no
|
|
@@ -557,35 +567,25 @@ fi
|
|
|
557
567
|
|
|
558
568
|
if [ -n "$mpilib_override" ] ; then
|
|
559
569
|
case "$mpilib_override" in
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
echo "Warning: incorrect library version specified. Automatically selected library will be used."
|
|
576
|
-
;;
|
|
570
|
+
opt )
|
|
571
|
+
MPILIBDIR=${release_lib_dir}
|
|
572
|
+
;;
|
|
573
|
+
opt_mt )
|
|
574
|
+
MPILIBDIR=${release_lib_dir}
|
|
575
|
+
;;
|
|
576
|
+
dbg )
|
|
577
|
+
MPILIBDIR=${debug_lib_dir}
|
|
578
|
+
;;
|
|
579
|
+
dbg_mt )
|
|
580
|
+
MPILIBDIR=${debug_lib_dir}
|
|
581
|
+
;;
|
|
582
|
+
* )
|
|
583
|
+
echo "Warning: incorrect library version specified. Automatically selected library will be used."
|
|
584
|
+
;;
|
|
577
585
|
esac
|
|
578
586
|
fi
|
|
579
|
-
|
|
580
587
|
# -----------------------------------------------------------------------
|
|
581
|
-
|
|
582
|
-
release | /release | debug | /debug)
|
|
583
|
-
if [ -n "$MPILIBDIR_MT" ]; then
|
|
584
|
-
MPILIBDIR=${MPILIBDIR}_${MPILIBDIR_MT}
|
|
585
|
-
fi
|
|
586
|
-
;;
|
|
587
|
-
"" ) MPILIBDIR="/release" ;;
|
|
588
|
-
esac
|
|
588
|
+
|
|
589
589
|
if [ "$static_mpi" = yes ] ; then
|
|
590
590
|
mpilibs="${libdir}/libmpifort.a ${libdir}${MPILIBDIR}/lib${MPILIBNAME}.a"
|
|
591
591
|
I_MPI_OTHERLIBS=""
|
|
@@ -657,7 +657,7 @@ if [ -z "${FCINC}" ] ; then
|
|
|
657
657
|
else
|
|
658
658
|
# Normally, FCINC is just -I, but some compilers have used different
|
|
659
659
|
# command line arguments
|
|
660
|
-
FCINCDIRS
|
|
660
|
+
FCINCDIRS="${FCINC}\"${includedir}\" ${FCINC}\"${modincdir}\""
|
|
661
661
|
fi
|
|
662
662
|
|
|
663
663
|
# Handle the specification of the directory containing the modules
|