Ahnaf Tahmid Chowdhury

Results 17 comments of Ahnaf Tahmid Chowdhury

Path : ~/temp/scikit-build/pyne/ ```console readelf -d transport_spatial_methods.cpython-311-x86_64-linux-gnu.so Dynamic section at offset 0x12a48 contains 29 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libpyne.so] 0x0000000000000001 (NEEDED) Shared library: [libgfortran.so.5] 0x0000000000000001 (NEEDED)...

My setup Initial setup at project/: ```cmake # Find Python and NumPy find_package( Python COMPONENTS Interpreter Development.Module NumPy REQUIRED ) # Check if spatial solver is requested by user if...

You are right. The issue was occurring due to main.f, not from the installation side, and it is now resolved. However, before closing this issue, I have a question to...

Actually, I am not planning to install directly from the CMake. I will be using this for setting up RPATH, from `env/bin` to `install-dir/lib`.

Here is my current approach: ```cmake set (SKBUILD_LIB_DIR ${CMAKE_INSTALL_LIBDIR}/python${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}/site-packages/pymoab/core/${CMAKE_INSTALL_LIBDIR}) # Set the install RPATH if(APPLE) set_target_properties(compareFiles PROPERTIES INSTALL_RPATH "@loader_path/../${SKBUILD_LIB_DIR}") elseif(UNIX) set_target_properties(compareFiles PROPERTIES INSTALL_RPATH "$ORIGIN/../${SKBUILD_LIB_DIR}") endif() ```

Unfortunately, this also sets the full path. Example: ``` /usr/local/lib/python3.11/dist-packages ``` I am looking for something like: ``` lib/python3.11/dist-packages ``` More precisely: ``` lib/python3.11/dist-packages/${install-dir}/lib ```

I am closing this as I am solving the issue using the following method. ```cmake # Scikit-build installs MOAB to ${SKBUILD_PLATLIB_DIR}/pymoab/core # So, set bin directory to root environment (install...