On Tue, Oct 08, 2024, Robert Palmere via AMBER wrote:
>
>I am encountering an issue with BZIP2 library not being completely found when installing AMBER24.
>
>cmake $AMBER_PREFIX/amber24_src \
> -DCMAKE_INSTALL_PREFIX=$AMBER_PREFIX/amber24 \
> -DCOMPILER=GNU \
> -DMPI=TRUE -DCUDA=TRUE -DINSTALL_TESTS=TRUE \
> -DDOWNLOAD_MINICONDA=FALSE -DMVAPICH2GDR_GPU_DIRECT_COMM=TRUE \
> -DZLIB_ROOT=/home/rdp135/zlib/ -DBZIP2_LIBRARIES=/scratch/rdp135/bzip2/lib/libbz2.a -DBZIP2_INCLUDE_DIR=/scratch/rdp135/bzip2/include/ \
> -DNCCL=TRUE -DNCCL_LIBRARY=/scratch/rdp135/nccl/build/lib/libnccl_static.a -DNCCL_INCLUDE_DIR=/scratch/rdp135/nccl/build/include/ \
> 2>&1 | tee cmake.log
Is it possible for you to install libbz2 in a "standard" location, like
under /usr/lib (often in some folder like /usr/lib/x86_64-linux-gnu)?
I understand that this requires privileges, but it also avoids the problem
of having to specify the location in a way that cmake understands.
If this is not possible, trying to set an environment variable like
LD_LIBRARY_PATH might be worth exploring, as has been suggested.
...dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Oct 10 2024 - 16:00:03 PDT