-
Hi everyone, I am having issues compiling DAKOTA through different versions of Linux: CentOS and Ubuntu versions > 20.04. Attached please find the CMake output, and here is the error message I am getting:
The error is driving me mad and I am not able to find a workaround for it and I am not sure what is being done wrong?! I can successfully build DAKOTA on WSL Ubuntu 20.04, but if I move to new versions or a larger cluster (running on CentOS) I am not able to compile DAKOTA due to this problem. Some background:
Please help and thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
IIRC this error is sometimes caused by using a Windows .zip Dakota source archive on Linux, where the CRLF line endings trip up the NIDR utility. You might first verify you’re using the .tar.gz Unix source package. If that’s not the cause, I would verify that the source, build, and install (CMAKE_INSTALL_PREFIX) directories are all distinct and that you’re not trying to build from within the source tree. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the prompt reply Brian and help! This is indeed the case and I have used the .zip archive file in all the cases reported which is a bit funny! I always deemed .zip easier to just unzip. I also re-compiled boost with MPI and C++11 standard, but probably this is not needed maybe. In any case, DAKOTA has been compiled successfully! Some additional information for anyone who would like to compile boost with MPI and C++11 standard; inside the and adjust the following:
Thank you! |
Beta Was this translation helpful? Give feedback.
IIRC this error is sometimes caused by using a Windows .zip Dakota source archive on Linux, where the CRLF line endings trip up the NIDR utility. You might first verify you’re using the .tar.gz Unix source package.
If that’s not the cause, I would verify that the source, build, and install (CMAKE_INSTALL_PREFIX) directories are all distinct and that you’re not trying to build from within the source tree.