Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] openmpi-1.5.5rc1: 2nd gmake dependence (mostly VT)
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2011-12-20 20:19:24

For the first time I tried "make clean" on FreeBSD and found /another/
GNU-vs-Berkeley Make problem.

The problem is use of $(RM) in several's (see below for list).
The onlt non-VT instance (ompi_info/ occurs in
openmpi-1.4.5rc1 as well.

$(RM) is a predefined variable in GNU Make, not provided by Berkeley
Make (or by Automake for that matter).
I am pretty sure a literal "rm -rf" should be fine.


> $ find openmpi-1.5.5rc1 -name | xargs grep -w RM
> openmpi-1.5.5rc1/ompi/tools/ompi_info/ test -z
> openmpi-1.5.5rc1/ompi/contrib/vt/vt/extlib/otf/tests/hello/ $(RM)
> *.otf *.def *.events *.marker *.otf.z *.def.z *.events.z *.marker.z
> openmpi-1.5.5rc1/ompi/contrib/vt/vt/extlib/otf/tests/generic_streams-mpi/
> $(RM) *.otf *.def *.events *.marker *.otf.z *.def.z *.events.z *.marker.z
> openmpi-1.5.5rc1/ompi/contrib/vt/vt/extlib/otf/tests/generic_streams/
> $(RM) *.otf *.def *.events *.marker *.otf.z *.def.z *.events.z *.marker.z
> openmpi-1.5.5rc1/ompi/contrib/vt/vt/extlib/otf/tests/progress/
> $(RM) *.otf *.def *.events *.marker *.otf.z *.def.z *.events.z *.marker.z

Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900