summaryrefslogtreecommitdiff
path: root/src/util/Network.c
Commit message (Collapse)AuthorAge
* Cache result of gethostname() calleschnett2012-11-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4914 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing Network.c for Cray XT4 Compute Node Linux Compatibility.jshalf2007-10-26
| | | | | | | | | | | | | | | | | | | | | | Network.c uses gethostbyname() which is available on the front-end nodes of the XT4, but not available on Compute Node Linux back-end nodes. The code will link fine with gethostbyname(), but will resolve to the dynamically shared library version of glibc. Since the Compute nodes do not understand dynamically linked libraries (only static linking), then it causes a fatal runtime error if gethostbyname() is invoked even though the compiler will not provide any warning that something bad will occur. Therefore, if you #define CRAY_XT, it will disable the gethostbyname() so as to prevent a fatal runtime error when GetHostName is called. Need to find out a way to recognize Cray XT4/Compute-node-Linux systems automatically. The front-end of the XT4 looks exactly like a Linux cluster. (uname returns "Linux"). Perhaps add a test to the Linux cluster known architectures file that points it to a XT4_CNL known-architetures file. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4434 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Putting semicolons at the end of the CCTK_FILEVERSIONs.goodale2002-11-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3028 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Made it so that netdb.h and winsock2.h are never both included. This waskcamarda2002-02-22
| | | | | | | necessary to compile with the gnu compilers in cygwin. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2617 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing includes and fixed a couple of 'cast from const pointer' warnings.tradke2001-10-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2442 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The terminating NUL character was set one bytes too far into the hoststring.tradke2001-01-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2007 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing extraneous include introduced by my last commit.goodale2001-01-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2006 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include util_Network.h for consistency.goodale2001-01-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2005 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add in winsock header file necessary for Windows.goodale2001-01-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2003 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added separate source file plus header for network related utility routines.tradke2001-01-19
For now it just provides util_GetHostName(). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2001 17b73243-c579-4c4c-a9d2-2d5706c11dac