Main menu

Navigation

New Question

2 posts / 0 new
Last post
atp42@...
New Question

I was wondering why this error is occurring and how to fix it? A quick google search says there might be something wrong with my code, but since I haven't modified the source code at all I doubt that. I'm using gcc 4.4.2. Thanks.

Quote:

gfortran -c -I/home/atp42/models/cesm1_0_3/models/utils/mct/mpi-serial -DSYSLINUX -DLINUX -DCPRUNKNOWNCPR -ffree-line-length-0 -DSPMD -DHAVE_MPI -D_NETCDF -D_NOPNETCDF -D_NOUSEMCT -D_USEBOX -DNO_SIZEOF -I/home/atp42/models/cesm1_0_3/models/utils/mct/mpi-serial -I/usr/local/include pio_msg_callbacks.F90
pio_msg_callbacks.F90:200.7:

case(mpi_integer)
1
pio_msg_callbacks.F90:207.7:

case(mpi_real4)
2
Error: CASE label at (1) overlaps with CASE label at (2)
pio_msg_callbacks.F90:258.7:

case(mpi_integer)
1
pio_msg_callbacks.F90:260.7:

case(mpi_real4)
2
Error: CASE label at (1) overlaps with CASE label at (2)
make[1]: *** [pio_msg_callbacks.o] Error 1
make[1]: Leaving directory `/home/atp42/models/scratch/atp42/gcompiler_steve_test/pio'
make: *** [all] Error 2

atp42@...

So I've been stuck on this issue for the better part of two weeks. I've tried to build the model on multiple systems with different configurations, with no luck.

Would anyone mind sharing their configurations settings if they are using gfortran/gcc compilers to build the model?

I also have an issue when using MPI, it says the C compiler cannot build executables. Although I don't think this is an issue when i try to build the model using MPISERIAL.

Thank you for any asisstance you can give.
-Aaron

Log in or register to post comments

Who's new

  • 1658093099@...
  • mborreggine@...
  • kabirtam@...
  • suns@...
  • liangpeng0405@...