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

Hard coded netcdf inlcude library in pio configure file?

Dear all,

For several reasons I shifted from cesm1_0_3 to 1_0_4, not via the svn switch command, but just installing the new clean code.
Now, I ported my machines cesm1_0_3 configuration files to the new model version and try to configure a case.
When doing so, I got the message:
using NETCDF_PATH from environment
configure: error: netcdf.mod not found in NETCDF_PATH/include check the environment variable NETCDF_PATH
gmake: *** [configure] Error 1

Now, when comparing the pio configure files (models/utils/pio/configure) from cesm1_0_3 and 1_0_4, I noticed that the link to the netcdf.mod file is hardcoded? Although on my machine the link is not directly under $NETCDF_PATH/include/netcdf.mod but under $NETCDF_PATH/include/Intel/netcdf.mod (defined at lines 7758).

So maybe it is possible to have a look at this, so that the include paths are taken directly from the Macros. file?
 
Top