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: 82
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 Post by c.drinkorn » Tue Jul 09, 2019 2:53 pm

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: 1084
Joined: Wed Feb 26, 2003 4:41 pm
Location: IMCS, Rutgers University
Contact:

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

#2 Post by arango » Tue Jul 09, 2019 8:33 pm

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

Post Reply