Automatically prepare, run, validate, and iteratively repair Molpro quantum chemistry jobs. Use this skill when the task involves generating Molpro input, launching Molpro, checking whether the calculation completed successfully, extracting energies/geometries/frequencies, or repairing failed jobs based on output diagnostics. Do not use this skill for general quantum chemistry theory discussion unless an actual Molpro workflow must be executed.
This skill executes end-to-end Molpro workflows for single-point, geometry optimization, frequency, and selected multireference calculations. It is designed for reliable task completion rather than free-form discussion.
Use this skill when the user asks to:
Do not use this skill when:
scripts/run_molpro.pyUse the extended reference library only when needed for one of the following:
When using reference files:
references/Index.md first when the relevant module is unclear.Always follow this sequence:
Identify the task type:
spoptfreqopt+freqcasscfmrciNormalize the minimum required inputs:
Prepare the first candidate. Do not hand-write large Molpro inputs in the conversation unless the user explicitly asked for the text only.
Run Molpro using scripts/run_molpro.py. Example: python run_molpro.py /home/user/calc/water.inp
Parse results of scripts/run_molpro.py.
Decide based on parser result:
terminated = normal, report results and save structured outputs.terminated = error, classify the failure from parser result.A Molpro run is considered successful only when all conditions are met:
terminated = normalopt, geometry optimization reached convergencefreq, frequencies were actually producedopt+freq, both optimization and frequency stages completedDo not assume success from file existence alone.
Default maximum retries: 3
Allowed conservative repair actions:
opt+freq into two stages if combined flow is fragileDisallowed automatic repair actions unless explicitly requested:
When a run fails:
references/* unless needed.opt+freq, cache the optimized geometry and reuse it.At the end of a successful run, provide:
At the end of an unsuccessful run, provide:
When invoked:
scripts/run_molpro.py.The following reference files are grouped by topic for easier routing.
Load only the smallest relevant subset for the current task.
Do not read the whole library unless explicitly required.
Use for onboarding, manual lookup, examples, and general orientation.
references/How_to_read_this_manual.mdreferences/Introduction_to_Molpro.mdreferences/Quickstart.mdreferences/Introductory_examples.mdreferences/Index.mdreferences/References.mdreferences/Recent_changes.mdreferences/License_information.mdreferences/Molpro_on_the_www.mdUse for input syntax, variables, job structure, file handling, runtime control, and execution issues.
references/Installation_guide.mdreferences/Definition_of_Molpro_input_language.mdreferences/General_program_structure.mdreferences/Program_control.mdreferences/Variables.mdreferences/File_handling.mdreferences/Running_Molpro.mdreferences/Running_Molpro_on_parallel_computers.mdreferences/General_hints_-_frequently_asked_questions.mdreferences/SMILES.mdUse for geometry definitions, optimization, gradients, frequencies, and related numerical procedures.
references/Molecular_geometry.mdreferences/Region.mdreferences/Minimization_of_functions.mdreferences/Integration.mdreferences/Energy_gradients.mdreferences/Geometry_optimization_OPTG.mdreferences/Harmonic_vibrational_frequencies_FREQUENCIES.mdUse for basis specification, extrapolation, ECP/CPP, density fitting, F12, and relativistic options.
references/Basis_input.mdreferences/Basis_set_extrapolation.mdreferences/Effective_core_potentials.mdreferences/Core_polarization_potentials.mdreferences/Density_fitting.mdreferences/Explicitly_correlated_methods.mdreferences/Relativistic_corrections.mdUse for Hartree–Fock, DFT, TDDFT/TDKS, and related response frameworks.
references/The_SCF_program.mdreferences/Density_functional_descriptions.mdreferences/The_density_functional_program.mdreferences/Time-dependent_density_functional_theory.mdreferences/The_TDHF_and_TDKS_programs.mdreferences/Kohn-Sham_random-phase_approximation.mdUse for MP2, CCSD, open-shell CC, EOM-CCSD, CC2, MRCC interface, and local single-reference excited-state methods.
references/Møller_Plesset_perturbation_theory.mdreferences/The_closed_shell_CCSD_program.mdreferences/Open-shell_coupled_cluster_theories.mdreferences/Excited_states_with_equation-of-motion_CCSD_EOM-CCSD.mdreferences/The_closed-shell_density_fitting_CC2_program_for_ground_and_excited_states.mdreferences/The_MRCC_program_of_M._Kallay_MRCC.mdreferences/Local_methods_for_excited_states.mdreferences/PAO-based_local_correlation_treatments.mdUse for CASSCF/MCSCF, MRCI, NEVPT2, MR perturbation theory, MRCC-like treatments, active-space construction, and orbital preparation.
references/Automated_construction_of_atomic_valence_active_spaces.mdreferences/The_MCSCF_program_MULTI.mdreferences/The_MRCI_program.mdreferences/The_NEVPT2_program.mdreferences/Internally_contracted_multireference_coupled-cluster_theory.mdreferences/Multireference_Rayleigh_Schrödinger_perturbation_theory.mdreferences/Multireference_local_correlation_methods_PNO-CASPT2.mdreferences/The_full_CI_program.mdreferences/The_VB_program_CASVB.mdreferences/Orbital_localization.mdreferences/Orbital_merging.mdreferences/Intrinsic_basis_bonding_analysis_IAO-IBO.mdUse for nonadiabatic couplings, SOC, quasi-diabatic workflows, surface generation, and dynamics-oriented tasks.
references/Ab_initio_multiple_spawning_dynamics.mdreferences/Non_adiabatic_coupling_matrix_elements.mdreferences/Spin-orbit-coupling.mdreferences/Quasi-diabatization.mdreferences/PES_generators.mdreferences/PES_transformations.mdUse for post-optimization vibrational analysis and spectroscopy-related workflows.
references/Franck-Condon_calculations.mdreferences/Instantons.mdreferences/Processing_of_rovibrational_line_lists_DAT2GR.mdreferences/Vibrational_perturbation_theory_VPT2.mdreferences/Vibrational_SCF_programs.mdreferences/Vibration_correlation_programs.mdUse for solvent/environment models, embedding, QM/MM, intermolecular energy decomposition, and specialized coupled electron–nuclear treatments.
references/Intermolecular_interaction_energies.mdreferences/Symmetry-adapted_intermolecular_perturbation_theory.mdreferences/The_COSMO_model.mdreferences/Projection-based_WF-in-DFT_embedding.mdreferences/QM-MM_interfaces.mdreferences/Nuclear-electronic_orbital_method.mdUse for expectation values, magnetic properties, cube export, analysis utilities, tables/plots, and database-style post-processing.
references/Properties_and_expectation_values.mdreferences/Chemical_shieldings,_magnetizability,_and_rotational_g-tensor.mdreferences/Dump_density_or_orbital_values_CUBE.mdreferences/Post-processing_of_output_and_databases.mdreferences/Tables_and_plotting.mdreferences/Matrix_operations.mdreferences/Physical_constants.mdsp)Use the simplest valid input that preserves the requested method and basis. Return:
opt)Prefer a dedicated optimization job. Return:
freq)Frequency should normally be run on an optimized structure. If the structure has not yet been optimized in the current workflow, prefer:
opt+freq)Prefer two-step execution:
casscf, mrci)Use only when the user clearly requests them or the project rules require them. Before execution, ensure: