- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I am running LAMMPS using OpenMPI on both AMD and Intel CPUs.
When I run LAMMPS on an AMD system using `mpirun` built with AOCC, the screen output only shows messages from rank 0, which is convenient.
However, when I run LAMMPS on an Intel CPU using `mpirun` from Intel oneAPI (Intel MPI), the output includes messages from **all ranks**, making it difficult to monitor the simulation status.
Is there a way to configure `mpirun` or Intel MPI so that only rank 0 prints output to the screen (as OpenMPI+AOCC seems to do by default)?
Best regards,
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ppk1
I am not sure if I understand what you are trying to archive. You can use:
-outfile-pattern <file>
Use this option to redirect stdout to the specified file.
-errfile-pattern <file>
Use this option to redirect stderr to the specified file.
e.g. -outfile-patter %r_out
to generate a separate outputfile (#rank_out in this example) for each rank.
Could you please give some example of what is exactly different?

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page