Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jpprieto
Beginner
137 Views

icc flag to show errors

Hi everyone. I'm working with a .f90 .c MPI program.
When the program stop by an error show me

forrtl: error (65): floating invalid
Image PC Routine Line Source
ramses3d 000000000041C020 Unknown Unknown Unknown
ramses3d 000000000040C755 Unknown Unknown Unknown
ramses3d 0000000000407320 Unknown Unknown Unknown
ramses3d 0000000000435CFE cooling_module_mp 586 cooling_module.f90
ramses3d 00000000004913B7 cooling_fine_ 30 cooling_fine.f90
ramses3d 000000000045BBB5 amr_step_ 263 amr_step.f90
ramses3d 000000000045B98F amr_step_ 213 amr_step.f90
ramses3d 000000000045AEBD adaptive_loop_ 88 adaptive_loop.f90
ramses3d 000000000053424B MAIN__ 8 ramses.f90
ramses3d 0000000000404482 Unknown Unknown Unknown
libc.so.6 0000003BCA61D974 Unknown Unknown Unknown
ramses3d 00000000004043A9 Unknown Unknown Unknown
[cli_34]: aborting job:
Fatal error in MPI_Waitall: Other MPI error, error stack:
MPI_Waitall(258)..........................: MPI_Waitall(count=20, req_array=0x7fff19da67f0, status_array=0x7fff19da6bf0) \
failed

Well, above is the information about the error, but is only the information of .f90 programs. In cooling_module_mp line 586 is the called to .c program.
Do you know a flag to show me the same information for the .c program.
I'm compiling .f90 with
# --- MPI, ifort syntax, additional checks -----------
F90 = mpif90
FFLAGS = -O3 -g -traceback -fpe0 -cpp -DNDIM=$(NDIM) -DNPRE=$(NPRE) -DSOLVER$(SOLVER) -DNOSYSTEM
And .c with
icc -c -g -O3 -mp -w coolinghd.c
Thank you.
0 Kudos
2 Replies
TimP
Black Belt
137 Views

Quoting - jpprieto

# --- MPI, ifort syntax, additional checks -----------
F90 = mpif90
FFLAGS = -O3 -g -traceback -fpe0 -cpp -DNDIM=$(NDIM) -DNPRE=$(NPRE) -DSOLVER$(SOLVER) -DNOSYSTEM
And .c with
icc -c -g -O3 -mp -w coolinghd.c
Thank you.
icc has a -traceback option similar to ifort. The icc (or ifort) -mp flag may not be what you think.
jpprieto
Beginner
137 Views

Quoting - tim18
Quoting - jpprieto

# --- MPI, ifort syntax, additional checks -----------
F90 = mpif90
FFLAGS = -O3 -g -traceback -fpe0 -cpp -DNDIM=$(NDIM) -DNPRE=$(NPRE) -DSOLVER$(SOLVER) -DNOSYSTEM
And .c with
icc -c -g -O3 -mp -w coolinghd.c
Thank you.
icc has a -traceback option similar to ifort. The icc (or ifort) -mp flag may not be what you think.
Thank you, I'll do the test with -traceback.
Reply