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

Error in building cesm1_0_5

I think the error was from netcdf lib,  as is shown in the ccsm.bldlog.1 file Then I add one line in the Macros file as:LDFLAGS       := -L$(NETCDF_PATH)/lib -lnetcdff -lnetcdfThen new error come out, as is in ccsm.bldlog.2 fileany help is appreciated.thanks
 

jedwards

CSEG and Liaisons
Staff member
You need to link to the hdf5 library - you can usually get the link line you need by running nc-config --libsFor example on my laptop I get: nc-config --libs -L/usr/local/lib -lnetcdf -lhdf5_hl -lhdf5 -lz -ldl -lm -lz -lcurl
 

jedwards

CSEG and Liaisons
Staff member
You need to link to the hdf5 library - you can usually get the link line you need by running nc-config --libsFor example on my laptop I get: nc-config --libs -L/usr/local/lib -lnetcdf -lhdf5_hl -lhdf5 -lz -ldl -lm -lz -lcurl
 
Thanks.Problem fixed.I added a line in the Macros as:

LDFLAGS       := -L$(NETCDF_PATH)/lib -lnetcdff -lnetcdfLDFLAGS       += -L/usr/local/apps/hdf-centos7/hdf5.18.4-intel2013/lib  -lhdf5_hl -lhdf5Now I can successfully build the model.However, when I compile the model in a f09_g16 resolution with F2000, the model freeze at the 'Initialize atm component' step.Then I try to reconfigure the model in a f45_g37 res, the model abort at 'Initialize atm component' step with a error as 'forrtl: severe (174): SIGSEGV, segmentation fault occurred' Thanks 
 
Thanks.Problem fixed.I added a line in the Macros as:

LDFLAGS       := -L$(NETCDF_PATH)/lib -lnetcdff -lnetcdfLDFLAGS       += -L/usr/local/apps/hdf-centos7/hdf5.18.4-intel2013/lib  -lhdf5_hl -lhdf5Now I can successfully build the model.However, when I compile the model in a f09_g16 resolution with F2000, the model freeze at the 'Initialize atm component' step.Then I try to reconfigure the model in a f45_g37 res, the model abort at 'Initialize atm component' step with a error as 'forrtl: severe (174): SIGSEGV, segmentation fault occurred' Thanks 
 

jedwards

CSEG and Liaisons
Staff member
I can't see the problem in what you've sent me.   You might try to compile in debug mode.
 

jedwards

CSEG and Liaisons
Staff member
I can't see the problem in what you've sent me.   You might try to compile in debug mode.
 
Top