From 2b4eb2a2572d8d96dae8a7701f360a296f3d8fc6 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 13 Dec 2012 13:53:54 +0000 Subject: [PATCH] changed shell variable containing name of Workstation from $HOST to $HOSTNAME as this is also working on Ubuntu --- code/DAMASK_spectral_interface.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/DAMASK_spectral_interface.f90 b/code/DAMASK_spectral_interface.f90 index 498c45652..6318c9c95 100644 --- a/code/DAMASK_spectral_interface.f90 +++ b/code/DAMASK_spectral_interface.f90 @@ -182,7 +182,7 @@ subroutine DAMASK_interface_init(loadCaseParameterIn,geometryParameterIn) geometryFile = getGeometryFile(geometryParameter) loadCaseFile = getLoadCaseFile(loadCaseParameter) - call get_environment_variable('HOST',hostName) + call get_environment_variable('HOSTNAME',hostName) call get_environment_variable('USER',userName) call date_and_time(values = dateAndTime)