Opened 3 weeks ago

Closed 2 weeks ago

Last modified 2 weeks ago

#19255 closed defect (fixed)

Adding charges to atoms

Reported by: stipe.mustac@… Owned by: Zach Pearson
Priority: normal Milestone: 1.11
Component: Structure Editing Version:
Keywords: Cc: Greg Couch, Eric Pettersen
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Hello!

There is an issue when trying to assign partial charges to atoms in a 
pdb file. The error I get is:

/app/bin/amber20/bin/antechamber: error while loading shared libraries: 
libcifparse.so: cannot open shared object file: No such file or directory

Am I doing something wrong or is it a bug? Thank you.

Sincerely,
Stipe Musta\u0107

Change History (18)

comment:1 by Eric Pettersen, 3 weeks ago

Cc: Greg Couch Zach Pearson added
Component: UnassignedStructure Editing
Owner: set to Eric Pettersen
Platform: all
Project: ChimeraX
Status: newaccepted

Hi Stipe,

Thanks for reporting this problem. It is a bug, but I don't have access to a Linux machine here at home so I won't be able to investigate further until I'm at work tomorrow. In the interim, if you have any access to a non-Linux machine, you should be able to add charges using that.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

comment:2 by Greg Couch, 3 weeks ago

antechamber isn't linked against libcifparse.so on Linux, so that error doesn't make sense. Which version of ChimeraX do you have? And what operating system and version are you running it on?

comment:3 by Eric Pettersen, 3 weeks ago

Antechamber in turn runs several other programs (bondtype? certainly sqm), so it could be one of the subprograms causing the error.

comment:4 by stipe.mustac@…, 3 weeks ago

I am running 1.10.1 ChimeraX on Arch Linux. I am not sure if term 
"version" is applicable to Arch, but I have fully updated system running 
6.17.5 kernel. It could be possible that some subprogram is causing an 
error, but after I got that error I tried to assign charge to a same 
molecule directly using antechamber which worked (using Amber from a 
cluster though, not on my own pc). Besides that, shouldn't flatpak 
installed ChimeraX work the same on every system?

On 10/29/25 5:22 PM, ChimeraX wrote:
>

comment:5 by Greg Couch, 3 weeks ago

Yes, the flatpak should be the same everywhere. And that is the difference. It is a bug in the flatpak distribution.

comment:6 by stipe.mustac@…, 3 weeks ago

So is there something i can do? I mean I tried downgrading to regular 
Chimera which does the trick, if that is a solution?

On 10/29/25 7:10 PM, ChimeraX wrote:
>

comment:7 by Greg Couch, 3 weeks ago

You would need to copy the antechamber from a regular Linux build into the flatpak somehow. We will also get this fixed in the daily build, and let you know when it is available. So a day or two.

comment:8 by stipe.mustac@…, 3 weeks ago

Copy the antechamber or the missing library? Either way I can use the 
old Chimera to do the job for the next few days. Thank you very much for 
your assistance.

Am 29.10.2025 um 19:28 schrieb ChimeraX:

comment:9 by Eric Pettersen, 3 weeks ago

Cc: Eric Pettersen added; Zach Pearson removed
Owner: changed from Eric Pettersen to Zach Pearson
Status: acceptedassigned

Seems like a problem with the Flatpak build.

comment:10 by Eric Pettersen, 3 weeks ago

Milestone: 1.11

comment:11 by Greg Couch, 3 weeks ago

For some reason, the flatpaks are using AmberTools 24 instead of AmberTools 20, like the rest of the Linux builds. And the x86_64 AmberTools 24 tarball is defective. It has the wrong RPATH and doesn't include the libraries. The Linux arm flatpak looks like it would work.

comment:12 by Zach Pearson, 3 weeks ago

If I remember right: amber is pretty strict about its compiler. I had to use a newer version of the base flatpak image which necessitated updating amber. 

\u2014 Zach

comment:13 by Greg Couch, 3 weeks ago

Zach, do you want to upload a fixed ambertools-24-Linux-Freedesktop-24.08.tar.bz2 or revert to AmberTools 20?

comment:14 by Zach Pearson, 3 weeks ago

I\u2019ll upload a fixed tarball. 

\u2014 Zach

comment:15 by Greg Couch, 3 weeks ago

Since the updated tarball isn't there yet, I've made a temporary copy of ambertools-20-Linux-CentOS-8.tar.bz2 to ambertools-24-Linux-Freedesktop-24.08.tar.bz2. And then maybe tonight's build will work.

comment:16 by Greg Couch, 2 weeks ago

The github workflow didn't pick up on the change. Perhaps because the timestamp wasn't newer. I've touched the tarball, so maybe github will pick it up tonight.

comment:17 by Zach Pearson, 2 weeks ago

It has nothing to do with the timestamp on Plato -- if you change the underlying asset but don't rename it and it's not renamed in the consolidated cache's action.yml then GitHub has no idea it needs to invalidate the existing cached asset and re-pull them. I've deleted the ambertools cache so that it will pull on the next run of any of the workflows.

comment:18 by Greg Couch, 2 weeks ago

Resolution: fixed
Status: assignedclosed

Confirmed that current x86_64 flatpak daily build works.

Version 1, edited 2 weeks ago by Greg Couch (previous) (next) (diff)
Note: See TracTickets for help on using tickets.