2017-10-06 08:44:19 +02:00
|
|
|
#
|
|
|
|
# mvapich2
|
|
|
|
#
|
|
|
|
|
|
|
|
%hpc_mvapich2_init(V:) \
|
|
|
|
%{-V: %define _mf_ver %{-V*}} \
|
|
|
|
%{expand: %%global hpc_mvapich2_dep_version %%{?_mf_ver}} \
|
|
|
|
%{expand: %%global hpc_mvapich2_dir mvapich2} \
|
2018-11-19 09:06:54 +01:00
|
|
|
%global hpc_mvapich2_pack_version %{hpc_mvapich2_dep_version} \
|
|
|
|
%{expand: %%global _hpc_mvapich2_modules mvapich2}
|
2017-10-06 08:44:19 +02:00
|
|
|
|
|
|
|
# We may have to add a version here.
|
|
|
|
%hpc_setup_mvapich2 \
|
|
|
|
module load mvapich2
|
|
|
|
|
|
|
|
%hpc_mvapich2_requires \
|
2018-08-21 21:53:37 +02:00
|
|
|
Requires: mvapich2%{hpc_mvapich2_dep_version}-%{hpc_compiler_family}%{hpc_cf_pack_version}-hpc
|
2017-10-06 08:44:19 +02:00
|
|
|
|
|
|
|
%hpc_mvapich2_requires_devel \
|
2018-08-21 21:53:37 +02:00
|
|
|
Requires: mvapich2%{hpc_mvapich2_dep_version}-%{hpc_compiler_family}%{hpc_cf_pack_version}-hpc-devel
|
2017-10-06 08:44:19 +02:00
|
|
|
|