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

What does "mpi_bcast(1, ...)" mean ?

I'm trying to run CESM 1.1.1 on the K computer by using Fujitsu compiler.But, I encounter the issue of mpi_bcast.For example, in (CESMROOT)/models/utils/pio/piodarray.F90,---
call mpi_bcast(1, 1, mpi_integer, ios%compmaster, ios%intercomm, ierr)call mpi_bcast(MPI_REAL4, 1, mpi_integer, ios%compmaster, ios%intercomm, ierr)---In Fujitsu compiler, the first argument of mpi_bcast() must be a valiable.Defined vaule is not used, but Intel MPI compiler or mvapich is OK. To start with, what does "mpi_bcast(1, ...)" mean ?I do not think that these lines have meanings.May I make these lines comment out ? Thanks,
 

jedwards

CSEG and Liaisons
Staff member
This broadcast is sent from tasks in this part of the code but recieved by tasks in pio_msg_callbacks.F90 (variable fillv at around line 238).This part of the code is not currently used in cesm, you can safely comment it out, I will update to use a variable instead of a constant in the next tag. 
 

jedwards

CSEG and Liaisons
Staff member
I've taken care of this in the latest PIO tag 1.7.0.   It should now satisfy the requirements of mpi.mod.  
 
Top