Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurs when making test #33

Open
zhaodazhuang opened this issue Jan 23, 2024 · 0 comments
Open

An error occurs when making test #33

zhaodazhuang opened this issue Jan 23, 2024 · 0 comments

Comments

@zhaodazhuang
Copy link

zhaodazhuang commented Jan 23, 2024

When I unzip the file and do the following:

$mkair build
$cd build
$ccmake ..
CMAKE_BUILD_TYPE
 CMAKE_INSTALL_PREFIX             /usr/local/openmm
 CUDA_HOST_COMPILER               /usr/bin/cc
 CUDA_SDK_ROOT_DIR                CUDA_SDK_ROOT_DIR-NOTFOUND
 CUDA_TOOLKIT_ROOT_DIR            /usr/local/cuda-12.3
 CUDA_USE_STATIC_CUDA_RUNTIME     ON
 CUDA_rt_LIBRARY                  /usr/lib/x86_64-linux-gnu/librt.a
 EXAMPLE_BUILD_CUDA_LIB           ON
 EXAMPLE_BUILD_OPENCL_LIB         OFF
 EXAMPLE_BUILD_PYTHON_WRAPPERS    OFF
 OPENCL_DIR                       OPENCL_DIR-NOTFOUND
 OPENMM_DIR                       /usr/local/openmm
 PYTHON_EXECUTABLE                PYTHON_EXECUTABLE-NOTFOUND
 SWIG_EXECUTABLE                  /usr/bin/swig

After I "Configure" and "Genrate" I installed "sudo make install"
But when I test "make test"

The following tests FAILED:
          3 - TestCudaExampleForceSingle (Failed)
          4 - TestCudaExampleForceMixed (Failed)
          5 - TestCudaExampleForceDouble (Failed)

All errors are reported about cuda, and when I enter the directory "build/platforms/cuda/tests" and run "TestCudaExampleForce", I receive such an error

exception: Error uploading array bondParams: CUDA_ERROR_INVALID_CONTEXT (201) ’
I restarted my computer and it didn't work. What should I do?

Tue Jan 23 02:38:02 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.36                 Driver Version: 546.33       CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 4060 ...    On  | 00000000:01:00.0 Off |                  N/A |
| N/A   41C    P0              15W / 140W |      0MiB /  8188MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant