Skip to content

Commit 0d2a58d

Browse files
committed
Not working but not infinite stucked either
1 parent dd06c55 commit 0d2a58d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autosubmit/platforms/wrappers/wrapper_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ def get_nodes(self):
741741
def build_cores_list(self):
742742
return textwrap.dedent(f"""
743743
total_cores={self.num_procs_value}
744-
jobs_resources={self.jobs_resources}
744+
jobs_resources='{self.jobs_resources}'
745745
processors_per_node=$(python3 -c "import json; print(json.loads('$jobs_resources')['PROCESSORS_PER_NODE'])")
746746
idx=0
747747
all_cores=()
@@ -825,7 +825,7 @@ def build_machinefiles_components(self):
825825
{self._create_components_dict()}
826826
827827
machines=""
828-
for component in $(echo $jobs_resources | jq -r ".${{section}}.COM:wPONENTS | keys[]"); do
828+
for component in $(echo $jobs_resources | jq -r ".${{section}}.COMPONENTS | keys[]"); do
829829
cores=$(echo $jobs_resources | jq -r ".${{section}}.COMPONENTS[$component]")
830830
while [ $cores -gt 0 ]; do
831831
if [ ${{#all_cores[@]}} -gt 0 ]; then

0 commit comments

Comments
 (0)