f0af4636ce
This checks the main libs that would be directly or indirectly linked against the users executable (libmpi.so, libmpi_mpifh.so, libmpi_usempi.so, libopen-rte, libopen-pal) using "nm" and looking for symbols without ompi_ opal_ mpi_ etc prefixes. Signed-off-by: Mark Allen <markalle@us.ibm.com>
15 строки
401 B
Bash
Исполняемый файл
15 строки
401 B
Bash
Исполняемый файл
#!/bin/sh
|
|
|
|
# Copyright (c) 2017 IBM Corporation. All rights reserved.
|
|
|
|
|
|
# if there's no perl, skip the test
|
|
perl -v > /dev/null 2>&1
|
|
if [ $? -ne 0 ] ; then exit 77 ; fi
|
|
|
|
# I wrote more in Makedefs.am about why I'm using ${srcdir} here. I suspect
|
|
# there's a more correct way to set up automake so the file is available,
|
|
# but nothing else has worked for me yet.
|
|
|
|
perl ${srcdir}/nmcheck_prefix.pl
|