Error regarding variable dP in prsgrd44.h or prsgrd42.h
-
- Posts: 110
- Joined: Thu Mar 08, 2018 2:47 am
- Location: German Research Centre for Geosciences
Error regarding variable dP in prsgrd44.h or prsgrd42.h
Probably due to case-insensitivity, there is a compiling problem with the variable dP in the pressure gradient routines for quartic pressure Jacobians. The variable conflicts with the parameter DP for double precision from the mod_kinds module. Renaming dP to say dPr solved the problem. I know that these options aren't used so often but since I tried them out and faced this issue I wanted to let you know. I am using ifort on Linux. There exists a case sensitivity flag but switching this on caused new compiling issues so I suppose case insensitivity is wanted for ROMS compilation (just an unqualified guess).
- arango
- Site Admin
- Posts: 1356
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: Error regarding variable dP in prsgrd44.h or prsgrd42.h
Indeed. Thank you for reporting this issue. Please update.