Gfortran 8 failed with
At line 115 of file DAMASK/src/system_routines.f90 Fortran runtime error: Unequal character lengths (93/52) in MERGE intrinsic not sure whether this is a false alarm or not ...
This commit is contained in:
parent
68bf21c900
commit
e6f1b17149
|
@ -112,9 +112,11 @@ function getCWD()
|
||||||
|
|
||||||
call getCurrentWorkDir_C(getCWD_Cstring,stat)
|
call getCurrentWorkDir_C(getCWD_Cstring,stat)
|
||||||
|
|
||||||
getCWD = merge(c_f_string(getCWD_Cstring), &
|
if(stat == 0) then
|
||||||
'Error occured when getting currend working directory', &
|
getCWD = c_f_string(getCWD_Cstring)
|
||||||
stat == 0_C_INT)
|
else
|
||||||
|
getCWD = 'Error occured when getting currend working directory'
|
||||||
|
endif
|
||||||
|
|
||||||
end function getCWD
|
end function getCWD
|
||||||
|
|
||||||
|
@ -130,9 +132,11 @@ function getHostName()
|
||||||
|
|
||||||
call getHostName_C(getHostName_Cstring,stat)
|
call getHostName_C(getHostName_Cstring,stat)
|
||||||
|
|
||||||
getHostName = merge(c_f_string(getHostName_Cstring), &
|
if(stat == 0) then
|
||||||
'Error occured when getting host name', &
|
getHostName = c_f_string(getHostName_Cstring)
|
||||||
stat == 0_C_INT)
|
else
|
||||||
|
getHostName = 'Error occured when getting host name'
|
||||||
|
endif
|
||||||
|
|
||||||
end function getHostName
|
end function getHostName
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue