Skip to content

This Python script automates the process of submitting Abaqus jobs for .inp files in the current directory. It creates a .bat file for each .inp file and runs the Abaqus command using the specified number of CPUs. No matter how many input files you have in your current directory.

License

Notifications You must be signed in to change notification settings

tufailmab/AbaqusBatchJobSubmissionScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Batch Job Submission for Abaqus

This project provides a Python-based solution for submitting Abaqus jobs for all .inp files in the current directory. The script automates the process by creating and running batch files for each job.

Features

  • Automated Job Submission: Submits Abaqus jobs for all .inp files in the current directory.
  • User Input for CPUs: Prompts the user to specify the number of CPUs for each job.
  • Batch File Creation: Creates a .bat file for each .inp file.
  • Command Execution: Runs the Abaqus command using the specified number of CPUs.

Usage Instructions

  1. Place your .inp files in the directory where the script is located.
  2. Run the script using:
    python submit_jobs.py
  3. When prompted, enter the number of CPUs to use for each job (between 1 and 4).
  4. The script will create and run a .bat file for each .inp file.

Requirements

The following Python packages are required:

  • os
  • subprocess

These libraries are part of the Python Standard Library, so no additional installation is required.

License

This project is licensed under the MIT License.

You are free to use, modify, and distribute this software under the terms of the MIT License. If you use this software in your work, please provide appropriate credit to the developer.

Developer Information

  • Developer: Your Name
  • Contact: WhatsApp
  • Note: This tool is open-source. Feel free to modify it and share improvements.

About

This Python script automates the process of submitting Abaqus jobs for .inp files in the current directory. It creates a .bat file for each .inp file and runs the Abaqus command using the specified number of CPUs. No matter how many input files you have in your current directory.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages