ISISNeutronMuon / ISISNeutronMuon/MDMC

Redirect PyLammps stdout message

Open
#471 2 comments 0 reactions 0 assignees View on GitHub
bug iceboxed LAMMPS Interface
Dominant language
Python
Stars
4
Forks
0
Avg merge
2d 4h
Merged PRs (30d)
5

Description

**Description of the error**
When PyLammps is initialised it prints the following to stdout:
```
LAMMPS (3 Mar 2020)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:94)
using 1 OpenMP thread(s) per MPI task
LAMMPS output is captured by PyLammps wrapper
```

**Describe the expected result**
No message.

**Suggested fix**
Capture the output when PyLammps is initialised and redirect it to log.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.