Compile HydroDyn in Linux

HI,
I have downloaded the HydroDyan module provided on NREL NWTC wesbite. I am trying to compile it with Gnu Fortran to make it a standalone module. I have use dpre compiler NWTC_Library to compile few of the subroutines. When I try to compile Morison subroutines, i get this error:

Morison_Types.f90:334.53:

TYPE(OutParmType) , DIMENSION(:), ALLOCATABLE  :: OutParam 
                                                 1

Error: Derived type at (1) has not been previously defined and so cannot appear in a derived type definition
Morison_Types.f90:334.62:

TYPE(OutParmType) , DIMENSION(:), ALLOCATABLE  :: OutParam 
                                                          1

Error: The pointer component ‘outparam’ of ‘morison_parametertype’ at (1) is a type that has not been declared

Also, when I try to compile SS_Radiation.f90, i get this error

SS_Radiation.f90:131.191:

Stat, ErrMsg) ! Reads in the second line, containing the active dofs vector
1
Error: There is no specific subroutine for the generic ‘readary’ at (1)
SS_Radiation.f90:132.155:

ErrStat, ErrMsg) ! Reads in the third line, containing the number of states
1
Error: There is no specific subroutine for the generic ‘readvar’ at (1)
SS_Radiation.f90:133.215:

at, ErrMsg) ! Reads in the forth line, containing the state per dofs vector
1
Error: There is no specific subroutine for the generic ‘readary’ at (1)
SS_Radiation.f90:136.129:

‘.ss’, ‘Header’,Sttus,ErrMsg )! Reads the first entire line (Title header)
1
Error: More actual than formal arguments in procedure call at (1)
SS_Radiation.f90:199.113:

p%InputFile)//’.ss’, Rad_A(I,:), N, ‘Rad_A’, ‘A_Matrix’,ErrStat, ErrMsg)
1
Error: There is no specific subroutine for the generic ‘readary’ at (1)
SS_Radiation.f90:203.116:

InputFile)//’.ss’, Rad_B(I,:), 6, ‘Rad_B’, ‘B_Matrix’,ErrStat, ErrMsg)
1
Error: There is no specific subroutine for the generic ‘readary’ at (1)
SS_Radiation.f90:207.111:

tInp%InputFile)//’.ss’, Rad_C(I,:), N, ‘Rad_C’, ‘C_Matrix’,ErrStat, ErrMsg)
1
Error: There is no specific subroutine for the generic ‘readary’ at (1)

fyi: I managed to compile

Currrent*, fftpack*, WAVES*, CONV* etc.

I would appreciate if some information would be provided to compile this package. Also, there was no Makefile provided with this module. I was wondering whether it is supposed to bet that way.

Nikhil,

You need to compile the entire NWTC Subroutine Library first.

Marshall