Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errror in LAMMPS example #2

Open
alvarovm opened this issue Nov 17, 2016 · 8 comments
Open

errror in LAMMPS example #2

alvarovm opened this issue Nov 17, 2016 · 8 comments

Comments

@alvarovm
Copy link

Hi, I cannot run the lammps test examples, it seems like a variable is missing.
I get the follow error:

$>mpirun -n 2 ../ns_run < inputs.test.cluster.MC.lammps
WARNING: no quippy module loaded
WARNING: no quippy module loaded
comm <mpi4py.MPI.Intracomm object at 0x7f66f1d06900> size 2 rank 0
comm <mpi4py.MPI.Intracomm object at 0x7f00f2fcf900> size 2 rank 1
Traceback (most recent call last):
File "../ns_run", line 6, in
Traceback (most recent call last):
File "../ns_run", line 6, in
ns_run.main()
File "/home/vama/soft/pymatnest/ns_run.py", line 2606, in main
ns_run.main()
File "/home/vama/soft/pymatnest/ns_run.py", line 2606, in main
exit_error("need either n_iter_times_fraction_killed or converge_down_to_T")
TypeError: exit_error() takes exactly 2 arguments (1 given)
exit_error("need either n_iter_times_fraction_killed or converge_down_to_T")
TypeError: exit_error() takes exactly 2 arguments (1 given)

@noambernstein
Copy link

Example script must have fallen out of date with some syntax change. If no one else does before then, I'll take a look tomorrow.

 Noam

On Nov 16, 2016, at 8:01 PM, Alvaro Vazquez-Mayagoitia [email protected] wrote:

Hi, I cannot run the lammps test examples, it seems like a variable is missing.
I get the follow error:

$>mpirun -n 2 ../ns_run < inputs.test.cluster.MC.lammps
WARNING: no quippy module loaded
WARNING: no quippy module loaded
comm <mpi4py.MPI.Intracomm object at 0x7f66f1d06900> size 2 rank 0
comm <mpi4py.MPI.Intracomm object at 0x7f00f2fcf900> size 2 rank 1
Traceback (most recent call last):
File "../ns_run", line 6, in
Traceback (most recent call last):
File "../ns_run", line 6, in
ns_run.main()
File "/home/vama/soft/pymatnest/ns_run.py", line 2606, in main
ns_run.main()
File "/home/vama/soft/pymatnest/ns_run.py", line 2606, in main
exit_error("need either n_iter_times_fraction_killed or converge_down_to_T")
TypeError: exit_error() takes exactly 2 arguments (1 given)
exit_error("need either n_iter_times_fraction_killed or converge_down_to_T")
TypeError: exit_error() takes exactly 2 arguments (1 given)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@gabor1
Copy link
Contributor

gabor1 commented Nov 17, 2016

We put in the argument it asked about, then it complained about lammps atom types.

-- Gábor

On 16 Nov 2016, at 17:07, noambernstein [email protected] wrote:

Example script must have fallen out of date with some syntax change. If no one else does before then, I'll take a look tomorrow.

Noam

On Nov 16, 2016, at 8:01 PM, Alvaro Vazquez-Mayagoitia [email protected] wrote:

Hi, I cannot run the lammps test examples, it seems like a variable is missing.
I get the follow error:

$>mpirun -n 2 ../ns_run < inputs.test.cluster.MC.lammps
WARNING: no quippy module loaded
WARNING: no quippy module loaded
comm <mpi4py.MPI.Intracomm object at 0x7f66f1d06900> size 2 rank 0
comm <mpi4py.MPI.Intracomm object at 0x7f00f2fcf900> size 2 rank 1
Traceback (most recent call last):
File "../ns_run", line 6, in
Traceback (most recent call last):
File "../ns_run", line 6, in
ns_run.main()
File "/home/vama/soft/pymatnest/ns_run.py", line 2606, in main
ns_run.main()
File "/home/vama/soft/pymatnest/ns_run.py", line 2606, in main
exit_error("need either n_iter_times_fraction_killed or converge_down_to_T")
TypeError: exit_error() takes exactly 2 arguments (1 given)
exit_error("need either n_iter_times_fraction_killed or converge_down_to_T")
TypeError: exit_error() takes exactly 2 arguments (1 given)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@noambernstein
Copy link

On Nov 16, 2016, at 8:10 PM, gabor1 [email protected] wrote:

We put in the argument it asked about, then it complained about lammps atom types.

At some point we started requiring a conversion from ASE species to Lammps atom types. I'll update the example input and let you know when it's ready. Bad form to have let it get out of date, but that's what happens when you don't do automated testing.

Noam

@noambernstein
Copy link

The version of the example input file already has the
n_iter_times_fraction_killed argument as well as a LAMMPS_atom_types.
The only supported files are the ones in example_inputs/. Is that
where you're looking? And is it the latest gitlab version?

I'd be happy to move the other old example directories to some
directory, or get rid of them altogether.

Noam

@gabor1
Copy link
Contributor

gabor1 commented Nov 17, 2016

He was just following the README, and using the scripts from the tests_lammps directory

"Example input files for clusters and periodic systems, both with MC and MD, are in the tests/"

I think it would help a lot if you just removed the deprecated input files altogether, and updated the README. they'll be preserved in the git history for posterity.

thanks for looking into it.

— Gábor

On 16 Nov 2016, 18:21:00, noambernstein [email protected] wrote: The version of the example input file already has the
n_iter_times_fraction_killed argument as well as a LAMMPS_atom_types.
The only supported files are the ones in example_inputs/. Is that
where you're looking? And is it the latest gitlab version?

I'd be happy to move the other old example directories to some
directory, or get rid of them altogether.

Noam


You are receiving this because you commented.
Reply to this email directly, view it on GitHub(#2 (comment)), or mute the thread(https://github.com/notifications/unsubscribe-auth/AFAG51j8fqRP_HGsOPVKZWtmMP4XV_-qks5q-7oMgaJpZM4K0smu).

@liviabp
Copy link
Collaborator

liviabp commented Nov 17, 2016

Sorry, some old info was left in the README, the correct location of the examples were given at the end, under the “documentation” section. I corrected and pushed a new readme file.

Livia

On 17 Nov 2016, at 03:03, gabor1 [email protected] wrote:

He was just following the README, and using the scripts from the tests_lammps directory

"Example input files for clusters and periodic systems, both with MC and MD, are in the tests/"

I think it would help a lot if you just removed the deprecated input files altogether, and updated the README. they'll be preserved in the git history for posterity.

thanks for looking into it.

— Gábor

On 16 Nov 2016, 18:21:00, noambernstein [email protected] wrote: The version of the example input file already has the
n_iter_times_fraction_killed argument as well as a LAMMPS_atom_types.
The only supported files are the ones in example_inputs/. Is that
where you're looking? And is it the latest gitlab version?

I'd be happy to move the other old example directories to some
directory, or get rid of them altogether.

Noam


You are receiving this because you commented.
Reply to this email directly, view it on GitHub(#2 (comment)), or mute the thread(https://github.com/notifications/unsubscribe-auth/AFAG51j8fqRP_HGsOPVKZWtmMP4XV_-qks5q-7oMgaJpZM4K0smu).


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@noambernstein
Copy link

Does anyone object to removing all the old tests*/ directories and leaving only example_inputs/ ?

  Noam

On Nov 17, 2016, at 4:49 AM, liviabp [email protected] wrote:

Sorry, some old info was left in the README, the correct location of the examples were given at the end, under the “documentation” section. I corrected and pushed a new readme file.

Livia

On 17 Nov 2016, at 03:03, gabor1 [email protected] wrote:

He was just following the README, and using the scripts from the tests_lammps directory

"Example input files for clusters and periodic systems, both with MC and MD, are in the tests/"

I think it would help a lot if you just removed the deprecated input files altogether, and updated the README. they'll be preserved in the git history for posterity.

thanks for looking into it.

— Gábor

On 16 Nov 2016, 18:21:00, noambernstein [email protected] wrote: The version of the example input file already has the
n_iter_times_fraction_killed argument as well as a LAMMPS_atom_types.
The only supported files are the ones in example_inputs/. Is that
where you're looking? And is it the latest gitlab version?

I'd be happy to move the other old example directories to some
directory, or get rid of them altogether.

Noam


You are receiving this because you commented.
Reply to this email directly, view it on GitHub(#2 (comment)), or mute the thread(https://github.com/notifications/unsubscribe-auth/AFAG51j8fqRP_HGsOPVKZWtmMP4XV_-qks5q-7oMgaJpZM4K0smu).


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@gabor1
Copy link
Contributor

gabor1 commented Aug 26, 2020

Can we close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants