Closed merkys closed 5 months ago
Solved: I should have used OPTIMADE_SCHEMAS_DIR=../schemas
. I suppose README.md
should be adjusted.
Edit: I suggest setting OPTIMADE_SCHEMAS_DIR=../schemas
in the GNUmakefile
. For me the natural way seems to clone repositories from Materials-Consortia
under the same directory, thus ../OPTIMADE
prefix is not needed.
Right, this is on me, commiting hardcoded paths that made sense in my environment without explaining the need to update them in the README.
I've landed in that the best solution probably is to have these definition-provider repo:s depend via a submodule on https://github.com/Materials-Consortia/schemas. That way they can use the latest OPTIMADE schemas without having to depend on the user keeping the main OPTIMADE repo somewhere with a fresh 'make schemas'.
That would mean OPTIMADE_SCHEMAS_DIR=dependecies/submodules/schemas
.
I've landed in that the best solution probably is to have these definition-provider repo:s depend via a submodule on https://github.com/Materials-Consortia/schemas. That way they can use the latest OPTIMADE schemas without having to depend on the user keeping the main OPTIMADE repo somewhere with a fresh 'make schemas'.
Agree, this solution is much better.
Please pull latest version (and git submodule update --init --recursive
), and check if this is fixed.
Please pull latest version (and
git submodule update --init --recursive
), and check if this is fixed.
Yes, I can confirm that 378f081ebd4c54b15d80b44f5b6fa3269c46e2b6 fixes the issue, thanks.
I am trying to build as explained in
README.md
and get the following failure:Please note my personal setting for
OPTIMADE_SCHEMAS_DIR
, as I have cloned https://github.com/Materials-Consortia/schemas (master
) at../schemas
. Directory../schemas/output
does not seem to be present there, nor can I find build instructions to make it. Most likely I am doing assuming something incorrectly here.