-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
We maintain our internal test suites under Perforce. We have a test suite that builds and tests ScaLAPACK with the NVHPC compilers.
Our suite runs CMake in a separate directory from the source tree, which is stored in the source repo with read-only permissions. When CMake runs this way, we see the following error:
CMake Error: Unable to (re)create the private pkgRedirects directory:
/proj/ta/tests/techtips_repo/src/scalapack-2.2.2/BLACS/INSTALL/CMakeFiles/pkgRedirects
This may be caused by not having read/write access to the build directory.
Try specifying a location with read/write access like:
cmake -B build
If using a CMake presets file, ensure that preset parameter
'binaryDir' expands to a writable directory.
CMake Error at CMAKE/FortranMangling.cmake:33 (MESSAGE):
Configure in the BLACS INSTALL directory FAILED
Call Stack (most recent call first):
CMakeLists.txt:133 (COMPILE)
-- Configuring incomplete, errors occurred!
I am working around this for the moment by copying the source tree to a writable location. However, would you consider reworking this to allow configuration against a read-only source tree? Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels