[FLASH-USERS] Basic MPI question

Joe Hellmers hellmersjl at mac.com
Sat Dec 31 17:42:58 EST 2011


I'm just trying to get the Sedov example working to begin with

 

When trying to run gmake I get the error below.  Do I have the wrong version
of gcc or gfortran?

 

Alternatively, is there a way to just turn off MPI for now?

 

Note: In order to get this far I had to copy the mpi.h and mpif.h into the
object directory.

 

Thanks.

 

rm -f reorder.sh

/usr/lib64/mpich2/bin/mpif90 -c     -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1
-DN_DIM=2 io_c_interface.F90

if [ -w io_c_interface.mod -a -s io_c_interface.mod -a \( io_c_interface.mod
!= io_c_interface.mod \) ] ;then ln -f io_c_interface.mod
io_c_interface.mod;fi

/usr/lib64/mpich2/bin/mpif90 -c     -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1
-DN_DIM=2 Driver_abortFlash.F90

mpif.h:7.70:

    Included at Flash_mpi.h:1:

    Included at Driver_abortFlash.F90:34:

 

       subroutine MPI_AllReduceIntegerArray (sendBuf, recvBuf, count, 

                                                                      1

Error: Invalid character in name at (1)

mpif.h:8.6:

    Included at Flash_mpi.h:1:

    Included at Driver_abortFlash.F90:34:

 

     &  datatype ,reduceOp, mpiComm, ierr)

      1

Error: Invalid character in name at (1)

mpif.h:9.25:

    Included at Flash_mpi.h:1:

    Included at Driver_abortFlash.F90:34:

 

       INTEGER :: mpiComm

                         1

Error: Unexpected data declaration statement in INTERFACE block at (1)

 

Joe Hellmers

SDSU

Dept of Computational Sciences 

Graduate Student

Email: jhellmer at rohan.sdsu.edu

Phone: 619-368-1625

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20111231/8ee80b96/attachment.htm>


More information about the flash-users mailing list