Problem building dump_grids

Issue #1 resolved
Stephen Biggs-Fox created an issue

(NB: Copied from gs2_test_migrate)

When trying to build dump_grids as part of an otherwise successful build, I get the following error message:

mpiifort   -r8  -O2 -xCORE-AVX2 -I. -Iutils -Igeo -I..    -I /cineca/prod/opt/libraries/netcdff/4.4.4/intel--pe-xe-2017--binary/include/ -I/cineca/prod/opt/libraries/netcdf/4.4.1/intel--pe-xe-2017--binary/include     -I/cineca/prod/opt/libraries/petsc/3.7.2_complex/intelmpi--2017--binary/include -I/cineca/prod/opt/libraries/slepc/3.7.3_complex/intelmpi--2017--binary/include   -c dump_grids.f90
dump_grids.f90(53): error #6795: The target must be of the same type and kind type parameters as the pointer.   [RUN_NAME]
  if (.not. proc0) run_name => cbuff
-------------------^
compilation aborted for dump_grids.f90 (code 1)
make: *** [dump_grids.o] Error 1

I'm not really bothered about dump_grids - I've never used it, don't know how to use it, so I'm quite happy to live without it, hence I haven't investigated any further. However, this might be a problem for others so I thought I'd post an issue.

Comments (4)

  1. Stephen Biggs-Fox reporter

    (NB: Comment from Joseph Parker copied from gs2_test_migrate)

    I think this gets fixed by replacing cbuff with file_utils:: run_name_target. It looks like a case that was overlooked when that change was made.

  2. Log in to comment