I am trying to use -trace flag to get .stf output file for traceanalyzer. I run my job using this script:
#!/bin/bash -l #PBS -l nodes=2:ppn=40,walltime=00:10:00 #PBS -N GranularGas #PBS -o granularjob.out -e granularjob.err export MPIRUN=/apps/intel/ComposerXE2018/compilers_and_libraries_2018.2.199/linux/mpi/intel64/bin/mpirun export CODEPATH=${HOME}/GranularGas/1.1_parallel_GranularGas/build source /apps/intel/ComposerXE2018/itac/2018.2.020/intel64/bin/itacvars.sh cd ${CODEPATH} ${MPIRUN} -trace ${CODEPATH}/GranularGas
After submitting my job, I get the following error:
Fatal error in PMPI_Type_size: Invalid datatype, error stack: PMPI_Type_size(131): MPI_Type_size(INVALID DATATYPE) failed PMPI_Type_size(76).: Invalid datatype
and I get a ".prot" file. Where this error come from? How can I fix it?
For more information I am using Intel compiler 18.0.2 and Intel MPI 20180125.