I have written a UMAT subroutine in which I call a Python code of ABAQUS simulation.
st1=SYSTEM('abaqus cae noGUI="c:\temp\pycode.py"')
I need to pass some variables from Fortran to my Python code and bring back some other values from Python to Fortran. Now, I write those variables in text files and load them in Python and Fortran. By this way, I cannot parallelize my code since all the cores wants to write in a file at the same time.