[petsc-users] Error running make check with OneAPI C/C++ and Fortran compilers on Windows

Maruthi NH maruthinh at gmail.com
Fri Nov 17 11:14:39 CST 2023


Hi Barry,

I get the following error.

ngh at ngh1 ~/petsc/src/snes/tutorials
$ make ex19
/home/ngh/petsc/lib/petsc/bin/win32fe/win32fe icl -Qwd10161  -Qstd=c99 -MT
-O3  -I/home/ngh/petsc/include
-I/home/ngh/petsc/intel-petsc-tag-v3.20.1/include
-I/cygdrive/c/PROGRA~2/Intel/oneAPI/mpi/2021.6.0/include      ex19.c
 -L/home/ngh/petsc/intel-petsc-tag-v3.20.1/lib
-L/cygdrive/c/PROGRA~2/Intel/oneAPI/mkl/2022.1.0/lib/intel64 -lpetsc
mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib
/cygdrive/c/PROGRA~2/Intel/oneAPI/mpi/2021.6.0/lib/release/impi.lib
Gdi32.lib User32.lib Advapi32.lib Kernel32.lib Ws2_32.lib -o ex19
ex19.c

ngh at ngh1 ~/petsc/src/snes/tutorials
$   mpiexec -n 1 ./ex19 -da_refine 3 -pc_type mg -ksp_type fgmres

==================================================================================
=
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 0 PID 1768 RUNNING AT ngh1
=   EXIT STATUS: -1073741819 (c0000005)
==================================================================================
=

ngh at ngh1 ~/petsc/src/snes/tutorials
$   mpiexec -n 2 ./ex19 -da_refine 3 -pc_type mg -ksp_type fgmres

==================================================================================
=
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 0 PID 25936 RUNNING AT ngh1
=   EXIT STATUS: -1073741819 (c0000005)
==================================================================================
=

==================================================================================
=
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 1 PID 5216 RUNNING AT ngh1
=   EXIT STATUS: -1073741819 (c0000005)
==================================================================================
=


Regards,
Maruthi

On Fri, Nov 17, 2023 at 9:26 PM Barry Smith <bsmith at petsc.dev> wrote:

>
>   Please do
>
>   cd src/snes/tutorials
>   make ex19
>   mpiexec -n 1 ./ex19 -da_refine 3 -pc_type mg -ksp_type fgmres
>
>   then with -n 2
>
>   Cut and paste all the output and include it in your email response
>
>    Barry
>
>
>
> On Nov 17, 2023, at 12:57 AM, Maruthi NH <maruthinh at gmail.com> wrote:
>
> Hi all,
>
> I could successfully compile PETSc on Windows with Intel OneAPI C/C++ and
> Fortran compilers, however, when I tried to make a check after the
> successful installation, I got the following error message. I have also
> attached the configuration file.
>
> make PETSC_DIR=/home/ngh/petsc PETSC_ARCH=intel-petsc-tag-v3.20.1 check
> Running PETSc check examples to verify correct installation
> Using PETSC_DIR=/home/ngh/petsc and PETSC_ARCH=intel-petsc-tag-v3.20.1
> Possible error running C/C++ src/snes/tutorials/ex19 with 1 MPI process
> See https://petsc.org/release/faq/
>
>
> ===================================================================================
> =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
> =   RANK 0 PID 13384 RUNNING AT BLRLAP1521
> =   EXIT STATUS: -1073741819 (c0000005)
>
> ===================================================================================
> Possible error running C/C++ src/snes/tutorials/ex19 with 2 MPI processes
> See https://petsc.org/release/faq/
>
>
> ===================================================================================
> =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
> =   RANK 0 PID 20616 RUNNING AT BLRLAP1521
> =   EXIT STATUS: -1073741819 (c0000005)
>
> ===================================================================================
>
>
> ===================================================================================
> =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
> =   RANK 1 PID 16900 RUNNING AT BLRLAP1521
> =   EXIT STATUS: -1073741819 (c0000005)
>
> ===================================================================================
> Possible error running Fortran example src/snes/tutorials/ex5f with 1 MPI
> process
> See https://petsc.org/release/faq/
> forrtl: severe (157): Program Exception - access violation
> Image              PC                Routine            Line        Source
> ex5f.exe           00007FF661DB569B  Unknown               Unknown  Unknown
> ex5f.exe           00007FF661A760AF  Unknown               Unknown  Unknown
> ex5f.exe           00007FF6619E6EBD  Unknown               Unknown  Unknown
> ex5f.exe           00007FF6619C6294  Unknown               Unknown  Unknown
> ex5f.exe           00007FF6619C3152  Unknown               Unknown  Unknown
> ex5f.exe           00007FF6619C1051  Unknown               Unknown  Unknown
> ex5f.exe           00007FF662C3C16E  Unknown               Unknown  Unknown
> ex5f.exe           00007FF662C3CA50  Unknown               Unknown  Unknown
> KERNEL32.DLL       00007FFB12187344  Unknown               Unknown  Unknown
> ntdll.dll          00007FFB140C26B1  Unknown               Unknown  Unknown
> Completed PETSc check examples
> Error while running make check
> make[1]: *** [makefile:132: check] Error 1
> make: *** [GNUmakefile:17: check] Error 2
>
> Regards,
> mnh
>
>
> <intel-petsc-tag-v3.20.1.py>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20231117/35c7971b/attachment-0001.html>


More information about the petsc-users mailing list