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

problems following the instructions in #122

JamesSuter opened this issue Jun 11, 2019 · 3 comments

problems following the instructions in #122

JamesSuter opened this issue Jun 11, 2019 · 3 comments


Copy link

@JamesSuter JamesSuter commented Jun 11, 2019

I'm following the instructions listed in

So far, everything is OK, except for "LAMMPS testing on the local host"

After typing:

fabsim localhost lammps_dummy:lammps_dummy,cores=1,wall_time=1:00:0

I get this error:

[james@localhost] run: mkdir -p /Users/James/FabSim3/config_files; mkdir -p /Users/James/FabSim3/results; mkdir -p /Users/James/FabSim3/scripts; mkdir -p /Users/James/FabSim3/config_files/lammps_dummy
[james@localhost] rsync_project: rsync -pthrvz --rsh='ssh -p 22 ' /Users/james/work/Fabsim3/config_files/lammps_dummy/ james@localhost:/Users/James/FabSim3/config_files/lammps_dummy
[localhost] local: rsync -pthrvz --rsh='ssh -p 22 ' /Users/james/work/Fabsim3/config_files/lammps_dummy/ james@localhost:/Users/James/FabSim3/config_files/lammps_dummy
building file list ... done

sent 68 bytes received 20 bytes 58.67 bytes/sec
total size is 678 speedup is 7.70
SCRIPT: lammps
FabSim Error: could not find template file. FabSim looked for it in the following directories: ['/Users/james/work/Fabsim3/plugins/FabDummy/templates', '/Users/james/work/Fabsim3/deploy/templates']
Traceback (most recent call last):
File "/Users/james/work/FabSim3/bin/", line 767, in main
*args, **kwargs
File "/usr/local/lib/python3.7/site-packages/fabric/", line 387, in execute
File "/usr/local/lib/python3.7/site-packages/fabric/", line 277, in _execute
return*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/fabric/", line 174, in run
return self.wrapped(*args, **kwargs)
File "/Users/james/work/Fabsim3/plugins/FabDummy/", line 61, in lammps_dummy
job(dict(script='lammps', wall_time = '0:15:0', lammps_input = "in.CG.lammps"),args)
File "/Users/james/work/Fabsim3/base/", line 465, in job
env.job_script = script_templates(env.batch_header, env.script)
File "/Users/james/work/Fabsim3/deploy/", line 19, in script_templates
result= "\n".join([script_template_content(name) for name in names]+commands)
TypeError: sequence item 1: expected str instance, NoneType found
Disconnecting from localhost... done.

I am presuming actually requires FabMD plugin, but this is not clear in the documentation.

Copy link
Collaborator Author

@JamesSuter JamesSuter commented Jun 11, 2019

I've figured it out - it is because I hadn't installed the FabMD plugin. This requirement is not mentioned in


Copy link

@arabnejad arabnejad commented Jun 11, 2019 is updated


@arabnejad arabnejad self-assigned this Jun 11, 2019
Copy link

@djgroen djgroen commented Jun 11, 2019

Perhaps it's a bit strange to be installing FabMD as part of, but the solution works for me. So I'm happy to close this for now, and we can always revisit this after M12.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants