LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Elie Choueiri (elie.choueiri_at_[hidden])
Date: 2005-02-08 14:26:53


Hi all

This seems like a really silly question, but I couldn't find what I
was looking for elsewhere..

Anyway, I was wondering how to get the IP or hostname of the machine
I'm currently on from within my MPI program. Hopefully without using
getenv () as it seems like the environment variables aren't getting
set properly..

Thanks,

elie