Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

the problem about cnst_add

Dear all
When I use cnst_add to register a constituent.
Whether I only to change the ppcnst in constituents.F90, or I should change something in other files
Thank you very much
Student
2011.03.14
 

eaton

CSEG and Liaisons
If you add a constituent using the cnst_add subroutine, then you must set the correct value for the number of advected species when running configure. This is done via the -nadv argument. For standard configurations the configure script figures this out automatically. If you make this type of source code modification then you need to know what the correct value for -nadv is in order to set it correctly. The easiest way to do this is to run configure in verbose mode (with -v) so that it echoes the default value of -nadv. Then you can increment it accordingly, and specify the correct value of -nadv on the configure commandline.
 
Top