-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
This compile-time error comes from a DOE science code. I suspect the problem is triggered by the intrinsic sizeof function operating on a pointer to a derived type.
home/naromero/mpich-3.3.2-test/bin/mpif90 -g -O3 -module-suffix .f18.mod -fPIC -I/usr/include -D LIBRARY=1 -D FFTW=1 -c -o src/parallelization/tiling/tiling.o src/parallelization/tiling/tiling.F90
src/parallelization/tiling/tiling.F90:1992:57: error: No explicit type declared for 'sizeof'
Here is the ling that it chokes on:
local_part_tiles_mem=local_part_tiles_mem+SIZEOF(curr%part_x)
and here is the declaration for the arguement:
TYPE(particle_tile), POINTER :: curr
I am packaging up tiling.F90 along with the relevant modules.
sizeof_type_pointer.tar.gz
Metadata
Metadata
Assignees
Labels
No labels