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

WARNING: No queue on this system met the requirements for this job. Falling back to defaults ERROR: No queues found

jyx

jyx
New Member
Could you please tell me how to solve this problem that I can't find? I don't know how to write batch.xml. I am using cesm-2.2.1 version.
When I use this command:
./create_newcase \
--case fwsc2010climo_test \
--compset FWsc2010climo \
--res f09_f09_mg17 \
--mach jyx \
--compiler intel \
--queue CPU-64C256GB \
--walltime 360:00:00 \

--run-unsupported
I got the above error, but when I added the queue code in the batch file, the system prompted me that in CESM 2.2.1 (your version):
config_batch.xsd schema does not support <queues>
The following is the content of the batch:

<?xml version="1.0"?>
<config_batch version="2.1">

<!-- Define slurm template (global style, cannot be omitted) -->
<batch_system type="slurm">
<batch_submit>sbatch</batch_submit>
<batch_cancel>scancel</batch_cancel>
<batch_directive>#SBATCH</batch_directive>
<jobid_pattern>(\d+)$</jobid_pattern>
<depend_string>--dependency=afterok:{{ depid }}</depend_string>
<depend_allow_string>--dependency=afterany:{{ depid }}</depend_allow_string>
<depend_separator>,</depend_separator>
<walltime_format>%H:%M:%S</walltime_format>
<batch_mail_flag>--mail-user</batch_mail_flag>
<batch_mail_type_flag>--mail-type</batch_mail_type_flag>
<batch_mail_type>all, begin, end, fail</batch_mail_type>
</batch_system>

<!-- Bind your machine jyx's Slurm configuration -->
<batch_system MACH="jyx" type="slurm">
<batch_directive>#SBATCH</batch_directive>
<directives>
<directive>--job-name={{ job_id }}</directive>
<directive>--nodes={{ num_nodes }}</directive>
<directive>--ntasks={{ total_tasks }}</directive>
<directive>--ntasks-per-node={{ tasks_per_node }}</directive>
<directive>--time={{ walltime }}</directive>
<directive>--partition=CPU-64C256GB</directive>
<directive>--qos=qos_cpu_64c256gb</directive>
<directive>--output={{ job_id }}.out</directive>
<directive>--error={{ job_id }}.err</directive>
<directive>--exclusive</directive>
</directives>
</batch_system>

</config_batch>
 
Top