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

I'm encountering the error "Program received signal SIGSEGV: Segmentation fault - invalid memory reference." Could anyone help me resolve this issue?

slzb

slzb
New Member
Hello, I'm sorry to bother you. I have searched for my issue on the forum, but unfortunately, I haven't been able to resolve it.
My current system is Ubuntu 18.04, and I'm using CESM 2.2.0.

So far, I have only modified two files: ~/cesm2.0/cime/config/cesm/machines/config_compilers.xml and ~/cesm2.0/cime/config/cesm/machines/config_machines.xml. The specific contents of these files are provided in the attachments.

In the config_compilers.xml file, I added the following configuration:
<SLIBS><append MPILIB="mpich"> -lnetcdf -lnetcdff -lblas -llapack </append><append MPILIB="openmpi"> -lnetcdf -lnetcdff -lblas -llapack </append><append MPILIB="mpi-serial"> -lnetcdf -lnetcdff -lblas -llapack </append></SLIBS>
In the config_machines.xml file, I added a configuration for my local machine named "mygnu", with details provided in the attachment.

After successfully running:./create_newcase --case testMEX --compset I1PtClm50SpGs --res 1x1_mexicocityMEX --machine mygnu --run-unsupported./case.setupand./case.build
I executed ./case.submit, but encountered an error. The error log is included in the attachment named "error".
 

Attachments

  • error.txt
    2.9 KB · Views: 3
  • config_machines.xml.txt
    99.3 KB · Views: 0
  • config_compilers.xml.txt
    41.1 KB · Views: 0
  • cesm.log.251126-040522.txt
    7.9 KB · Views: 2
  • cesm.exe.txt
    7.5 KB · Views: 0
Top