Skip to content

Torsion scan skipped in ethanol example despite rotalltors=True in poltype.ini #80

@KeitoHASEGAWA

Description

@KeitoHASEGAWA

Hi, I’m currently testing Poltype2 using the ethanol example, and I’ve encountered an issue where torsion scans are not being performed even though I have set rotalltors=True in poltype.ini.

Here are some relevant details:

I'm using the official ethanol example structure (ethanol.sdf) and my poltype.ini contains the following:

structure=ethanol.sdf
numproc=8
maxmem=16GB
maxdisk=50GB
# fit all torsion parameters
rotalltors=True

The job completes, but the torsion scan steps are entirely skipped. Specifically, no qm-torsion/ directory is generated under the Temp/ folder.

Below is a snippet from my poltype.log (note: no actual torsion job submissions):

Mon May 26 15:05:39 2025 Submitting: python /home/.../lAssignAMOEBAplusPRM.py -xyz ethanol.xyz_2 -key ethanol_prefitvdw.key -sdf ethanol.sdf -potent TORSION path = /.../Temp
Mon May 26 15:05:40 2025 Poltype Job Finished

I attached the log file

For reference, here is a snippet from a working log (provided by the developer):

Wed Feb 19 10:38:40 2025 Relaxed Torsion Scan and Fitting
Wed Feb 19 10:38:40 2025 Submitting: minimize.x ethanol-opt-1-2-060_preQMOPTprefit.xyz ...

I also checked rotalltors parsing in poltype.py, and found this line:

elif "rotalltors" in newline:
    self.rotalltors = self.SetDefaultBool(line, a, True)

This suggests it should be properly recognized. The .ini file is definitely being read, since the structure and other resources are processed as expected.

Is there any reason why rotalltors=True would be silently ignored?
I downloaded the Poltype2 source files on May 14, 2025 from the GitHub repository
Python 3.9.13
OS: Linux (RHEL8-based), kernel: 4.18.0-372.9.1.el8.x86_64
(https://github.com/TinkerTools/poltype2) as a ZIP file (not via git clone), so the repository metadata (e.g. commit hashes) are not available.

ethanol-poltype.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions