#2158: Without MPI installed, Cactus doesn't build ---------------------------------+-------------------- Reporter: Steven R. Brandt | Type: defect Status: new | Priority: unset Milestone: | Component: Other Version: development version | Keywords: ---------------------------------+-------------------- I attempted to test our automatic building of Cactus on a system without MPI installed. In principle, thorn MPI should build and the system should work. Instead, I get this: {{{ MPI: Building... Making all in config Making all in contrib Making all in opal Making all in include Making all in asm CC asm.lo ln -s "../../opal/asm/generated/atomic-amd64-linux.s" atomic-asm.S CPPAS atomic-asm.lo CCLD libasm.la ../../libtool: line 6000: cd: NO_BUILD/lib: No such file or directory libtool: link: cannot determine absolute directory name of `NO_BUILD/lib' Makefile:1584: recipe for target 'libasm.la' failed make[6]: *** [libasm.la] Error 1 Makefile:2153: recipe for target 'all-recursive' failed make[5]: *** [all-recursive] Error 1 Makefile:1702: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 Died at /home/etuser/Cactus/arrangements/ExternalLibraries/MPI/src/build.pl line 74. /home/etuser/Cactus/arrangements/ExternalLibraries/MPI/src/make.code.deps:9: recipe for target '/home/etuser/Cactus/configs/sim/scratch/done/MPI' failed make[3]: *** [/home/etuser/Cactus/configs/sim/scratch/done/MPI] Error 17 /home/etuser/Cactus/lib/make/make.thornlib:112: recipe for target 'make.checked' failed make[2]: *** [make.checked] Error 2 /home/etuser/Cactus/lib/make/make.configuration:181: recipe for target '/home/etuser/Cactus/configs/sim/lib/libthorn_MPI.a' failed make[1]: *** [/home/etuser/Cactus/configs/sim/lib/libthorn_MPI.a] Error 2 Makefile:256: recipe for target 'sim' failed make: *** [sim] Error 2 The command '/bin/sh -c ./simfactory/bin/sim build -j8 --thornlist ../einsteintoolkit.th' returned a non-zero code: 1 }}}
The test system is made from docker {{{ FROM ubuntu RUN apt-get update RUN apt-get install -y python3 RUN apt-get install -y libfftw3-dev libssl-dev libhdf5-dev subversion gcc curl libjpeg-turbo?-dev git make pkg-config g++ libpapi-dev patch libgsl- dev libhwloc-dev python liblapack-dev numactl gfortran RUN adduser etuser USER etuser WORKDIR /home/etuser ENV USER etuser RUN curl -kLO https://raw.githubusercontent.com/gridaphobe/CRL/master/GetComponents RUN chmod a+x GetComponents RUN ./GetComponents --parallel https://bitbucket.org/einsteintoolkit/manifest/raw/master/einsteintoolkit.th RUN echo testme > .hostname WORKDIR /home/etuser/Cactus RUN ./simfactory/bin/sim setup-silent RUN ./simfactory/bin/sim build -j8 --thornlist ../einsteintoolkit.th }}}