Running JEDI applicationsΒΆ
There are several options when running JEDI applications executables:
Run in application mode (most commonly used). The example below would run a
Variational
JEDI application with the FV3 model, passingmyconfig.yaml
to configure the application. Depending on the system, replacempiexec
with the correct launcher command (e.g.srun -n
) and submit the job through a batch script or in an interactive session.
[mpiexec -nN] fv3jedi-var.x myconfig.yaml [output-file]
Run in validate-only mode. The example below would verify that
myconfig.yaml
is a valid configuration file for theVariational
JEDI application, but will not run theVariational
application.
fv3jedi-var.x --validate-only myconfig.yaml
Run in no-validate mode. The application will be run, but the configuration file will not be validated before running the application. Only recommended if the application was previously run with the same configuration file in
--validate-only
mode. Configuration file validation produces user-friendly error messages if the configuration file is erroneous. Skipping validation in that case may produce error messages that are harder to understand.
fv3jedi-var.x --no-validate myconfig.yaml [output-file]
Run in generate schema mode. The example below will generate JSON schema for the
Variational
application. JSON schema can be used e.g. in IDEs for validating and auto-completing keys in configuration files.
fv3jedi-var.x --output-json-schema=myschema.schema