Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

compilation with mpiifort - error not found MPI_CHAR type

$
0
0

Hello,

I try to install a code on a HPC under Linux.

My command line is :

mpiifort -I./INC/ -I$HOME/MARSLIB/usr/mpi/include/ -module $HOME/MARS/COMPILE_MARS/WTEST-BIDON/OBJETS/ -O2 -i4 -r8 -ftz -fpe0 -fp-model precise -traceback -fno-alias -fno-fnalias    -c ./smallf90/toolmpi.f90

and I have this message :

./smallf90/toolmpi.f90(4106): error #6404: This name does not have a type, and must have an explicit type.   [MPI_CHAR]
   CALL MPI_BCAST(val,1,MPI_CHAR,0,MPI_COMM_MARS,IERR_MPI)
------------------------^
compilation aborted for ./smallf90/toolmpi.f90 (code 1)

Can you help me, please ?

thanks


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>