Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/fortran/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Fortran netcdf错误-114错误类型id_Fortran_Netcdf - Fatal编程技术网

Fortran netcdf错误-114错误类型id

Fortran netcdf错误-114错误类型id,fortran,netcdf,Fortran,Netcdf,您好,我正在执行以下netcdf函数时出错 stat = nf90_create_par('/home/sachin/e_output.nc', IOR( NF90_NETCDF4,NF90_MPIIO ), MPI_COMM_WORLD,MPI_INFO_NULL, ncid_user) write(*,*)"creating netcdf file stat=",stat 错误“坏类型id”,因为返回状态值为-114这里有问题吗?是的,为什么会出现错误?是什么让您确信它是“

您好,我正在执行以下netcdf函数时出错

    stat = nf90_create_par('/home/sachin/e_output.nc', IOR( NF90_NETCDF4,NF90_MPIIO ), MPI_COMM_WORLD,MPI_INFO_NULL, ncid_user)
    write(*,*)"creating netcdf file stat=",stat

错误“坏类型id”,因为返回状态值为-114

这里有问题吗?是的,为什么会出现错误?是什么让您确信它是“坏类型id”的意思?您使用哪个引用将-114分配给“坏类型id”?您的行中没有类型id。你确定它来自这个命令吗?最好显示一个完整的可编译示例。nf90_create_par函数返回函数执行的整数值。如果执行成功,则返回0或将错误代码返回给变量(在本例中为变量“stat”)。请使用nf90_strerror(stat)打印出错误代码的真正含义。nf90_strerror(-114)为我返回“NetCDF:为非并行访问而打开的文件上的并行操作”。“错误类型id”的错误代码为-117。