--- trunk/libf/dyn3d/abort_gcm.f90 2008/04/18 14:45:53 10 +++ trunk/libf/dyn3d/abort_gcm.f90 2010/04/01 09:07:28 30 @@ -15,8 +15,7 @@ ! message = stuff to print ! ierr = severity of situation ( = 0 normal ) - USE IOIPSL, only: histclo - use iniprint, only: lunout + USE histcom, only: histclo character(len=*), intent(in):: modname integer, intent(in):: ierr @@ -27,9 +26,9 @@ print *, 'abort_gcm' call histclo - write(lunout,*) 'Stopping in ', modname - write(lunout,*) 'Reason = ', trim(message) - write(lunout,*) 'Houston, we have a problem ', ierr + print *, 'Stopping in ', modname + print *, 'Reason: ', trim(message) + print *, 'Houston, we have a problem ', ierr STOP 1 END SUBROUTINE abort_gcm