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

CESM2.1.3 case.setup error

Soeun

New Member
Hi All,
I encountered case.setup error with error message below:

ERROR: Variable SUPPORTS_CXX is set ambiguously in config_build.xml. Check the file for these conflicting settings:
1: {}
2: {}

When I try to setup again without any action, it worked, but the Macros.make file was empty.
Because of the Macros.make file with nothing written I failed the ./case.build as expected.
Is there anyone who encountered and solved this problem?

Any solution will be greatly appreciated.
 

jedwards

CSEG and Liaisons
Staff member
What compiler are you specifying? What does the entry in config_compilers.xml look like?
Why are you using 2.1.3 instead of the latest in that series 2.1.4?
 

Soeun

New Member
Thank you for the reply!

1) I'm using intel compiler. I attached config_compilers.xml.
2) I already have results using 2.1.3, so I have no choice but to use this series (as the case I'm running is ensemble run). Previously, It went well without any case.setup error, so I have no idea why it happens suddenly.
 

Attachments

  • config_compilers.txt
    44.2 KB · Views: 4

jedwards

CSEG and Liaisons
Staff member
I don't see the problem here. What does the Macros.make file look like in your case directory?
 

Soeun

New Member
The Macros.make file was made but nothing was written on it.
I think it's related to the case.setup error..
 

jedwards

CSEG and Liaisons
Staff member
I don't see any errors here - it seems to be writing the Macros.make file - but you say it's empty? Is your disk full?
 

Soeun

New Member
Yes. the Macros.make file was created but it was empty(no content). Also, the disk is not full.

I solved this problem by removing config_compilers.xml which was in .cime directory!
I don't know why it is solved, but ./case.setup goes well after the action.

Thank you very much for your responses.
 

majiantao

majiantao
New Member
I encountered the case.setup error with 2.1.3.The error message is the same as that Soeun encountered.The Macros.make file was made but nothing was written on it. When I try to setup again without any action, it worked, but the Macros.make file was empty. Because of the Macros.make file with nothing written I failed the ./case.build as expected.
Please see the case.setup.log with some errors , my config_compilers.xml and config_machines.xml. I can not solve the probem. Please help me solve it, Thank you!

 

Attachments

  • case.setup.txt
    1,012.3 KB · Views: 0
  • config_compilers.txt
    2.1 KB · Views: 0
  • config_machines.txt
    2.2 KB · Views: 1

jedwards

CSEG and Liaisons
Staff member
I don't understand the issue and don't know how to help - one thing you could try is to update to the
latest tag in the 2.1.x series - 2.1.4
 

Soeun

New Member
In my case, the presence of the 'config_compilers.xml' file in two different paths was the reason.
The config_compilers.xml was put in both directory, my_cesm_sandbox/cime/config/cesm/machines and .cime.
I removed one from .cime directory, then setup error was solved.

I hope it works!
 

majiantao

majiantao
New Member
Thanks for above reply! I removed one from "my_cesm_sandbox/cime/config/cesm/machines",then setup error was solved.
 

jedwards

CSEG and Liaisons
Staff member
It should be okay to have this file located in both places - I believe that the error indicates that there is a conflict in the contents of the two files.
The file in .cime should not contain any records already present in the file in cime/config/cesm
 
Top