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

Why do I have to care about CISM grid when trying to build CAM

Hi Bill: I am trying to install CAM6 in Derecho using the following newcase command:
./create_newcase --case /glade/derecho/scratch/$USER/cases/base_run --walltime 12:00:00 --mach derecho --compiler intel --res f09_f09_mg17 --compset 2000_CAM60_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV --project ******* --run-unsupported

However, the ./case.build stops prompting me for NETCDF paths as follows:
#########
cat /glade/derecho/scratch/jmejia/base_run/bld/lnd.bldlog.231011-182826

/glade/u/home/jmejia/my_cesm_sandbox/components/clm//cime_config/buildlib:6: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses

import sys, os, shutil, imp

gmake complib -j 16 MODEL=clm COMPLIB=/glade/derecho/scratch/jmejia/base_run/bld/intel/mpich/nodebug/nothreads/mct/mct/noesmf/lib/libclm.a -f /glade/derecho/scratch/jmejia/cases/base_run/Tools/Makefile MACFILE=/glade/derecho/scratch/jmejia/cases/base_run/Macros.derecho :

output:

err:
/glade/derecho/scratch/jmejia/cases/base_run/Tools/Makefile:189: *** NETCDF not found: Define NETCDF_PATH or NETCDF_C_PATH and NETCDF_FORTRAN_PATH in config_machines.xml or config_compilers.xml. Stop.

ERROR: Command gmake complib -j 16 MODEL=clm COMPLIB=/glade/derecho/scratch/jmejia/base_run/bld/intel/mpich/nodebug/nothreads/mct/mct/noesmf/lib/libclm.a -f /glade/derecho/scratch/jmejia/cases/base_run/Tools/Makefile MACFILE=/glade/derecho/scratch/jmejia/cases/base_run/Macros.derecho failed with rc=2
########

Where should I add these paths? I though the requiered modules where loaded up. Any insight about how to process is appreciated. Thanks much.
 

dbailey

CSEG and Liaisons
Staff member
Hi Bill: I am trying to install CAM6 in Derecho using the following newcase command:
./create_newcase --case /glade/derecho/scratch/$USER/cases/base_run --walltime 12:00:00 --mach derecho --compiler intel --res f09_f09_mg17 --compset 2000_CAM60_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV --project ******* --run-unsupported

However, the ./case.build stops prompting me for NETCDF paths as follows:
#########
cat /glade/derecho/scratch/jmejia/base_run/bld/lnd.bldlog.231011-182826

/glade/u/home/jmejia/my_cesm_sandbox/components/clm//cime_config/buildlib:6: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses

import sys, os, shutil, imp

gmake complib -j 16 MODEL=clm COMPLIB=/glade/derecho/scratch/jmejia/base_run/bld/intel/mpich/nodebug/nothreads/mct/mct/noesmf/lib/libclm.a -f /glade/derecho/scratch/jmejia/cases/base_run/Tools/Makefile MACFILE=/glade/derecho/scratch/jmejia/cases/base_run/Macros.derecho :

output:

err:
/glade/derecho/scratch/jmejia/cases/base_run/Tools/Makefile:189: *** NETCDF not found: Define NETCDF_PATH or NETCDF_C_PATH and NETCDF_FORTRAN_PATH in config_machines.xml or config_compilers.xml. Stop.

ERROR: Command gmake complib -j 16 MODEL=clm COMPLIB=/glade/derecho/scratch/jmejia/base_run/bld/intel/mpich/nodebug/nothreads/mct/mct/noesmf/lib/libclm.a -f /glade/derecho/scratch/jmejia/cases/base_run/Tools/Makefile MACFILE=/glade/derecho/scratch/jmejia/cases/base_run/Macros.derecho failed with rc=2
########

Where should I add these paths? I though the requiered modules where loaded up. Any insight about how to process is appreciated. Thanks much.
I am going to move this to the porting forum.
 
Top