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

Run Error by creating a new case from modified CAM module

nuvolet

Toni Viudez
Member
Greetings,

I am customizing one module in CAM6 (CESM2.2), nudging.F90, and after I made my changes, I created a new case and moved the new module modified to the the SourceMod/src.cam folder in my new case folder.
Once I setup, build and submit the case, I do not have any Fortran error, which usually are located in the /output/$casename/bld/atm.blglog. file.
Nevertheless, the error/problem comes from the /output/$casename/run/cesm.log. file, which I enclosed in this post.
Does anyone know where this error came from or what it means?.

Thanks in advance
 

Attachments

  • cesm.log.220419-090725.txt
    15.7 KB · Views: 3

fischer

CSEG and Liaisons
Staff member
Hi Toni,

My best guess, based on the error message, is you might be accessing an array outside of it's bounds. A couple of things you can try
doing is rebuilding the code with debugging turned on using ./xmlchange DEBUG=TRUE. This might give you a better backtrace.
You can also trying doing the run without your code mods.

Also please include more information based on this post.

Thanks
Chris
 

nuvolet

Toni Viudez
Member
Hi Toni,

My best guess, based on the error message, is you might be accessing an array outside of it's bounds. A couple of things you can try
doing is rebuilding the code with debugging turned on using ./xmlchange DEBUG=TRUE. This might give you a better backtrace.
You can also trying doing the run without your code mods.

Also please include more information based on this post.

Thanks
Chris
Hi Chris,

I turned on the debugging and at least it gives me more detail about where I had the errors.
This it will help help me to indemnify where I have to solve those problems.
And indeed it was something related to accessing an array outside of its bounds.

Thanks for your help.
 

nuvolet

Toni Viudez
Member
Hi Toni,

My best guess, based on the error message, is you might be accessing an array outside of it's bounds. A couple of things you can try
doing is rebuilding the code with debugging turned on using ./xmlchange DEBUG=TRUE. This might give you a better backtrace.
You can also trying doing the run without your code mods.

Also please include more information based on this post.

Thanks
Chris
Hi Chris,

After using your suggestion about enabling the debug option, I have been able to find where I had errors.
It has been very helpful. :)
Nevertheless, I made the changes in the module I want to customize and even I do not have more errors I got multiple warnings (see atm.bldlog.220420-112335.gz enclosed ), which are in modules I did not modified.
By any change do you have any idea the reason I go those warnings?.
Thanks in advance

Toni
 

Attachments

  • atm.bldlog.220420-112335.gz
    122.5 KB · Views: 0

nuvolet

Toni Viudez
Member
Hi Toni,

My best guess, based on the error message, is you might be accessing an array outside of it's bounds. A couple of things you can try
doing is rebuilding the code with debugging turned on using ./xmlchange DEBUG=TRUE. This might give you a better backtrace.
You can also trying doing the run without your code mods.

Also please include more information based on this post.

Thanks
Chris
Hi Chris,

I would like to know if do you mind to tell if you know what does it mean these messages (file enclosed, CESM.log) I got after I modified the nudging.F90 module in CAM6?.
The case I am creating, it is build successfully, but it looks that the executable it is created does not work.
Thanks in advance.

Toni
 

Attachments

  • cesm.log.220425-112154.txt
    13.4 KB · Views: 1
Top