I am developing an UMAT subroutine for abaqus, which is a fortran code. I want to debug the soubroutine, so I need to compile it and generate the .obj and .pdb files. but when I use the ifort command to do that, only the .obj file (plus a .f90 and .mod files) is created.
I have Fortran Intel 64, version 11.1 and Microsoft visual studio 2009 (08 plus SP1). The command I am using is as below:
ifort /nologo /debug:full /threads /Qvc9 /check:bounds /c /Od /Zi /dbglibs /libs:static /warn:interface /pdbfile:"vc90" /module:"Compiled\\" /object:"Compiled\\" /Qlocation,link,"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin" "anisoplate_s9r5_usr_orient.for"
I have tryed with and without every option, and still the same result.
If I recall correctly, in V11.1 we were not generating pdb files (despite the fact that 'ifort' allowed you to name the pdb output file). Again, if I remember correctly, the debug information was equivalent to Microsoft C's /Z7 switch, and was embedded in the object files.
Have you tried debugging, and it failed?
If not - please give it a try.
Make sure the final executable is linked with /debug.
Thank Lorri. Actually I don't know how, but the Abaqus himself generate both .obj and .pdb files. So I just paused the job somehow, copied the generated filed in my directory and used them in VS. But the question is. how abaqus, which is linke with Fortran V.11.1, generate the .pdb file. But the problem is solved.