Comments (6)
When I run molprobity.reduce on my Windows machine giving it the file name on the command line, it completes in a few minutes and writes the reduced output to standard output.
When I run molpribity.reduce with the '-' option to read from standard input, it says that it is reading from standard input and then completes in a few minutes and writes the reduced output to standard output.
from reduce.
The molprobity.reduce command-line I am using runs reduce version 3.7.2, which is from December 2020, which should still have the crash issues. Perhaps they happen on Linux rather than Windows? On Linux, I'm running a version that is using reduce 4.14.
When I build version 3.7.2 on Linux and then run using the command-line version that reads from standard input, it says that it is reading from standard input and then runs, growing its virtual memory footprint to 4.4GB with a resident size of 4.1GB. after a few minutes, it writes its output to standard output.
from reduce.
When I run reduce2 on this model, I notice that during model loading it takes 5GB of RAM, and during hydrogen addition it takes more than 12GB. It is possible that phenix.refine is using a lot of memory and together they are using up all memory. I've asked Tom to try watching 'top' while running on this model to see if this is what is happening. It would explain the slowness as the system starts to thrash.
from reduce.
Running the phenix command line Tom provided on the source files he provided on Linux uses an increasing amount of memory (50G virtual, 30G resident) then starts thrashing to disk on my home server that has 32GB RAM. This is even before we see reduce show up as a subprocess. This seems to make the memory-exceeded theory probable.
from reduce.
Tom ran on Anaconda, which has 1TB of RAM. The job took 53GB, which was nowhere near the available memory.
(nope) See if I can reproduce the crash on my laptop. The job runs for a few minutes, then quits with a 0-length log file. It produces no other output in this directory.
(nope) See if I can reproduce on my desktop server, to see if it finishes even with the memory thrashing. It crashed while running when trying to allocate more memory.
(nope) See if I can reproduce on Anaconda.
- Build phenix from current master bootstrap.py on 12/18/2023
- Run
molprobity.reduce -oh -his -flip -keep -allalt -limit120 -pen9999 - < reduce_fail.pdb
- It runs to completion in several minutes
from reduce.
(done) mmtbx/utils/init.py has a run_reduce_with_timeout() function that may be the one being called by Phenix. It uses stdin_lines as the thing to send. Try running a Python script that reads the file into lines and then calls this function.
- Reproduce the behavior found in phenix/pdb_tools/add_hydrogens.py using run_reduce_with_timeout() with the arguments provided above. Note: The time limit appears to be 120 seconds, which is a much shorter time than it takes to fully optimize.
- It produces a seemingly-correct output file.
Here is the script:
from mmtbx.utils import run_reduce_with_timeout
from six.moves import cStringIO as StringIO
with open('reduce_fail.pdb', 'r') as file:
lines = file.readlines()
ero = run_reduce_with_timeout(stdin_lines = lines,
parameters = '-oh -his -flip -keep -allalt -limit120 -pen9999 -')
out = StringIO()
ero.show_stdout(out=out)
print(out.getvalue())
from reduce.
Related Issues (20)
- element column wrong after flip
- Not able to install reduce through cmake HOT 2
- Not able to use reduce with seemingly correct installation HOT 3
- SIGUIJ output format incompatible with Biopython
- Installation fails at Linking CXX shared module HOT 4
- Processing structures with different forms of histidine... HOT 2
- WARNING: atom from a het group will be treated as hydrogen/carbon HOT 2
- Residue names for custom het groups HOT 1
- license clarification HOT 5
- Encounter problem while installation HOT 2
- N-terminal detection too strict HOT 2
- Provide a prefix at configure time HOT 3
- Return code for abandoned clique search indistinguishable from critical errors
- An error after adding '/user/local/bin" to the environment variable PATH in the virtual environment
- help with data pre-processing HOT 2
- Duplicate hydrogens added HOT 2
- Easy installation using package manager HOT 4
- Floating point accuracy problem with flips can lead to invalid coordinates HOT 1
- Crash in RotMethyl::scoreThisAngle
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reduce.