You are here

ERROR: Unable to open weights/patch file

3 posts / 0 new
Last post
ERROR: Unable to open weights/patch file
#1

Hello,

I am getting the following error:

ERROR: Unable to open weights/patch file. None of (./)ref2015 or (./)ref2015.wts or /cluster/rosetta/bin/mpi/../database/scoring/weights/ref2015 or /cluster/rosetta/bin/mpi/../database/scoring/weights/ref2015.wts exist

I have tried to solve the problem with the -corrections::restore_talaris_behavior true or -mistakes:restore_pre_talaris_2013_behavior flags, but still get the error.

Any thoughts?

Thanks in advance.

 

Category: 
Post Situation: 
Tue, 2022-08-09 05:33
almeida85

I take it you moved the Rosetta binaries.

That's fine, but one of the issues is that the default behavior is to attempt to locate the needed database files based on the location of the executables. If you move the binaries, this autodetection logic no longer works, so you'll have to set the database location manually. Just add the `-database` option to the command line specifying where the Rosetta database location is. (It would have come with the Rosetta package, in the database/ directory.) Alternatively, you can set the ROSETTA3DB environment variable with the path.

Just note that the database version is matched to the compiled version of Rosetta, so if you later update the Rosetta binaries, you'll also need to update the Rosetta database you're using. You can get some potentially cryptic errors if you don't.

Tue, 2022-08-09 06:57
rmoretti

Solved, thanks.

Thu, 2022-08-11 00:32
almeida85