Main menu

Navigation

Error building PIO

1 post / 0 new
gmodica@...
Error building PIO

During the PIO build (after updating dependencies and when running the pio/Makefile) I encounter the error below.

gmake[1]: *** No rule to make target `pnetcdf.o', needed by `/home/ec2-user/AWS-CESM/cesm1_2_1/models/utils/pio/pio_types.o'.  Stop.
gmake[1]: Leaving directory `/home/ec2-user/AWS-CESM/cesm1_2_1/test1/pio'
gmake: *** [all] Error 2

My pio/pio_types.d file does indeed reference pnetcdf.o:

$ cat pio_types.d
/home/ec2-user/AWS-CESM/cesm1_2_1/models/utils/pio/pio_types.o: pio_kinds.o
/home/ec2-user/AWS-CESM/cesm1_2_1/models/utils/pio/pio_types.o: pnetcdf.o

But since I am not using pnetcdf (PNETCDF_PATH not defined in my Macros file), why would it try to look for it?

Thank you,

George

[complete message:]

Done updating dependencies
gmake[1]: Entering directory `/home/ec2-user/AWS-CESM/cesm1_2_1/test1/pio'
mpif90 -c -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -DSPMD -DHAVE_MPI -DUSEMPIIO -DSYSLINUX -D_NETCDF -I/data/RESOURCES/Intel/netcdf4.4/include -D_NOPNETCDF -DTIMING  -O2 -fp-model source -convert big_endian -assume byterecl -ftz -traceback  -free  -I.  -I/home/ec2-user/AWS-CESM/cesm1_2_1/test1/pio -I/data/RESOURCES/Intel/netcdf4.4/include -I/data/RESOURCES/Intel/include -I/home/ec2-user/AWS-CESM/cesm1_2_1/test1/mct/mct -I/home/ec2-user/AWS-CESM/cesm1_2_1/test1/mct/mpeu -I/home/ec2-user/AWS-CESM/cesm1_2_1/test1/pio -I/home/ec2-user/AWS-CESM/cesm1_2_1/test1/gptl -I/home/ec2-user/AWS-CESM/cesm1_2_1/models/utils/pio -I/home/ec2-user/AWS-CESM/cesm1_2_1/test1/lib/include -I/data/RESOURCES/Intel/netcdf4.4/include   -I../timing  /home/ec2-user/AWS-CESM/cesm1_2_1/models/utils/pio/pio_kinds.F90
gmake[1]: *** No rule to make target `pnetcdf.o', needed by `/home/ec2-user/AWS-CESM/cesm1_2_1/models/utils/pio/pio_types.o'.  Stop.
gmake[1]: Leaving directory `/home/ec2-user/AWS-CESM/cesm1_2_1/test1/pio'
gmake: *** [all] Error 2

AER_GM

Who's new

  • sjc265@...
  • s.l.bradley-1@...
  • ali.ashehad@...
  • schulzm6@...
  • wei.huang2@...