Error regarding variable dP in prsgrd44.h or prsgrd42.h

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
c.drinkorn
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

#1 Unread post by c.drinkorn »

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).

User avatar
arango
Site Admin
Posts: 1347
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: Error regarding variable dP in prsgrd44.h or prsgrd42.h

#2 Unread post by arango »

Indeed. Thank you for reporting this issue. Please update.

Post Reply