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

charmm build in htmd 2.3.8 #1076

Open
shozebhaider opened this issue Dec 12, 2023 · 3 comments
Open

charmm build in htmd 2.3.8 #1076

shozebhaider opened this issue Dec 12, 2023 · 3 comments

Comments

@shozebhaider
Copy link

Hi,

I am using htmd 2.3.8. I think there is some issue with the charmm build in your latest release. I keep getting the error (see below). The log.txt file is also empty. The notebook I am using is your system-building-protein-protein.ipynb tutorial. The notebook is also attached.

system-building-protein-protein.zip


BuildError Traceback (most recent call last)
Cell In[15], line 1
----> 1 molbuilt = charmm.build(smol, outdir='./build/')

File ~/miniconda3/envs/htmd/lib/python3.10/site-packages/htmd/builder/charmm.py:394, in build(mol, topo, param, stream, prefix, outdir, caps, ionize, saltconc, saltanion, saltcation, disulfide, regenerate, patches, noregen, aliasresidues, psfgen, execute, _clean)
392 molbuilt.read(path.join(outdir, "structure.psf"))
393 else:
--> 394 raise BuildError(
395 "No structure pdb/psf file was generated. Check {} for errors in building.".format(
396 logpath
397 )
398 )
400 if ionize:
401 os.makedirs(path.join(outdir, "pre-ionize"))

BuildError: 'No structure pdb/psf file was generated. Check /home/shozeb/Downloads/build/log.txt for errors in building.

@shozebhaider
Copy link
Author

Just to add another observation. This charmm build works on Ubuntu 20.04 but not on 22.x

@stefdoerr
Copy link
Contributor

Indeed it works on my machine which is 20.04. I would suggest doing conda list with your env activated on both machines and doing a diff of the packages which are installed on the two envs. I assume one will have different version of psfgen. Either that or the build of psfgen links to something which doesn't exist in Ubuntu 22.x. You could do which psfgen and ldd on that path to see if there are any missing linked libraries.
Doesn't seem to be related to HTMD though as far as I can tell

@shozebhaider
Copy link
Author

@stefdoerr sure..let me look deeper into this. Clearly not related to htmd but would be good for users to know why charmm build doesnt work on Ubuntu 22.x

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

2 participants