[mvapich-discuss] OSU Benchmarks out of tree build broken?

Joseph Schuchart schuchart at hlrs.de
Fri Apr 12 11:09:11 EDT 2019


All,

I am trying to build the latest release of the OSU micro benchmarks 
(5.6.1) in a separate build directory, which fails:

```
< in the OSU root directory >

$ mkdir build
$ cd build
$ ../configure CC=mpicc CXX=mpicxx
[...]
$ make -C mpi
make: Entering directory '<...>/osu-micro-benchmarks-5.6.1/build/mpi'
Making all in pt2pt
make[1]: Entering directory 
'<...>/osu-micro-benchmarks-5.6.1/build/mpi/pt2pt'
depbase=`echo osu_bibw.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DPACKAGE_NAME=\"OSU-Micro-Benchmarks\" 
-DPACKAGE_TARNAME=\"osu-micro-benchmarks\" -DPACKAGE_VERSION=\"5.6.1\" 
-DPACKAGE_STRING=\"OSU-Micro-Benchmarks\ 5.6.1\" 
-DPACKAGE_BUGREPORT=\"mvapich-discuss at cse.ohio-state.edu\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"osu-micro-benchmarks\" 
-DVERSION=\"5.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 
-DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 -DFIELD_WIDTH=18 
-DFLOAT_PRECISION=2 -I. -I../../../mpi/pt2pt    -I../../util  -g -O2 -MT 
osu_bibw.o -MD -MP -MF $depbase.Tpo -c -o osu_bibw.o 
../../../mpi/pt2pt/osu_bibw.c &&\
mv -f $depbase.Tpo $depbase.Po
../../../mpi/pt2pt/osu_bibw.c:11:10: fatal error: osu_util_mpi.h: No 
such file or directory
  #include <osu_util_mpi.h>
           ^~~~~~~~~~~~~~~~
compilation terminated.
```

The culprit seems to be the include `-I../../util` which should be 
`-I../../../util` (traversing one more directory upwards).


In-tree builds work as expected. I can successfully build old version of 
the package (5.3.2) out of tree so I thought I report it (maybe it's 
already known?)

Cheers
Joseph
--
Dipl.-Inf. Joseph Schuchart
High Performance Computing Center Stuttgart (HLRS)
Nobelstr. 19
D-70569 Stuttgart

Tel.: +49(0)711-68565890
Fax: +49(0)711-6856832
E-Mail: schuchart at hlrs.de


More information about the mvapich-discuss mailing list