viviant
Mechanical
- Nov 16, 2007
- 1
Dear All,
I just started to use Python script to perform parametric study and I also have to use UMAT. I have problem on linking/calling the UMAT.
The script is executed with the command:
abaqus cae noGUI=myScript.py
and I received the following error message in the *.dat file:
*****ERROR: THE REQUESTED MEMORY CANNOT BE ALLOCATED. PLEASE CHECK THE SETTING FOR PRE_MEMORY. THIS ERROR IS CAUSED BY PRE_MEMORY BEING GREATER THAN THE MEMORY AVAILABLE TO THIS PROCESS. .....etc. ********
However the input file of the model is generated and seemed that everything that I have defined in the script is written correctly in the input file.
So I tested the generated input file by using the following command :
abaqus job=myInputFile user=umatFile.f interactive
After that the analysis runs though it is terminated after only a couple of iterations.
My questions are:
1. What could be the cause of problem with memory when I execute via the script? Does running a job from script takes a lot more memory than running from an input file?
2. Which command shall I use in the python script to define that I am using the file 'umatFile.f' as the UMAT subroutine? I can't find this in the Scripting Reference Manual.
3. Is using the command:
os.system('abaqus job=myInputFile user=umatFile.f interactive')
the only way to execute the job properly or can I predefine this in the script in other way?
Thank you in advance
I just started to use Python script to perform parametric study and I also have to use UMAT. I have problem on linking/calling the UMAT.
The script is executed with the command:
abaqus cae noGUI=myScript.py
and I received the following error message in the *.dat file:
*****ERROR: THE REQUESTED MEMORY CANNOT BE ALLOCATED. PLEASE CHECK THE SETTING FOR PRE_MEMORY. THIS ERROR IS CAUSED BY PRE_MEMORY BEING GREATER THAN THE MEMORY AVAILABLE TO THIS PROCESS. .....etc. ********
However the input file of the model is generated and seemed that everything that I have defined in the script is written correctly in the input file.
So I tested the generated input file by using the following command :
abaqus job=myInputFile user=umatFile.f interactive
After that the analysis runs though it is terminated after only a couple of iterations.
My questions are:
1. What could be the cause of problem with memory when I execute via the script? Does running a job from script takes a lot more memory than running from an input file?
2. Which command shall I use in the python script to define that I am using the file 'umatFile.f' as the UMAT subroutine? I can't find this in the Scripting Reference Manual.
3. Is using the command:
os.system('abaqus job=myInputFile user=umatFile.f interactive')
the only way to execute the job properly or can I predefine this in the script in other way?
Thank you in advance