Closed aritra98765 closed 1 year ago
are you sure you can write to /home/modules/?
next time, run cmake in verbose mode
are you sure you can write to /home/modules/?
actually was installing on home/aritra/multinest but there was another error with the directory of src.
next time, run cmake in verbose [ 12%] Linking Fortran static library ../../../../lib/libmultinest.a cd /home/build/aritra/MultiNest/src && /usr/bin/cmake -P CMakeFiles/multinest_static.dir/cmake_clean_target.cmake cd /home/build/aritra/MultiNest/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/multinest_static.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libmultinest.a CMakeFiles/multinest_static.dir/cwrapper.f90.o CMakeFiles/multinest_static.dir/kmeans_clstr.f90.o CMakeFiles/multinest_static.dir/nested.F90.o CMakeFiles/multinest_static.dir/posterior.F90.o CMakeFiles/multinest_static.dir/priors.f90.o CMakeFiles/multinest_static.dir/utils.f90.o CMakeFiles/multinest_static.dir/utils1.f90.o CMakeFiles/multinest_static.dir/xmeans_clstr.f90.o /usr/bin/ranlib ../../../../lib/libmultinest.a cd /home/build/aritra/MultiNest/src && /usr/bin/cmake -E copy /home/build/src/kmeans_clstr.mod /home/modules/ Error copying file "/home/build/src/kmeans_clstr.mod" to "/home/modules/". make[2]: [aritra/MultiNest/src/CMakeFiles/multinest_static.dir/build.make:206: ../lib/libmultinest.a] Error 1 make[2]: Deleting file '../lib/libmultinest.a' make[2]: Leaving directory '/home/build' make[1]: [CMakeFiles/Makefile2:250: aritra/MultiNest/src/CMakeFiles/multinest_static.dir/all] Error 2 make[1]: Leaving directory '/home/build' make: [Makefile:139: all] Error 2 this is what I got on verbose mode. I am using superuser now.
I meant make VERBOSE=1
it is still saying Error copying file "/home/build/src/kmeans_clstr.mod" to "/home/modules/".
I made and installed multinest using cmake verbose =1 .But while running iscrones on terminal i get the following error:- ERROR: Could not load MultiNest library "libmultinest.so" ERROR: You have to build it first, ERROR: and point the LD_LIBRARY_PATH environment variable to it! ERROR: manual: http://johannesbuchner.github.com/PyMultiNest/install.html
ERROR: Could not load MultiNest library: libmultinest.so ERROR: You have to build MultiNest, ERROR: and point the LD_LIBRARY_PATH environment variable to it! ERROR: manual: http://johannesbuchner.github.com/PyMultiNest/install.html
problem: libmultinest.so: cannot open shared object file: No such file or directory
I made and installed multinest using cmake verbose =1 .But while running iscrones on terminal i get the following error:- ERROR: Could not load MultiNest library "libmultinest.so" ERROR: You have to build it first, ERROR: and point the LD_LIBRARY_PATH environment variable to it! ERROR: manual: http://johannesbuchner.github.com/PyMultiNest/install.html
ERROR: Could not load MultiNest library: libmultinest.so ERROR: You have to build MultiNest, ERROR: and point the LD_LIBRARY_PATH environment variable to it! ERROR: manual: http://johannesbuchner.github.com/PyMultiNest/install.html
problem: libmultinest.so: cannot open shared object file: No such file or directory
Resolved the problem using your other thread didn't export the library id. Thanks for your quick responses and your library isocrones would be really helpful for my project. Excellent work man. Thanks.
I'm on ubuntu linux 22.04 Scanning dependencies of target multinest_static [ 1%] Building Fortran object aritra/MultiNest/src/CMakeFiles/multinest_static.dir/utils.f90.o [ 2%] Building Fortran object aritra/MultiNest/src/CMakeFiles/multinest_static.dir/utils1.f90.o [ 4%] Building Fortran object aritra/MultiNest/src/CMakeFiles/multinest_static.dir/kmeans_clstr.f90.o [ 5%] Building Fortran object aritra/MultiNest/src/CMakeFiles/multinest_static.dir/xmeans_clstr.f90.o [ 7%] Building Fortran object aritra/MultiNest/src/CMakeFiles/multinest_static.dir/posterior.F90.o [ 8%] Building Fortran object aritra/MultiNest/src/CMakeFiles/multinest_static.dir/priors.f90.o [ 10%] Building Fortran object aritra/MultiNest/src/CMakeFiles/multinest_static.dir/nested.F90.o [ 11%] Building Fortran object aritra/MultiNest/src/CMakeFiles/multinest_static.dir/cwrapper.f90.o [ 12%] Linking Fortran static library ../../../../lib/libmultinest.a Error copying file "/home/build/src/kmeans_clstr.mod" to "/home/modules/". make[2]: [aritra/MultiNest/src/CMakeFiles/multinest_static.dir/build.make:203: ../lib/libmultinest.a] Error 1 make[2]: Deleting file '../lib/libmultinest.a' make[1]: [CMakeFiles/Makefile2:247: aritra/MultiNest/src/CMakeFiles/multinest_static.dir/all] Error 2 make: [Makefile:136: all] Error 2 So i have compiled cmake -DCMAKE_INSTALL_PREFIX=~ .. -Wno-dev but while in making i get this issue; Please help.