I am try to compile coawst by using gfortran. When I tried to compile SCRIP_COAWST, there is one error about flags,did someone have the same error before? Here is the error:
Code: Select all
/usr/bin/gfortran -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -c ./kinds_mod.f
/usr/bin/gfortran -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -c ./constants.f
/usr/bin/gfortran -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -c ./iounits.f
/usr/bin/gfortran -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -c ./netcdf.f
/usr/bin/gfortran -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -c ./scripwrap_mod.f
./scripwrap_mod.f:38.48:
integer(int_kind), allocatable :: istr_w, jstr_w, &
1
Error: Allocatable component at (1) must be an array
./scripwrap_mod.f:55.48:
integer(int_kind), allocatable :: istr_o, jstr_o, &
1
Error: Allocatable component at (1) must be an array
./scripwrap_mod.f:72.48:
integer(int_kind), allocatable :: istr_a, jstr_a, &
1
Error: Allocatable component at (1) must be an array
make: *** [scripwrap_mod.o] Error 1