Problem running HOOMD with AZPLUGINS #1930
-
Hello! I am new to Hoomd-Blue. I am using HOOMD 4.8.2 on CPU. Recently, I tried to install 'azplugins' (https://github.com/mphowardlab/azplugins) which is supposedly compatible with this version. After a successful installation, I tried to test the installation by the following command, as suggested on the doc page: However, it returns one error. Please look at the attached screenshot of the error message. I have tried changing the HOOMD version but with no help. Could you please suggest a possible solution to this? Many thanks for considering my request. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 16 replies
-
Hi Tanay,
It looks like your azplugins install cannot find your HOOMD libraries.
Without more information, it is impossible to know why. I recommend
reaching out to the azplugins developers (with the CMake output from
building and installing azplugins) for help.
Tim
…On Thu, Nov 7, 2024 at 6:00 PM tpaul-softmat ***@***.***> wrote:
Hello!
I am new to Hoomd-Blue. I am using HOOMD 4.8.2 on CPU. Recently, I tried
to install 'azplugins' (https://github.com/mphowardlab/azplugins) which
is supposedly compatible with this version. After a successful
installation, I tried to test the installation by the following command, as
suggested on the doc page:
*python -m pytest --pyargs hoomd.azplugins*
However, it returns one error. Please look at the attached screenshot of
the error message.
azplugins-test-error.png (view on web)
<https://github.com/user-attachments/assets/42bf6b73-abe3-4823-a983-ef10bfb2bc23>
I have tried changing the HOOMD version but with no help. Could you please
suggest a possible solution to this?
Many thanks for considering my request.
Tanay.
—
Reply to this email directly, view it on GitHub
<#1930>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMLTGFZJQVXTXASHWRT42TZ7PWJPAVCNFSM6AAAAABRMISXKSVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGQ2DEMRYGE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Are you able to run any of the regular HOOMD unit tests, or do you get the same error? https://hoomd-blue.readthedocs.io/en/v4.9.1/testing.html#running-tests |
Beta Was this translation helpful? Give feedback.
-
Thank you all for your responses! As @mphoward asked, I tried running some regular HOOMD unit tests. I was unsure about the build directory, though. So, I am giving all the details and uploading the corresponding snapshots below. For your information, I installed HOOMD using conda.
Please let me know whether I have successfully tested the HOOMD installation. If not, then could you let me know how to do that? If HOOMD is correctly installed, please let me know where the problem is and how to rectify it. Thanks again for your time and assistance. Best regards, |
Beta Was this translation helpful? Give feedback.
-
You posted images of text, not actual text. This makes it frustrating to try to reply as I cannot copy and paste relevant portions of your output. My reply is therefore somewhat vague. That being said: I have seen this type of error before when an extension module is imported before the main |
Beta Was this translation helpful? Give feedback.
It is possible that there are ABI incompatibilities if your compilation environment does not match what conda-forge uses to build hoomd-blue.
Try uninstalling hoomd-blue and building it from source as well. You will then need to clear the azplugins build/ directory and rebuild it as well.