Skip to content
Snippets Groups Projects
Commit bb7346e5 authored by Christian Engwer's avatar Christian Engwer
Browse files

filter certain parameters from the MPI flags

[[Imported from SVN: r6194]]
parent e50ca5b4
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,8 @@ mpi_getflags () {
if test ${#} = 2 ; then
retval=`echo $retval | sed -e "s/ ${2} / /"`
fi
# remove optimization, warning, etc paramters
retval=`echo $retval | sed -e 's/-g//g' -e 's/-W[[a-z0-9]]\+//g' -e 's/-O[[0-9]]\+//g' -e 's/^ *//g'`
}
# removes regexp $2 from string $1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment