Feature request: log hostname in MRCC output

  • TiborGY
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
15 hours 28 minutes ago - 15 hours 27 minutes ago #1589 by TiborGY
Dear MRCC developers,

It would be nice if MRCC logged the hostname of the machine it is running on, like e.g. Molpro does.
Especially the timings are much more useful if it is known which machine a computation was run on, and this is information that can easily be lost without the hostname being in the output.

Or perhaps even the output of the lscpu utility could be included in the MRCC output. That would record the exact CPU model, NUMA node count, etc. for future reference.

Best regards,
Tibor
Last edit: 15 hours 27 minutes ago by TiborGY.

Please Log in or Create an account to join the conversation.

More
12 hours 49 minutes ago #1590 by i.s.ger
Replied by i.s.ger on topic Feature request: log hostname in MRCC output
You can add these commands to your submit script and collect this info into logs, so you will be able to track, how do you exactly run MRCC. For example, I'm tracking on which cores MRCC is actually running. Also, why you did not request to add info about compiler and how MRCC was compiled? That is make sense as request since different builds may give difference up to 4x and it does not depend on environment.

Regarding your requests, what if lscpu/hostname commands are not available? Are you able to provide portable way for giving info about CPU/hostname? And in the next step, if we would agree to add output of `lscpu`, it means that we would agree to add other output like `lstopo` from you or another guy. Not really convenient.

Please Log in or Create an account to join the conversation.

  • TiborGY
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 hours 1 minute ago #1591 by TiborGY
Replied by TiborGY on topic Feature request: log hostname in MRCC output
I agree, compiler options are important, and the lscpu utility is probably too much of a dependency. But on POSIX systems (Linux, BSD, MacOS) the gethostname function is available from libc, which is always present on all systems. Would that be portable enough?

Please Log in or Create an account to join the conversation.

More
2 hours 40 minutes ago - 2 hours 31 minutes ago #1592 by i.s.ger
Replied by i.s.ger on topic Feature request: log hostname in MRCC output
Not all systems are POSIX compatible. Moreover, POSIX does guarantee gethostname function existence: it can be defined as a macro, so it is not easily available directly from Fortran.

Actually, what we may suggest is to provide information about hostname for MPI builds and runs, since it has portable way to get hostname:
www.mpich.org/static/docs/v3.2/www3/MPI_Get_processor_name.html
Last edit: 2 hours 31 minutes ago by i.s.ger.

Please Log in or Create an account to join the conversation.

Time to create page: 0.041 seconds
Powered by Kunena Forum