Current cryoSPARC version: v4.3.0+230816
We have a cluster template script that contains a custom ram_gb_multiplier
variable as suggested here. This appears to cause the cryosparcm cluster validate
command to fail:
$ cryosparcm cluster validate hpc --projects_dir /path/to/test
Validating cluster configuration for hpc
Using projects_dir /path/to/test
Submitting test script to cluster...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/path/to/cryosparc_master/cryosparc_compute/cluster.py", line 72, in validate
res = submit_cluster_script(target, cluster_script, template_args)
File "/path/to//cryosparc_master/cryosparc_compute/cluster.py", line 150, in submit_cluster_script
script = Template(cluster_script).render(template_args)
File "/path/to/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/jinja2/environment.py", line 1090, in render
self.environment.handle_exception()
File "/path/to/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/path/to/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "<template>", line 48, in top-level template code
File "/path/to/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/site-packages/jinja2/filters.py", line 794, in do_float
return float(value)
jinja2.exceptions.UndefinedError: 'ram_gb_multiplier' is undefined