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

segmentation fault occurred when making surface data

Status
Not open for further replies.

Xueli Huo

Member
Hi

I am running CLM tool mkmapdata.sh to generate the mapping files for a single point.

I typed the command in the log in node,
./mkmapdata.sh -r 1x1_boulderCO -f ../mkmapgrids/SCRIPgrid_1x1_boulderCO_nomask_c200903.nc -t regional
and when it comes to process with the source file '/glade/p/cesm/cseg/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_3minx3min_LandScan2004_c120517.nc'

The segmentation fault occurred. What should I do to solve the segmentation fault ?

Sincerely,
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
You need to submit the job to the queue in order to get enough memory to run. There is a sample job submission script in the mkmapdata directory called regridbatch.sh that you can use to run it. You'll need to modify it to just run the command you list above rather than creating mapping files for every resolution. The job submission script runs with 4 full large memory nodes, and only 8 of the processors, but that's needed in order to get enough memory. Running it interactively on a login mode doesn't have enough resources to work.

In general finding a segmentation fault is a difficult problem, as it can mean many different memory related problems. In this case we know that you need to run it as a batch job, so hopefully that will fix the problem.
 
Status
Not open for further replies.
Top