Feature request: log hostname in MRCC output

  • TiborGY
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 day 15 hours ago - 1 day 15 hours 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: 1 day 15 hours ago by TiborGY.

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

More
1 day 12 hours 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
1 day 11 hours 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
1 day 2 hours ago - 1 day 2 hours 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: 1 day 2 hours ago by i.s.ger.

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

Time to create page: 0.040 seconds
Powered by Kunena Forum