Link error

Link error

 

   Hello

    I am trying to build PETSc inside a fortran project. And after hard work I got this:

Deleting intermediate files and output files for project 'PETScFORTRAN', configuration 'Debug|x64'.
Compiling with Intel(R) Visual Fortran Compiler XE 14.0.2.176 [Intel(R) 64]...
ifort /nologo /debug:full /Od /fpp /I"C:\Program Files\PETSc for Windows\PETSc\include" /I"C:\Program Files\PETSc for Windows\PETSc\include\finclude" /I"C:\Program Files\PETSc for Windows\PETSc\include\finclude\ftn-auto" /I"C:\Program Files\PETSc for Windows\PETSc\include\finclude\ftn-custom" /I"C:\Program Files\PETSc for Windows\PETSc\c-debug_icl_mkl\include" /I"C:\Program Files\PETSc for Windows\PETSc\include\mpiuni" /DWINDOWS /warn:interfaces /module:"x64\Debug\\" /object:"x64\Debug\\" /Fd"x64\Debug\vc110.pdb" /traceback /check:bounds /check:stack /libs:static /threads /dbglibs /winapp /c /extfor:F /Qvc11 /Qlocation,link,"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\\bin\amd64" "C:\Users\Pedro\Desktop\fortran_test\PETScFORTRAN\ex14f.F"
Linking...
Link /OUT:"x64\Debug\PETScFORTRAN.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Program Files\PETSc for Windows\PETSc\c-opt_icl_mkl\lib" /LIBPATH:"C:\Program Files\Microsoft HPC Pack 2008 R2\Lib\amd64\\" /LIBPATH:"C:\Program Files\Microsoft MPI\Lib\amd64" /LIBPATH:"C:\Program Files\PETSc for Windows\lib\intel64" /LIBPATH:"c:\Program Files\PETSc for Windows\PETSc\externalpackages\libs\\" /NODEFAULTLIB:"LIBCMT.lib" /MANIFEST /MANIFESTFILE:"C:\Users\Pedro\Desktop\fortran_test\PETScFORTRAN\x64\Debug\PETScFORTRAN.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\Pedro\Desktop\fortran_test\PETScFORTRAN\x64\Debug\PETScFORTRAN.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"C:\Users\Pedro\Desktop\fortran_test\PETScFORTRAN\x64\Debug\PETScFORTRAN.lib" advapi32.lib libpetsc.lib mkl_intel_lp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib msmpi.lib msmpifmc.lib  "x64\Debug\ex14f.obj"
Link: executing 'link'
libifcoremt.lib(for_main.obj) : error LNK2019: unresolved external symbol __intel_new_feature_proc_init referenced in function main
x64\Debug\PETScFORTRAN.exe : fatal error LNK1120: 1 unresolved externals


PETScFORTRAN - 2 error(s), 0 warning(s)

How can this be fixed?

 

    Help

24 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

That should be found in libirc.lib, which should be linked in automatically. Please set the project property Linker > General > Show Progress to "Show some progress messages", relink, and then post the output.
 

Steve - Intel Developer Support
Linking...
Link /OUT:"x64\Debug\PETScFORTRAN.exe" /VERBOSE:LIB /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Program Files\PETSc for Windows\PETSc\c-opt_icl_mkl\lib" /LIBPATH:"C:\Program Files\Microsoft HPC Pack 2008 R2\Lib\amd64\\" /LIBPATH:"C:\Program Files\Microsoft MPI\Lib\amd64" /LIBPATH:"C:\Program Files\PETSc for Windows\lib\intel64" /LIBPATH:"c:\Program Files\PETSc for Windows\PETSc\externalpackages\libs\\" /NODEFAULTLIB:"LIBCMT.lib" /MANIFEST /MANIFESTFILE:"C:\Users\Pedro\Desktop\fortran_test\PETScFORTRAN\x64\Debug\PETScFORTRAN.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\Pedro\Desktop\fortran_test\PETScFORTRAN\x64\Debug\PETScFORTRAN.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"C:\Users\Pedro\Desktop\fortran_test\PETScFORTRAN\x64\Debug\PETScFORTRAN.lib" advapi32.lib libpetsc.lib mkl_intel_lp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib msmpi.lib msmpifmc.lib  "x64\Debug\ex14f.obj"
Link: executing 'link'

Searching libraries
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\advapi32.lib:
    Searching C:\Program Files\PETSc for Windows\PETSc\c-opt_icl_mkl\lib\libpetsc.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_intel_lp64_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_intel_thread_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_core_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libiomp5md.lib:
    Searching C:\Program Files\Microsoft MPI\Lib\amd64\msmpi.lib:
    Searching C:\Program Files\Microsoft MPI\Lib\amd64\msmpifmc.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\ifconsol.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\libifcoremt.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\libifport.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\ifwin.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\user32.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\gdi32.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libmmt.lib:
    Searching C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64\LIBCMTD.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libirc.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\svml_dispmt.lib:
    Searching C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64\OLDNAMES.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libdecimal.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\uuid.lib:
    Searching C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64\msvcprt.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\kernel32.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\ImageHlp.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\advapi32.lib:
    Searching C:\Program Files\PETSc for Windows\PETSc\c-opt_icl_mkl\lib\libpetsc.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_intel_lp64_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_intel_thread_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_core_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libiomp5md.lib:
    Searching C:\Program Files\Microsoft MPI\Lib\amd64\msmpi.lib:
    Searching C:\Program Files\Microsoft MPI\Lib\amd64\msmpifmc.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\ifconsol.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\libifcoremt.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\libifport.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\ifwin.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\user32.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\gdi32.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libmmt.lib:
    Searching C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64\LIBCMTD.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libirc.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\svml_dispmt.lib:
    Searching C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64\OLDNAMES.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libdecimal.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\uuid.lib:
    Searching C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64\msvcprt.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\kernel32.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\ImageHlp.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\advapi32.lib:
    Searching C:\Program Files\PETSc for Windows\PETSc\c-opt_icl_mkl\lib\libpetsc.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_intel_lp64_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_intel_thread_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_core_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libiomp5md.lib:
    Searching C:\Program Files\Microsoft MPI\Lib\amd64\msmpi.lib:
    Searching C:\Program Files\Microsoft MPI\Lib\amd64\msmpifmc.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\ifconsol.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\libifcoremt.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\libifport.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\ifwin.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\user32.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\gdi32.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libmmt.lib:
    Searching C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64\LIBCMTD.lib:

Finished searching libraries

Searching libraries
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\advapi32.lib:
    Searching C:\Program Files\PETSc for Windows\PETSc\c-opt_icl_mkl\lib\libpetsc.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_intel_lp64_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_intel_thread_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_core_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libiomp5md.lib:
    Searching C:\Program Files\Microsoft MPI\Lib\amd64\msmpi.lib:
    Searching C:\Program Files\Microsoft MPI\Lib\amd64\msmpifmc.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\ifconsol.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\libifcoremt.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\libifport.lib:
    Searching C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\lib\Intel64\ifwin.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\user32.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\gdi32.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libmmt.lib:
    Searching C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64\LIBCMTD.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libirc.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\svml_dispmt.lib:
    Searching C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64\OLDNAMES.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libdecimal.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\uuid.lib:
    Searching C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64\msvcprt.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\kernel32.lib:
    Searching C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\ImageHlp.lib:

Finished searching libraries
libifcoremt.lib(for_main.obj) : error LNK2019: unresolved external symbol __intel_new_feature_proc_init referenced in function main
x64\Debug\PETScFORTRAN.exe : fatal error LNK1120: 1 unresolved externals


PETScFORTRAN - 2 error(s), 0 warning(s)

   I am sending the lof file

Attachments: 

AttachmentSize
Downloadapplication/zip BuildLog_4.zip1.64 KB

Your PETsc distribution is including its own, old, copies of Intel libraries. You should delete them. 

 Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_intel_lp64_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_intel_thread_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_core_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libiomp5md.lib:
Searching C:\Program Files\PETSc for Windows\lib\intel64\libmmt.lib:
Searching C:\Program Files\PETSc for Windows\lib\intel64\libirc.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\svml_dispmt.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libdecimal.lib:
Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_intel_lp64_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_intel_thread_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\mkl_core_dll.lib:
    Searching C:\Program Files\PETSc for Windows\lib\intel64\libiomp5md.lib:
Steve - Intel Developer Support

Is the libirc.lib that is used in linking compatible with the IFort version that you use? I suspect a mismatch because the build log shows a libirc.lib that is not in the compiler's lib directory but in one of the PETSc directories.

 

  Ok. I will replace the PETSc link libraries by other libs. I will report if this fix the problem

 

    thanks

 

  I get the same error.......

 

  Everything solved. I had tw entries for libraries. thanks for all. Your are really excellent.

 

  

     Hello

      I have another error during runtime . See the .png

    thanks

Attachments: 

AttachmentSize
Downloadimage/png error.PNG10.23 KB

Make sure you are linking only to MKL libraries under the Composer XE 2013 SP1 folder and that the paths to the MKL DLLs is in your PATH environment variable (and not MKL DLLs provided by PETSc.)
 

Steve - Intel Developer Support

As you did with the libraries at link time, move/remove any DLLs that are in the execution path and have the same names as the Intel Fortran/MKL DLLs -- assuming that your PETSc distribution came with some DLLs as well as libraries that go with an older version of IFort/MKL.

 

   I am sending you the log file. Maybe you can look what is wrong.

Attachments: 

AttachmentSize
Downloadapplication/zip BuildLog_4.zip1.53 KB

 

   I also made a run with a visual c++ console project with all of their libraries and everything went alright. Why does this happens with fortran and not 'c' in the same machine?

 

 

     thanks

Your C program called MKL?

You probably have old MKL DLLs in your PATH environment variable. Edit the PATH system variable, remove any paths for MKL, and add:

%IFORT_COMPILER14%\redist\intel64\mkl;%IFORT_COMPILER14%\redist\ia32\mkl;

Steve - Intel Developer Support

 

    yes. C used MKl blas and lapack also. This is the math library PETSc. They use it with 'c' and provide interfaces to fortran also. my environment variables are the following:

PATH

%INTEL_DEV_REDIST%redist\intel64\mpirt;%INTEL_DEV_REDIST%redist\ia32\mpirt;%INTEL_DEV_REDIST%redist\intel64\compiler;%INTEL_DEV_REDIST%redist\ia32\compiler;

and

MKL_INCLUDE

C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include\intel64

MKL_LIB

C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\lib\intel64

MKL_PATH

C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\bin\intel64\mklvars_intel64.bat   

 

 

 

 

     -

You need to add the MKL redist folders to PATH as above. You possibly linked to static MKL in C.

Steve - Intel Developer Support

 

    it didn't work. I am sending a full copy of environment variables.

Attachments: 

AttachmentSize
Downloadapplication/zip Variables.zip2.61 KB

Do you have copies of the MKL DLLs in the PETSc folder? If so, delete them. Also, edit PATH and remove the backslash after the two occurrences of %IFORT_COMPILER14%.

Are you still seeing the run-time error about entry point not found?

Steve - Intel Developer Support

 

    Unfortunately the runtime error didn't disappear. I did all you said to me.

 

 Hello Steve

      I had some dll's inside system 32 from PETSc and they were the problem. But now I have another problem See below:

 

  'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\winnsi.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\FWPUCLNT.DLL'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\rasadhlp.dll'. Cannot find or open the PDB file.
First-chance exception at 0x000007F6AE2FE95E in PETScFORTRAN.exe: 0xC0000005: Access violation reading location 0xFFFFFFFF9587AA70.
The thread 0x1e10 has exited with code 59 (0x3b).
The program '[4512] PETScFORTRAN.exe' has exited with code 59 (0x3b).

   This is too hard....

 tanks

 

Hi PR,

     Your situation is not that bad, really.

     You can ignore the messages about missing PDB files; that simply means that the system files do not contain any debugging information, and that's not a sruprise (nor is it a bad thing).

     However, what is interesting is that you have had something bad happen with your program, and now it needs to be debugged.  From a previous log, it looks like you have one source file, ex14f?  You could try stepping through that source in the debugger to find the line in question.    The address looks suspiciously like a 32-bit / 64-bit variable mismatch, but you'll have to determine that.

    Also, I can't tell from the log files, but are you building with all the run-time checking enabled?   That can help locate other issues.

                     --Lorri

 the complete run:

'PETScFORTRAN.exe' (Win32): Loaded 'C:\Users\Pedro\Desktop\fortran_test\PETScFORTRAN3\x64\Debug\PETScFORTRAN.exe'. Symbols loaded.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Program Files (x86)\Intel\Composer XE 2013 SP1\redist\intel64\mkl\mkl_intel_thread.dll'. Module was built without symbols.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\msmpi.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\imagehlp.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Program Files (x86)\Intel\Composer XE 2013 SP1\redist\intel64\mkl\mkl_core.dll'. Module was built without symbols.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Program Files (x86)\Intel\Composer XE 2013 SP1\redist\intel64\compiler\libiomp5md.dll'. Symbols loaded.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\msvcr100.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\secur32.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\guard64.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\fltLib.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\NapiNSP.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\pnrpnsp.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\nlaapi.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\dnsapi.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\winrnr.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\wshbth.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\winnsi.dll'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\FWPUCLNT.DLL'. Cannot find or open the PDB file.
'PETScFORTRAN.exe' (Win32): Loaded 'C:\Windows\System32\rasadhlp.dll'. Cannot find or open the PDB file.
First-chance exception at 0x000007F6028B294E in PETScFORTRAN.exe: 0xC0000005: Access violation reading location 0x000000004C7C51B0.
The thread 0x1294 has exited with code 59 (0x3b).
The program '[1100] PETScFORTRAN.exe' has exited with code 59 (0x3b).

thanks

 

 

   Hi

      I am sending a file with what I caught from command line run. PETSc reports a segmentation violation, related to memory allocation are access by some pointers. But solving this is beyond my knowledge.

Attachments: 

AttachmentSize
Downloadapplication/zip Petsc.zip1.03 KB

Leave a Comment

Please sign in to add a comment. Not a member? Join today