Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

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.

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
 
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
 
Top