Closed gvlidiya closed 1 year ago
The video tutorial is getting quite old and is referring to NOMAD v0.x. Can you try follow the more recent documentation: https://nomad-lab.eu/prod/v1/staging/docs/pythonlib.html
If the problem persist, pls let us know:
Yes, the issue persist.
pip install virtualenv
virtualenv -p `which python3` .pyenv
source .pyenv/bin/activate
pip install nomad-lab[parsing]
since the last command gave the error I used the instructions from the link you gave so
pip install nomad-lab
pip install nomad-lab --extra-index-url https://gitlab.mpcdf.mpg.de/api/v4/projects/2187/packages/pypi/simple
pip install nomad-lab[parsing]
Did you also get the error with the --extra-index-url
?
The only what I get is that Requirement already satisfied
for all packages, no other warnings or errors were shown.
$ pip install nomad-lab --extra-index-url https://gitlab.mpcdf.mpg.de/api/v4/projects/2187/packages/pypi/simple
Looking in indexes: https://pypi.org/simple, https://gitlab.mpcdf.mpg.de/api/v4/projects/2187/packages/pypi/simple
Requirement already satisfied: ...
Okay, problem was in error message error in mongoengine setup command: use_2to3 is invalid
downgrade of pip install setuptools to 57.5.0 resolved the problem.
However, I encounter another issue by parsing. I know that there was problem of parsing GROMACS files in Web-Application, so I guess it might be the same problem here.
nomad parse --show-archive npt_T_10_p_50.zip
Traceback (most recent call last):
File "/home/andromeda/anaconda3/bin/nomad", line 8, in <module>
sys.exit(run_cli())
File "/home/andromeda/anaconda3/lib/python3.9/site-packages/nomad/cli/cli.py", line 71, in run_cli
return cli(obj=POPO()) # pylint: disable=E1120,E1123
File "/home/andromeda/anaconda3/lib/python3.9/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/andromeda/anaconda3/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/andromeda/anaconda3/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/andromeda/anaconda3/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/andromeda/anaconda3/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/andromeda/anaconda3/lib/python3.9/site-packages/nomad/cli/parse.py", line 39, in _parse
entry_archive = parse(mainfile, **kwargs)
File "/home/andromeda/anaconda3/lib/python3.9/site-packages/nomad/client/processing.py", line 55, in parse
assert parser is not None, 'there is no parser matching %s' % mainfile
AssertionError: there is no parser matching npt_T_10_p_50.zip
If you want to execute the parse with nomad parse
you have to directly execute it on the gromacs output, not on a zip containing the gromacs output. The gromacs parser is only accepting files that start with gmx mdrun, (VERSION|version)[\s\S]*Input Parameters:
Thank you for help.
I was trying to install NOMAD parser on my local machine, by following this instruction, but I get each time following problem:
What could be done to resolve it?