Activity for bles

  • bles bles modified a comment on discussion Help

    it is working now, see the correct code below: program test_mat_file use, intrinsic :: iso_c_binding implicit none type(c_ptr) :: matfile character(kind=c_char, len=), parameter :: filename = 'zzz.mat'//c_null_char character(kind=c_char, len=), parameter :: header = 'HEADERSTRING'//c_null_char character(kind=c_char, len=*), parameter :: varname = 'reeks'//c_null_char real(c_double), target, dimension(1000) :: d integer :: i type(c_ptr) :: matvar integer(c_size_t), dimension(2) :: dims integer, parameter...

  • bles bles posted a comment on discussion Help

    it working now, see the correct code below.. program test_mat_file use, intrinsic :: iso_c_binding implicit none type(c_ptr) :: matfile character(kind=c_char, len=), parameter :: filename = 'zzz.mat'//c_null_char character(kind=c_char, len=), parameter :: header = 'HEADERSTRING'//c_null_char character(kind=c_char, len=*), parameter :: varname = 'reeks'//c_null_char real(c_double), target, dimension(1000) :: d integer :: i type(c_ptr) :: matvar integer(c_size_t), dimension(2) :: dims integer, parameter...

  • bles bles modified a comment on discussion Help

    Thank you for your effort in the MATIO library and I have successfully compiled this library using ifort and gcc as well as a gfortran/gcc on ALMAlinux 9.3. I did not manage to compile it with icc and ifort (newest API version). I have a test program for writing a MAT file but I can't get this to work and I guess my knowledge of c is reason for this but I have not found a solution for this (after extensive search). The test program : ++++++++++++++++++++++++++++++++++++++++++ program test_mat_file...

  • bles bles posted a comment on discussion Help

    Thank you for your effort in the MATIO library and I have successfully compiled this library using ifort and gcc as well as a gfortran/gcc on ALMAlinux 9.3. I did not manage to compile it with icc and ifort (newest API version). I have a test program for writing a MAT file but I can't get this to work and I guess my knowledge of c is reason for this but I have not found a solution for this (after extensive search). The test program : ++++++++++++++++++++++++++++++++++++++++++ program test_mat_file...

1
MongoDB Logo MongoDB