The NSF XSEDE project will be ending on August 31, 2022 and the new ACCESS project will begin September 1, 2022. Consult Allocation Announcements for key dates related to the XSEDE to ACCESS transition. See Advance to ACCESS for additional information about the new project.

The discussion forums in the XSEDE User Portal are for users to share experiences, questions, and comments with other users and XSEDE staff. Visitors are welcome to browse and search, but you must login to contribute to the forums. While XSEDE staff monitor the lists, XSEDE does not guarantee that questions will be answered. Please note that the forums are not a replacement for formal support or bug reporting procedures through the XSEDE Help Desk. You must be logged in to post to the user forums.

« Back

problem with mpi on stampede2 - ifort fflags?

Combination View Flat View Tree View
Threads [ Previous | Next ]
Dear all,

I am trying to run the ROMS ocean model on stampede2
I am able to get it run using openmp, but I am having trouble making it run using mpi.

Compiling does not complain (using ifort / mpfi90 / mvapich2. see below for flags)

When I run however I get the following errors (depending on the mpfi90 flags):

forrtl: severe (194): Run-Time Check Failure. The variable 'distribute_mod_mp_mp_reduce_1d_$SERROR' is being used in 'distribute.f90(4812,19)' without being defined
when I use the following fflags:
mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit


Fatal error in PMPI_Bcast: Message truncated, error stack:
PMPI_Bcast(1645)............: MPI_Bcast(buf=0x2b6bf2e372e0, count=20, MPI_DOUBLE_PRECISION, root=0, MPI_COMM_WORLD) failed
when I use the following fflags:
mpif90 -c -fp-model precise -heap-arrays -ip -O3

I am guessing that I cannot run it because I don't have the right flags for mpi.

any help and tips are greatly appreciated !