Executing UMAT subroutine in .f90 form through ABAQUS?
I am using 'Abaqus standard 6.14-4' with 'Microsoft Visual Studio Ultimate 2012' and 'Intel composer XE 2013 for windows'. I have written a UMAT subroutine in free form .f90 format. Now when I try to provide this UMAT subroutine in ABAQUS, it gives me an error message, 'User subroutine file name must have a .for or .obj extension'.
I have tried to change the following lines in 'abaqus_v6.env' file:
compile_fortran=['ifort', '/c','/DABQ_WIN86_64', '/extend-source', '/fpp', '/iface:cref', '/recursive', '/Qauto-scalar', '/QxSSE3', '/QaxAVX', '/heap-arrays:1', # '/Od', '/Ob0', # <-- Optimization Debugging # '/Zi', # <-- Debugging '/include:%I']
But, may be I had made some mistake or some thing, I don't know... my problem still persist. Then, I have tried to add the following line at the top of UMAT subroutine: !DIR$ FREEFORM
and tried to feed this to ABAQUS. But, again failed as the same error message displayed again.
Please suggest me a solution so that I can feed my .f90 subroutine to ABAQUS job.
fortran fortran90 subroutine abaqus
|
show 1 more comment
I am using 'Abaqus standard 6.14-4' with 'Microsoft Visual Studio Ultimate 2012' and 'Intel composer XE 2013 for windows'. I have written a UMAT subroutine in free form .f90 format. Now when I try to provide this UMAT subroutine in ABAQUS, it gives me an error message, 'User subroutine file name must have a .for or .obj extension'.
I have tried to change the following lines in 'abaqus_v6.env' file:
compile_fortran=['ifort', '/c','/DABQ_WIN86_64', '/extend-source', '/fpp', '/iface:cref', '/recursive', '/Qauto-scalar', '/QxSSE3', '/QaxAVX', '/heap-arrays:1', # '/Od', '/Ob0', # <-- Optimization Debugging # '/Zi', # <-- Debugging '/include:%I']
But, may be I had made some mistake or some thing, I don't know... my problem still persist. Then, I have tried to add the following line at the top of UMAT subroutine: !DIR$ FREEFORM
and tried to feed this to ABAQUS. But, again failed as the same error message displayed again.
Please suggest me a solution so that I can feed my .f90 subroutine to ABAQUS job.
fortran fortran90 subroutine abaqus
I don't know Abaqus at all, but given it accepts object files can't use just compile your file "manually" and then provide that?
– Ian Bush
Nov 16 '18 at 7:30
1
Either the freeform directive or the /free in command line would compile a .for named file with f90 format source.
– tim18
Nov 16 '18 at 9:33
Thank you for your quick reply. My abaqus is now accepting the UMAT file with .for extension and writing '!DIR$ FREEFORM' at the top of subroutine script. However, when I give a data check it shows me another error message 'Problem during compilation - D:...XX.for'. is it because I have used modules and other features of Fortran 90, 2003 and 2008? Please clarify my doubt.
– Dipaloke
Nov 16 '18 at 10:14
1
You really have to tell us the full error message end the code it relates to.
– Vladimir F
Nov 16 '18 at 12:37
Dear Vladimir F, I have tried to put all the modules in one single .for file one by one and write the UMAT subroutine at the end. Now, ABAQUS is accepting the .for file, but when I submit the job in abaqus for analysis, it gives me the following error message: Problem during compilation - H:ABAQUS_anlysUMAT_JobsUMAT_subroutine.for' Could you please suggest me how to handle this error?
– Dipaloke
Nov 18 '18 at 6:03
|
show 1 more comment
I am using 'Abaqus standard 6.14-4' with 'Microsoft Visual Studio Ultimate 2012' and 'Intel composer XE 2013 for windows'. I have written a UMAT subroutine in free form .f90 format. Now when I try to provide this UMAT subroutine in ABAQUS, it gives me an error message, 'User subroutine file name must have a .for or .obj extension'.
I have tried to change the following lines in 'abaqus_v6.env' file:
compile_fortran=['ifort', '/c','/DABQ_WIN86_64', '/extend-source', '/fpp', '/iface:cref', '/recursive', '/Qauto-scalar', '/QxSSE3', '/QaxAVX', '/heap-arrays:1', # '/Od', '/Ob0', # <-- Optimization Debugging # '/Zi', # <-- Debugging '/include:%I']
But, may be I had made some mistake or some thing, I don't know... my problem still persist. Then, I have tried to add the following line at the top of UMAT subroutine: !DIR$ FREEFORM
and tried to feed this to ABAQUS. But, again failed as the same error message displayed again.
Please suggest me a solution so that I can feed my .f90 subroutine to ABAQUS job.
fortran fortran90 subroutine abaqus
I am using 'Abaqus standard 6.14-4' with 'Microsoft Visual Studio Ultimate 2012' and 'Intel composer XE 2013 for windows'. I have written a UMAT subroutine in free form .f90 format. Now when I try to provide this UMAT subroutine in ABAQUS, it gives me an error message, 'User subroutine file name must have a .for or .obj extension'.
I have tried to change the following lines in 'abaqus_v6.env' file:
compile_fortran=['ifort', '/c','/DABQ_WIN86_64', '/extend-source', '/fpp', '/iface:cref', '/recursive', '/Qauto-scalar', '/QxSSE3', '/QaxAVX', '/heap-arrays:1', # '/Od', '/Ob0', # <-- Optimization Debugging # '/Zi', # <-- Debugging '/include:%I']
But, may be I had made some mistake or some thing, I don't know... my problem still persist. Then, I have tried to add the following line at the top of UMAT subroutine: !DIR$ FREEFORM
and tried to feed this to ABAQUS. But, again failed as the same error message displayed again.
Please suggest me a solution so that I can feed my .f90 subroutine to ABAQUS job.
fortran fortran90 subroutine abaqus
fortran fortran90 subroutine abaqus
edited Nov 16 '18 at 12:27
albert
2,97731125
2,97731125
asked Nov 16 '18 at 4:35
DipalokeDipaloke
111
111
I don't know Abaqus at all, but given it accepts object files can't use just compile your file "manually" and then provide that?
– Ian Bush
Nov 16 '18 at 7:30
1
Either the freeform directive or the /free in command line would compile a .for named file with f90 format source.
– tim18
Nov 16 '18 at 9:33
Thank you for your quick reply. My abaqus is now accepting the UMAT file with .for extension and writing '!DIR$ FREEFORM' at the top of subroutine script. However, when I give a data check it shows me another error message 'Problem during compilation - D:...XX.for'. is it because I have used modules and other features of Fortran 90, 2003 and 2008? Please clarify my doubt.
– Dipaloke
Nov 16 '18 at 10:14
1
You really have to tell us the full error message end the code it relates to.
– Vladimir F
Nov 16 '18 at 12:37
Dear Vladimir F, I have tried to put all the modules in one single .for file one by one and write the UMAT subroutine at the end. Now, ABAQUS is accepting the .for file, but when I submit the job in abaqus for analysis, it gives me the following error message: Problem during compilation - H:ABAQUS_anlysUMAT_JobsUMAT_subroutine.for' Could you please suggest me how to handle this error?
– Dipaloke
Nov 18 '18 at 6:03
|
show 1 more comment
I don't know Abaqus at all, but given it accepts object files can't use just compile your file "manually" and then provide that?
– Ian Bush
Nov 16 '18 at 7:30
1
Either the freeform directive or the /free in command line would compile a .for named file with f90 format source.
– tim18
Nov 16 '18 at 9:33
Thank you for your quick reply. My abaqus is now accepting the UMAT file with .for extension and writing '!DIR$ FREEFORM' at the top of subroutine script. However, when I give a data check it shows me another error message 'Problem during compilation - D:...XX.for'. is it because I have used modules and other features of Fortran 90, 2003 and 2008? Please clarify my doubt.
– Dipaloke
Nov 16 '18 at 10:14
1
You really have to tell us the full error message end the code it relates to.
– Vladimir F
Nov 16 '18 at 12:37
Dear Vladimir F, I have tried to put all the modules in one single .for file one by one and write the UMAT subroutine at the end. Now, ABAQUS is accepting the .for file, but when I submit the job in abaqus for analysis, it gives me the following error message: Problem during compilation - H:ABAQUS_anlysUMAT_JobsUMAT_subroutine.for' Could you please suggest me how to handle this error?
– Dipaloke
Nov 18 '18 at 6:03
I don't know Abaqus at all, but given it accepts object files can't use just compile your file "manually" and then provide that?
– Ian Bush
Nov 16 '18 at 7:30
I don't know Abaqus at all, but given it accepts object files can't use just compile your file "manually" and then provide that?
– Ian Bush
Nov 16 '18 at 7:30
1
1
Either the freeform directive or the /free in command line would compile a .for named file with f90 format source.
– tim18
Nov 16 '18 at 9:33
Either the freeform directive or the /free in command line would compile a .for named file with f90 format source.
– tim18
Nov 16 '18 at 9:33
Thank you for your quick reply. My abaqus is now accepting the UMAT file with .for extension and writing '!DIR$ FREEFORM' at the top of subroutine script. However, when I give a data check it shows me another error message 'Problem during compilation - D:...XX.for'. is it because I have used modules and other features of Fortran 90, 2003 and 2008? Please clarify my doubt.
– Dipaloke
Nov 16 '18 at 10:14
Thank you for your quick reply. My abaqus is now accepting the UMAT file with .for extension and writing '!DIR$ FREEFORM' at the top of subroutine script. However, when I give a data check it shows me another error message 'Problem during compilation - D:...XX.for'. is it because I have used modules and other features of Fortran 90, 2003 and 2008? Please clarify my doubt.
– Dipaloke
Nov 16 '18 at 10:14
1
1
You really have to tell us the full error message end the code it relates to.
– Vladimir F
Nov 16 '18 at 12:37
You really have to tell us the full error message end the code it relates to.
– Vladimir F
Nov 16 '18 at 12:37
Dear Vladimir F, I have tried to put all the modules in one single .for file one by one and write the UMAT subroutine at the end. Now, ABAQUS is accepting the .for file, but when I submit the job in abaqus for analysis, it gives me the following error message: Problem during compilation - H:ABAQUS_anlysUMAT_JobsUMAT_subroutine.for' Could you please suggest me how to handle this error?
– Dipaloke
Nov 18 '18 at 6:03
Dear Vladimir F, I have tried to put all the modules in one single .for file one by one and write the UMAT subroutine at the end. Now, ABAQUS is accepting the .for file, but when I submit the job in abaqus for analysis, it gives me the following error message: Problem during compilation - H:ABAQUS_anlysUMAT_JobsUMAT_subroutine.for' Could you please suggest me how to handle this error?
– Dipaloke
Nov 18 '18 at 6:03
|
show 1 more comment
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53331501%2fexecuting-umat-subroutine-in-f90-form-through-abaqus%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53331501%2fexecuting-umat-subroutine-in-f90-form-through-abaqus%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I don't know Abaqus at all, but given it accepts object files can't use just compile your file "manually" and then provide that?
– Ian Bush
Nov 16 '18 at 7:30
1
Either the freeform directive or the /free in command line would compile a .for named file with f90 format source.
– tim18
Nov 16 '18 at 9:33
Thank you for your quick reply. My abaqus is now accepting the UMAT file with .for extension and writing '!DIR$ FREEFORM' at the top of subroutine script. However, when I give a data check it shows me another error message 'Problem during compilation - D:...XX.for'. is it because I have used modules and other features of Fortran 90, 2003 and 2008? Please clarify my doubt.
– Dipaloke
Nov 16 '18 at 10:14
1
You really have to tell us the full error message end the code it relates to.
– Vladimir F
Nov 16 '18 at 12:37
Dear Vladimir F, I have tried to put all the modules in one single .for file one by one and write the UMAT subroutine at the end. Now, ABAQUS is accepting the .for file, but when I submit the job in abaqus for analysis, it gives me the following error message: Problem during compilation - H:ABAQUS_anlysUMAT_JobsUMAT_subroutine.for' Could you please suggest me how to handle this error?
– Dipaloke
Nov 18 '18 at 6:03