[AMBER] pmemd.cuda error: invalid argument launching kernel kgBuildSpecial2RestNBPreList

From: Gross, Craig via AMBER <amber.ambermd.org>
Date: Fri, 21 Mar 2025 12:54:24 +0000

Hi there,

I am looking for help with a pmemd.cuda issue one of the users at our computing center has found. We have built Amber using Amber24 (update 3) and AmberTools24 (update 8) with CUDA 12.4.0 on an AMD EPYC 9654 (Genoa) with an NVIDIA H200 GPU. This version passes all built-in tests.

However, when the user runs their example, they only get the output:

```
Error: invalid argument launching kernel kgBuildSpecial2RestNBPreList
```

Their example works as expected on our Intel Xeon 8260 (Cascade Lake) system with an NVIDA V100S GPU using Amber22 (update 5) and AmberTools23 (update 6) with CUDA 12.1.1. This was configured using a similar command to the one shown below.

I have seen two other recent emails on the mailing list with this same error output (http://archive.ambermd.org/202502/0046.html,<http://archive.ambermd.org/202502/0046.html> http://archive.ambermd.org/202501/0105.html) but no resolution.

For reference, the CMake command we used to configure Amber is copied below (closely mirroring the configuration used by EasyBuild<https://github.com/easybuilders/easybuild-easyblocks/blob/d3caef14e26e1445102e0f060be0c52ce7cceab1/easybuild/easyblocks/a/amber.py#L123> which we normally use to install Amber), and I have attached the list of build dependencies/versions. The failing example (donated by our system's user) can be found using this Google Drive link<https://drive.google.com/file/d/1xHkgI34TY-nm-2Io8n970k9ChXCSK_ma/view?usp=sharing>. This example can be run with the command:

```
pmemd.cuda -O -i min.in -p input.parm7 -c input.rst7 -o output.out -r output.rst7 -ref input.rst7
```

I unfortunately am only familiar with the installation side of Amber, but I can discuss with our user-base if any subject-area knowledge would be helpful in debugging this issue. If I can provide any other information, please let me know. Thank you!

=== BEGIN CMAKE COMMAND ===

cmake $AMBER_PREFIX/amber24_src \
-DCMAKE_INSTALL_PREFIX=$AMBER_PREFIX/amber24 \
-DCMAKE_INSTALL_LOCALSTATEDIR=$AMBER_PREFIX/amber24/var \
-DCMAKE_INSTALL_RUNSTATEDIR=$AMBER_PREFIX/amber24/var/run \
-DCMAKE_INSTALL_SYSCONFDIR=$AMBER_PREFIX/amber24/etc \
-DCMAKE_POLICY_DEFAULT_CMP0094=NEW \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF \
-DBOOST_ROOT=$EBROOTBOOST \
-DBoost_NO_SYSTEM_PATHS=ON \
-DMPI=FALSE \
-DOPENMP=TRUE \
-DBLA_VENDOR=FlexiBLAS \
-DCUDA=TRUE \
-DNCCL=TRUE \
-DDOWNLOAD_MINICONDA=FALSE \
-DPYTHON_EXECUTABLE=$EBROOTPYTHON/bin/python \
-DFORCE_EXTERNAL_LIBS='nccl;fftw;netcdf;netcdf-fortran;zlib;boost;pnetcdf' \
-DUSE_FFT=TRUE \
-DCHECK_UPDATES=FALSE \
-DCHECK_UPDATES=FALSE \
-DTRUST_SYSTEM_LIBS=TRUE \
-DINSTALL_TESTS=TRUE \
-DCOMPILER=AUTO

=== END CMAKE COMMAND ===

Best,
Craig Gross


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber

Received on Fri Mar 21 2025 - 06:30:02 PDT
Custom Search