SCOREC / core

parallel finite element unstructured meshes
Other
179 stars 63 forks source link

installation fails if `-DMESHES` isn't set #432

Open cwsmith opened 1 month ago

cwsmith commented 1 month ago

Without -DMESHES set, and the following cmake configure command cmake .. -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_INSTALL_PREFIX=../install -DSCOREC_CXX_WARNINGS=OFF the following error is hit during installation (make install).

CMake Error at test/cmake_install.cmake:1521 (file):
  file INSTALL cannot find
  "/Users/dobrev1/code/pumi/pumi-meshes/pipe/pipe.dmg": No such file or
  directory.
Call Stack (most recent call first):
  cmake_install.cmake:91 (include)

make: *** [install] Error 1

It looks like the smoke tests requires those files:

https://github.com/SCOREC/core/blob/3d621c8a1ace401f951ad56c4dc532b5cbd75b15/test/smokeTesting.cmake#L9-L26

Those test inputs should be included with the repo to avoid this.

Thanks to @v-dobrev for reporting this.