2018-10-22 12:23:40 +03:00
|
|
|
enable_mca_no_build=coll-ml,btl-uct
|
2014-06-28 22:55:31 +04:00
|
|
|
enable_debug_symbols=yes
|
2013-10-09 14:06:39 +04:00
|
|
|
enable_orterun_prefix_by_default=yes
|
|
|
|
with_devel_headers=yes
|
2014-03-14 12:18:55 +04:00
|
|
|
enable_oshmem=yes
|
|
|
|
enable_oshmem_fortran=yes
|
2015-04-08 09:50:03 +03:00
|
|
|
disable_wrapper_rpath=yes
|
2013-12-15 16:33:41 +04:00
|
|
|
|
|
|
|
mellanox_autodetect=${mellanox_autodetect:="no"}
|
2014-01-13 18:56:31 +04:00
|
|
|
mellanox_debug=${mellanox_debug:="no"}
|
2015-04-08 09:50:03 +03:00
|
|
|
mellanox_threads=${mellanox_threads:="no"}
|
2014-01-13 18:56:31 +04:00
|
|
|
|
2015-04-08 09:50:03 +03:00
|
|
|
if [ "$mellanox_threads" == "yes" ]; then
|
|
|
|
enable_mpi_thread_multiple=yes
|
|
|
|
enable_opal_multi_threads=yes
|
|
|
|
fi
|
2013-12-18 14:25:27 +04:00
|
|
|
|
|
|
|
if [ "$mellanox_autodetect" == "yes" ]; then
|
|
|
|
|
2015-10-21 11:39:30 +03:00
|
|
|
ucx_dir=${ucx_dir:="$(pkg-config --variable=prefix ucx)"}
|
|
|
|
if [ -d $ucx_dir ]; then
|
|
|
|
with_ucx=$ucx_dir
|
|
|
|
fi
|
|
|
|
|
2013-12-15 16:33:41 +04:00
|
|
|
hcoll_dir=${hcoll_dir:="$(pkg-config --variable=prefix hcoll)"}
|
2014-01-01 16:45:02 +04:00
|
|
|
if [ -d $hcoll_dir ]; then
|
2013-12-15 16:33:41 +04:00
|
|
|
with_hcoll=$hcoll_dir
|
|
|
|
fi
|
|
|
|
|
|
|
|
slurm_dir=${slurm_dir:="/usr"}
|
|
|
|
if [ -f $slurm_dir/include/slurm/slurm.h ]; then
|
|
|
|
with_slurm=$slurm_dir
|
|
|
|
with_pmi=$slurm_dir
|
|
|
|
fi
|
2013-12-18 14:25:27 +04:00
|
|
|
|
2013-12-15 16:33:41 +04:00
|
|
|
fi
|
|
|
|
|
2014-06-28 22:55:31 +04:00
|
|
|
if [ "$mellanox_debug" == "yes" ]; then
|
|
|
|
enable_debug=yes
|
|
|
|
enable_memchecker=yes
|
|
|
|
with_valgrind=yes
|
|
|
|
CXXFLAGS="-O0 -g"
|
|
|
|
CCASFLAGS="-O0 -g"
|
|
|
|
FCFLAGS="-O0 -g"
|
|
|
|
CFLAGS="-O0 -g"
|
|
|
|
else
|
|
|
|
enable_debug=no
|
|
|
|
enable_mem_debug=no
|
|
|
|
enable_mem_profile=no
|
|
|
|
enable_memchecker=no
|
|
|
|
enable_picky=no
|
|
|
|
enable_heterogeneous=no
|
|
|
|
enable_ft_thread=no
|
|
|
|
with_mpi_param_check=no
|
|
|
|
CXXFLAGS="-O3 -g"
|
|
|
|
CCASFLAGS="-O3 -g"
|
|
|
|
FCFLAGS="-O3 -g"
|
|
|
|
CFLAGS="-O3 -g"
|
|
|
|
fi
|