-
Hello, I am trying to compile NAMD with PyTorch by following the steps described in this pull request #570. After running the following command: The
I am using a clone of the Colvars repository (master branch) from yesterday and the source code of NAMD version 3.0.1. Am I missing a step, or is there a known issue with this configuration? Any guidance would be appreciated! Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, For NAMD 3.0.1, I think that after #766 is merged, you can patch the NAMD build files in
We are trying to integrate these patches in NAMD's source and have opened a merge request for NAMD in https://gitlab.com/tcbgUIUC/namd/-/merge_requests/378, and after that merge request is accepted you will not need patching |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Hi,
For NAMD 3.0.1, I think that after #766 is merged, you can patch the NAMD build files in
NAMD_3.0.1_Source
by<colvars_source_dir>
is the directory of where you clone this repo. Alternatively, you can just change-DTORCH
to-DCOLVARS_TORCH
inconfig.patch
yourself and patch the two files and build NAMD again with the--with-colvars-torch --torch-prefix
options.We are trying to integrate these patches in NAMD's source and have opened a merge request for NAMD in https://gitlab.com/tcbgUIUC/namd/-/merge_requests/378, and after that merge request is accepted you will not need patc…