Dear Alan,
I wanted to follow up on my previous message with additional information about the specific errors I encountered.
After attempting to implement only your most recent changes (from approximately 10 hours ago) to the forfun.F90 file in my HYCOM 2.3.00 installation, I received the following compilation errors:
mpiifort -DREAL8 -DMPI -DENDIAN_IO -DNAN2003 -DTIMER -DRELO -DEOS_SIG2 -DEOS_17T -DMASSLESS_1MM -traceback -xHost -O3 -fp-model precise -no-fma -ftz -align array64byte -r8 -warn nogeneral -diag-disable 10212 -mcmodel=small -c dpudpv.F90
mpiifort -DREAL8 -DMPI -DENDIAN_IO -DNAN2003 -DTIMER -DRELO -DEOS_SIG2 -DEOS_17T -DMASSLESS_1MM -traceback -xHost -O3 -fp-model precise -no-fma -ftz -align array64byte -r8 -warn nogeneral -diag-disable 10212 -mcmodel=small -c forfun.F90
forfun.F90(4336): error #6404: This name does not have a type, and must have an explicit type. [UN1MIN]
un1min(lslot),un1max(lslot), &
-------------------------------^
forfun.F90(4336): error #6404: This name does not have a type, and must have an explicit type. [UN1MAX]
un1min(lslot),un1max(lslot), &
---------------------------------------------^
forfun.F90(4338): error #6410: This name has not been declared as an array or a function. [UN1MIN]
un1min(lslot) = un1min(lslot) - 0.1
----------^
forfun.F90(4339): error #6410: This name has not been declared as an array or a function. [UN1MAX]
un1max(lslot) = un1max(lslot) + 0.1
----------^
forfun.F90(4342): error #6404: This name does not have a type, and must have an explicit type. [VN1MIN]
vn1min(lslot),vn1max(lslot), &
-------------------------------^
forfun.F90(4342): error #6404: This name does not have a type, and must have an explicit type. [VN1MAX]
vn1min(lslot),vn1max(lslot), &
---------------------------------------------^
forfun.F90(4344): error #6410: This name has not been declared as an array or a function. [VN1MIN]
vn1min(lslot) = vn1min(lslot) - 0.1
----------^
forfun.F90(4345): error #6410: This name has not been declared as an array or a function. [VN1MAX]
vn1max(lslot) = vn1max(lslot) + 0.1
----------^
forfun.F90(4506): error #6404: This name does not have a type, and must have an explicit type. [FMIN]
fmin = hminb
----------^
forfun.F90(4507): error #6404: This name does not have a type, and must have an explicit type. [FMAX]
fmax = hmaxb
------^
It seems that these variables may have been declared in newer versions of the code but are missing from my 2.3.00 version. Could you please advise on how I should properly declare these variables in my version of the code? Should I look for their declarations
in the latest version of forfun.F90 and add them to my file, or is there a simpler approach to incorporating your recent changes?