cc  -c simu_md.c
cc: Warning: build.h, line 51: The redefinition of the macro "MAX" conflicts with a current definition because the spelling of one or more parameters is different.  The redefinition is now in effect. (macroredef)
#define MAX(x,y)           ((x) > (y) ? (x) : (y))
------------^
cc: Warning: build.h, line 52: The redefinition of the macro "MIN" conflicts with a current definition because the spelling of one or more parameters is different.  The redefinition is now in effect. (macroredef)
#define MIN(x,y)           ((x) < (y) ? (x) : (y))
------------^
cc: Error: simu_md.c, line 7: Missing ";". (nosemi)
main(int argc, char *argv[])
^
cc: Warning: simu_md.c, line 952: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
    *scaled_atom_coords = allocate_2d_array(n_atoms,
----^
cc: Warning: simu_md.c, line 954: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *rel_atom_coords = allocate_2d_array(n_atoms, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 965: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_coords = allocate_2d_array(n_mols, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 966: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_old = allocate_2d_array(n_mols, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 968: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
    *scaled_mol_coords = allocate_2d_array(n_mols, 3,
----^
cc: Warning: simu_md.c, line 973: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *h_inv = allocate_2d_array(3, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 989: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *atom_move = allocate_2d_array(n_atoms, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 1005: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *old = allocate_2d_array(n_atoms_max, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 1006: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *s_old = allocate_2d_array(n_atoms_max, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 1007: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *rel_old = allocate_2d_array(n_atoms_max, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 1010: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *ds_opt = allocate_2d_array(n_mols, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 1013: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *h_block = allocate_2d_array(3, n_blocks, sizeof(double));
--^
cc: Warning: simu_md.c, line 1014: In this statement, the referenced type of the pointer value "allocate_3d_array(...)" is "pointer to pointer to void", which is not compatible with "pointer to pointer to double". (ptrmismatch)
  *mol_stress_block = allocate_3d_array(3, 3, n_blocks, sizeof(double));
--^
cc: Warning: simu_md.c, line 1015: In this statement, the referenced type of the pointer value "allocate_3d_array(...)" is "pointer to pointer to void", which is not compatible with "pointer to pointer to double". (ptrmismatch)
  *at_stress_block = allocate_3d_array(3, 3, n_blocks, sizeof(double));
--^
cc: Warning: simu_md.c, line 1031: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_stress_ave = allocate_2d_array(3, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 1032: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_stress_unc = allocate_2d_array(3, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 1033: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *at_stress_ave = allocate_2d_array(3, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 1034: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *at_stress_unc = allocate_2d_array(3, 3, sizeof(double));
--^
cc: Warning: simu_md.c, line 1044: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *f_vdw_s = allocate_2d_array(n_atoms, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1045: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *comp_forces = allocate_2d_array(n_atoms, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1046: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *f_stretch = allocate_2d_array(n_atoms, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1047: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *f_bend = allocate_2d_array(n_atoms, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1048: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *vdw_s_single = allocate_2d_array(n_atoms, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1049: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *at_stress_vdw_s = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1050: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *at_stress = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1051: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *at_stress_kin = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1052: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_stress_vdw_s = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1053: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_stress_vdw = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1054: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_stress = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1055: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_stress_kin = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1056: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_stress_stretch = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1057: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *at_stress_stretch = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1058: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *at_stress_bend = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1059: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *at_stress_vdw_single = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1060: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_stress_vdw_single = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1064: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_range = allocate_2d_array(n_species, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1065: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_vels = allocate_2d_array(n_atoms, NDIM, sizeof(double));
--^
cc: Warning: simu_md.c, line 1070: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
      (*corr)[i_species] = allocate_2d_array(n_atoms_per_mol[i_species], NDIM,
------^
*** Exit 1
Stop.
