Issue with compiling ELSI on Archer2 UK (Cray environment)
Hi,
I have been trying to compiler ELSI on Archer2, which uses the Cray environment. I am using the PrgEnv-gnu module, and made it through most of the compilation, except at the make install
stage:
[ 6%] Built target elpa [ 7%] Built target MatrixSwitch [ 8%] Built target OMM [ 9%] Built target dummysizes [ 43%] Built target scotch [ 44%] Built target ptdummysizes [ 62%] Built target ptscotch [ 63%] Built target ptscotchparmetis [ 63%] Built target scotcherr [ 64%] Built target scotchmetis [ 65%] Built target ptscotcherr [ 80%] Built target superlu_dist [ 82%] Built target pexsi [ 88%] Built target NTPoly [ 90%] Built target fortjson [ 95%] Built target elsi [ 99%] Built target elsi_test [ 99%] Built target elsi_test_rw [100%] Built target elsi_test_c
Install the project... -- Install configuration: "" -- Installing: /usr/local/lib/libelpa.so CMake Error at external/ELPA/cmake_install.cmake:52 (file): file INSTALL cannot copy file "/work/e05/e05/christscheung18/aux_files/elsi-interface/build/lib/libelpa.so" to "/usr/local/lib/libelpa.so": Permission denied. Call Stack (most recent call first): cmake_install.cmake:47 (include)
The gnu.cmake file that I used isgnu.cmake.
Is this an issue with Archer2 or have I missed something in my setting? Many thanks for your help.