Comments (11)
@Yu-Tang-Lin it looks like ForceBalance does not understand "single" for the variable jobtype
in the optimize.in
file. This should be the default option for jobtype
, what happens if you try commenting this out in the input file? The alternative (for a single-point calculation) is to set jobtype
to optimize
and set maxstep
to 0.
from openff-evaluator.
Hi,
Sorry, I am checking "optimize.in", Do you mean that comment out this one? (I found it is the most closed code that related to singe)
(allcap) The job type, defaults to a single-point evaluation of objective function
jobtype optimize
from openff-evaluator.
@Yu-Tang-Lin it looks like ForceBalance does not understand "single" for the variable
jobtype
in theoptimize.in
file. This should be the default option forjobtype
, what happens if you try commenting this out in the input file? The alternative (for a single-point calculation) is to setjobtype
tooptimize
and setmaxstep
to 0.
I also try maxstep = 0 in optimize.in, but it will show the same error message
from openff-evaluator.
6
@Yu-Tang-Lin it looks like ForceBalance does not understand "single" for the variable
jobtype
in theoptimize.in
file. This should be the default option forjobtype
, what happens if you try commenting this out in the input file? The alternative (for a single-point calculation) is to setjobtype
tooptimize
and setmaxstep
to 0.
May you tell me what's your version for forcebalance in your environment? My forcebalance version is 1.9.2
from openff-evaluator.
I have version 1.9.2 installed in my environment. What does your optimize.in
file look like?
from openff-evaluator.
Yes, I also have version1.9.2. The optimize.in
is generated from code Tutorial 04.
input_file_path = get_data_filename("tutorials/tutorial04/optimize.in")
Here is my optimize.in
which was generated from Tutorial 04.
optimize.zip
from openff-evaluator.
Hi, @jeff231li
I also try to modify in forcebalance/optimizer.py
(Toolkit in forcebalance)
xk = self.OptTab[self.jobtype]()
It seems that it will extract the jobtype optimize
in the optimize.in
But it doesn't work.
I manually add self.jobtype = 'optimize'
in forcebalance/optimizer.py
The error message becomes to this. I guess there is some issue in the toolkit in forcebalance for recognizing the jobtype
File "/home/ylinb/anaconda3/envs/OpenFFCrystal/lib/python3.8/site-packages/forcebalance/optimizer.py", line 325, in Run xk = self.OptTab[self.jobtype]() KeyError: 'optimize'
Here is my optimize.err
optimize.txt
Let me know if you need any other info, we can test it together.
from openff-evaluator.
I'm not sure why it's giving you this error. This python script works for me, run the file with this command python run_evaluator.py | tee console_output.log
. The problem could be how you installed your conda
environment. Can you send the YAML file of your conda environment: conda env export > environment.yaml
.
from openff-evaluator.
from openff-evaluator.
Hi @jeff231li,
I follow #414 in the previous issue and use v0.3.9 to test Turorial. It can work. I guess there is an update between v0.3.9 and master.
Thank you for your help!
from openff-evaluator.
I think this has fallen out of date - please do let us know if you run into new issues.
from openff-evaluator.
Related Issues (20)
- Solvation free energy calculations failing HOT 10
- Loosen MDTraj constraint HOT 3
- tutorial data and script are outdated HOT 1
- unit bug forcebalance 1.9.4 + evaluator 0.4.1 + toolkit 0.11.4 in tutorial04 HOT 5
- Virtual sites missing from gradient calculations HOT 8
- Remove modules depending on Yank
- OpenMM 8 causing test failures HOT 2
- Star imports misconfigured HOT 1
- Unit-related AttributeError on code which previously worked HOT 6
- FilterBySmirks does not work with isotopes HOT 6
- Remove use of `pkg_resources`
- Pandas 2 breaks things HOT 3
- Tutorial01 HOT 5
- OE_LICENSE HOT 3
- unit HOT 16
- Pint removed upcast_types = [] from pint.compat HOT 3
- openff-evaluator conda installation problems HOT 3
- Update calls to Simulation.MinimizeEnergy to provide tolerance as force, not energy HOT 4
- tutorial04 - No module named 'forcebalance' HOT 1
- Identifiers not being parsed through evaluator HOT 2
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 openff-evaluator.